Hi, experts.
I set up a simple relationship using sfGuardUserProfile.
But it does not work properly.
Remove 'p.name' from select method, In this case it works.
Why?
I do not understand the meaning of the error message.
Please help me.
---
ERROR MESSAGE
500 | Internal Server Error |
Hi
I am new to symfony. I have a database created in mysql. While trying
to build the schema.yml by running php symfony doctrine:build-schema I
get the following error:
doctrine generating yaml schema from database
Missing class name.
The content of the databases.yml is:
all:
doctrine:
Hi,
I'm working on a Symfony project for the past 11 months. The project
is basically to throw away the old FrontEnd of a well-known shopping
comparator, written in java and to replace it with a brand new
frontend written in PHP with a Service Oriented Architecture (SOA).
Our high-level
Hello, I am about to make an application with Symfony 1.4, however I
noticed when I updated the SVN it was showing 1.4.9. Does the SVN not
use the most stable? Or is 1.4.9 stable?
Thanks,
Darren
--
If you want to report a vulnerability issue on symfony, please send it to
security at
When I ran the getting started example in a shared environment I got a
blank ugly page with no pictures or anything because I had no access
to the httpd.conf.
To get around this I put the following rule in the .htaccess of my web
folder:
RewriteRule ^sf/(.*)$ /panmed/data/web/sf/$1 [R,L]
Dear All,
I'm using inheritance in my Doctrine model (column_aggregation).
When I generate the SQL from Models (using symfony's doctrine:generate
--all), I find that there's a redundant CREATE TABLE statement (all for the
same table, since I'm using column_aggregation)..
This seems like a bug to
it is the most stable
On 16 Nov 2010 12:48 PM, Darren L dla...@graphtek.com wrote:
Hello, I am about to make an application with Symfony 1.4, however I
noticed when I updated the SVN it was showing 1.4.9. Does the SVN not
use the most stable? Or is 1.4.9 stable?
Thanks,
Darren
--
If you want
Could you show us your schema ? Can be because of a misconfigured schema.
2010/11/15 Hany El-Kerdany kerd...@gmail.com
Dear All,
I'm using inheritance in my Doctrine model (column_aggregation).
When I generate the SQL from Models (using symfony's doctrine:generate
--all), I find that
Create a pre-production environment, secured to disallow web access and
enable the debug bar.
symfony has some time-watching features in debug bar, it could give you some
measures.
Check the symfony environment and your configuration files : maybe your
prod environment is not really ready for
It's about indentation :
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=CHCISDB'
username: root
password: null
2010/11/16 Pratik pmazumder2...@gmail.com
Hi
I am new to symfony. I have a database created in mysql. While
Hi Alexander
Changed the indentions but still doesn't work :(
Pratik
On Tue, Nov 16, 2010 at 4:57 PM, Alexandre Salomé
alexandre.sal...@gmail.com wrote:
It's about indentation :
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn:
You have tabs for idention, take whitespaces instead:
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=CHCISDB'
username: root
password: null
Am 16.11.2010 um 12:37 schrieb Pratik Mazumder:
Hi Alexander
Changed the indentions but
Can you post your schema?
On Nov 16, 2010 5:48 AM, man mixi mixi...@gmail.com wrote:
Hi, experts.
I set up a simple relationship using sfGuardUserProfile.
But it does not work properly.
Remove 'p.name' from select method, In this case it works.
Why?
I do not understand the meaning of the error
I also noticed that doctrine: is indented with 3 spaces. Fix it to two.
Still the same error ?
It can come from your schema.yml definition.
Triple check your indentation, and copy your schema to us.
2010/11/16 Pratik Mazumder pmazumder2...@gmail.com
Hi Alexander
Changed the indentions but
schema.yml definition? But that's an empty file till now. I am trying to
make the same with php symfony doctrine:build-schema
On Tue, Nov 16, 2010 at 5:12 PM, Alexandre Salomé
alexandre.sal...@gmail.com wrote:
I also noticed that doctrine: is indented with 3 spaces. Fix it to two.
Still the
Can be because of empty file. Building a non existing schema
OK, add a simple definition to your schema before continuing tests
---
Alexandre Salomé - http://alexandre-salome.fr
Le 16 nov. 2010 12:49, Pratik Mazumder pmazumder2...@gmail.com a écrit :
schema.yml definition? But that's an
You'll also need to select s.id like the error message says: The root class
of the query (alias s) must have at least one field selected. – but you also
might need to select p.id, too.
Does that help?
Cheers, Daniel
On 16.11.2010, at 09:59, man mixi wrote:
Hi, experts.
I set up a simple
No Alex, I don't have tabs. These are white spaces only !!!
On Tue, Nov 16, 2010 at 5:11 PM, Dominik Tuleweit symf...@tuleweit.comwrote:
You have tabs for idention, take whitespaces instead:
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn:
Some points you might check :
- don't use event to load routes
- don't stat file with apc
- don't put object into session
- avoid io
- check that your source code is not mounted via a nfs (like) share
- use a xml parser based on sax (
On 15 Nov, 14:54, matiasdig matias...@gmail.com wrote:
Warning: sfCore::require(/home/elbuen/symfony/lib/symfony/log/
sfLogger.class.php) [sfcore.require]: failed to open stream: No such
file or directory in /www/elbuengustoverduras/symfony/lib/symfony/util/
sfCore.class.php on line 163
The
Some other suggestions:
- avoid .htaccess - move rewrite rules in the Apache configuration.
- avoid the ORM - if you do access the database use plain SQL to
manipulate the data.
- make sure APC is configured correctly (so that it caches large PHP
files, such as the ones generated by the
Hi,
we already tried to add timers (using sfTimerManager) on some key
algorithms (routing, culture detection, tree recursive searches, ...)
and we didn't find anything off the chart. It seems that everything is
slower than we expected but not too much, pointing us to an algorithm
issue.
I will
- we only use routing.yml to load our routes
- we don't use session (our old frontend was not session-less and it
was a real pain in the ass !)
- we do as few io as possible : only to write a few logs (2 lines in
one single file for each request)
- our source code is not mounted via NFS
- we've
- we don't use any .htaccess file : everything goes directly to an
httpd.conf
- we don't use ORM since we don't use databases : only Webservices
- how can I be sure that APC is well configured ? Do I have a way to
easily check if APC is working well ?
- from what I heard, memcache and APC are not
Apc settings :
http://www.php.net/manual/en/apc.configuration.php#ini.apc.stat
Then you should install xhprof to find the bottleneck.
On Tue, Nov 16, 2010 at 6:17 PM, Remi remi.alv...@gmail.com wrote:
- we don't use any .htaccess file : everything goes directly to an
httpd.conf
- we don't
Very good!!
To work properly.
Thank you!
On Nov 16, 8:52 pm, Daniel Lohse annismcken...@googlemail.com wrote:
You'll also need to select s.id like the error message says: The root
class of the query (alias s) must have at least one field selected. – but
you also might need to select p.id,
Below are two schemas, these are simplified schemas where the problem
occurs consistently:
In summary:
- Schema1: Class Entity is a base entity, ChildA ChildB
extend Entity, and there's a One to Many relation between ChildB
and Other (Other has many ChildB).
- Schema2: Class Entity is a base
On Nov 16, 7:17 pm, Remi remi.alv...@gmail.com wrote:
- we don't use any .htaccess file : everything goes directly to an
httpd.conf
=
Also have
AllowOverride none
in apache config to not search for .htaccess files.
- we don't use ORM since we don't use databases : only Webservices
=
I am tyring to make a batch processing for synchronization of two
databases, and i am running on limitation of the memory usage. I like
to be able to process 3 objects, i can't use arrays for the
hydration, since i have some logic i need to execute. I only need one
of this object at any time,
I don't know doctrine very well, but with propel you can a function to
return a resultset instead of an array of objects. My suggestion is go take
a look at the Doctrine documentation on the Doctrine site for more info.
On 16 Nov 2010 9:48 PM, Luciano A. Andrade andrade.luci...@gmail.com
wrote:
That's unfortunate because you really have few options — I know because I've
been there just this week.
So, array hydration is out of the question, fine, let's see what other options
you have:
1. Increase memory of the server (sorry, but it's one option)
2. Use the latest PHP 5.3.x and try to
I've been there too :-) I've accomplished #3/#4 below by having a parent
task which is what's run as your cronjob/batch process. This parent task
then spawns subtasks which actually do the work, using some
flag/indicator/PK lookup to determine which records to process. So you
could do something
Thanks Daniel for the response, i am using PHP 5.3.2-1ubuntu4.5 with
Suhosin-Patch (cli) (built: Sep 17 2010 13:41:55), read some bug
reports related to circula reference and the garbage colector, but
they suld be fixed for 5.3.
OnDemand hydration did't help, i am currently doing it, i am
This is ridiculous. You mean Doctrine has no resultset function? Using
Propel you normally build your criteria for a query and then run a doSelect
call which returns your hydrated array. BUT. There is a more memory
efficient call (doSelectRS for Propel 1.2 and doSelectStmt for Propel 1.3
and
hi, i try clear my form after post with jq_submit_to_remote, i try
with this line
'complete' = jq_visual_effect('fadeOut',
'#indicator'). $('#contact_form').resetForm(),
but dont work , dont clear or reset the input fields.
?php echo
35 matches
Mail list logo