[symfony-users] Re: sending email from task through CLI

2010-11-08 Thread hribo
issue is solved. problem was that my php.ini settings of phpinfo() where different when i looked through web browser and through CLI. i made changes to the one in directory where is my php installed. but i DO NOT REALLY UNDERSTAND how and why is it possible that i have to change 2 php.ini files.

Re: [symfony-users] Re: introspect a functional test uncaught exception

2010-11-08 Thread Francis Besset
exception 'Exception' with message 'Failed to create file upload directory /jobs.' in /home/cordoval/symfony-projects/sfproject/lib/vendor/symfony/lib/validator/sfValidatedFile.class.php:97 The user who runs the tests, has he write (delete, write) permissions on the folder

Re: [symfony-users] introspect a functional test uncaught exception

2010-11-08 Thread Francis Besset
On jobeet day 11 it says symfony simulates uploading a file on a form: after issuing: ./symfony test:functional frontend jobActions I get: 3.1 - Submit a Job # get /job/new ok 16 - request parameter module is job ok 17 - request parameter action is new # post /job ok 18 -

[symfony-users] Re: sending email from task through CLI

2010-11-08 Thread Florian
One php.ini per environment ( apache/ CLI ) In some linux distros like Ubuntu or debian, each php.ini is a symbolic link which is pointing to the same file. On Nov 8, 9:46 am, hribo hribo...@gmail.com wrote: issue is solved. problem was that my php.ini settings of phpinfo() where different

Re: [symfony-users] Re: sending email from task through CLI

2010-11-08 Thread Gareth McCumskey
Its simple. PHP on command line (CLI) might need entirely different to settings to PHP through a web server (apache). If you think about the environment they execute in, they might need different settings for the like of memory requirements, script execution time and even a lot of additional

[symfony-users] Re: sending email from task through CLI

2010-11-08 Thread hribo
thank you for your answers On Nov 8, 10:07 am, Gareth McCumskey gmccums...@gmail.com wrote: Its simple. PHP on command line (CLI) might need entirely different to settings to PHP through a web server (apache). If you think about the environment they execute in, they might need different

[symfony-users] Widget Anzahl2R does not exist.

2010-11-08 Thread Peter
Hello! I receive the error message above only on the prod-server, not on the dev-server. The widget (and validator) is defined in the FormClass, but I have the impression, that the FormClass will not been read there, because other changes in it (even syntax errors!) will not change anything. On

Re: [symfony-users] Widget Anzahl2R does not exist.

2010-11-08 Thread Gareth McCumskey
Did you clear cache (symfony cc) on the production server after deployment? On Mon, Nov 8, 2010 at 2:43 PM, Peter p...@kreutzer-peter.de wrote: Hello! I receive the error message above only on the prod-server, not on the dev-server. The widget (and validator) is defined in the FormClass,

Re: [symfony-users] Widget Anzahl2R does not exist.

2010-11-08 Thread Peter Kreutzer
Hallo! Am 08.11.2010 13:59, schrieb Gareth McCumskey: Did you clear cache (symfony cc) on the production server after deployment? Thanks for your anwer! But I did clear the cache on prod-server more than one time! Greetings! Peter -- If you want to report a vulnerability issue on

Re: [symfony-users] introspect a functional test uncaught exception

2010-11-08 Thread Luis Cordova
Sounds like there is way in which the functional test executes that affects this, that is why my question was how can I introspect how the test $browser works. I clearly see that I cannot debug the problem with the /var/log/apache2/error.log because when I run the tests there is no sign of the

Re: [symfony-users] introspect a functional test uncaught exception

2010-11-08 Thread Luis Cordova
hi, how I removed the @ from the mkdir on the validatedFile.class.php core file on symfony and now I get: exception 'RuntimeException' with message 'PHP sent a warning error at /home/cordoval/symfony-projects/jobeet/lib/vendor/symfony/lib/validator/sfValidatedFile.class.php line 94 (mkdir():

Re: [symfony-users] generating url in task

2010-11-08 Thread Gareth McCumskey
Tasks do not load the html helpers by default because, well, they do not run on the web server but on the comman line. To load the helper file for url_for you need to load the Url helper as such: sfLoader::loadHelpers(array('Url')); Then you can go ahead and use url_for to build your url. On