finally switched to sf2, it is much better On Mon, Nov 8, 2010 at 12:26 PM, Luis Cordova <cordo...@gmail.com> wrote:
> 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(): Permission denied)' > > Stack trace: > #1 > /home/cordoval/symfony-projects/jobeet/lib/vendor/symfony/lib/validator/sfValidatedFile.class.php(94): > mkdir('/jobs', 511, true) > > so it is saying that my config get sf_upload_dir is empty, but when I echo > it in the functional test file it is not!! > > How can I trace where the sf_upload_dir is ready through ? or how can it be > just /jobs? > > help > > On Mon, Nov 8, 2010 at 9:12 AM, Luis Cordova <cordo...@gmail.com> wrote: > >> 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 requests or errors made from the apache2 standpoint. >> >> The sfBrowser is using another server or simulation which does not >> interact with an actual server. This could be a real disadvantage perhaps? >> it is certainly an advantage in speed. >> >> So sfBrowser is running perhaps as purely php and therefore not going >> through the suphp module. However, I am running the test script from my own >> user, the one user that owns all of the files. >> >> Any hints/thoughts? >> >> Luis >> >> On Sun, Nov 7, 2010 at 5:52 AM, Francis Besset <francis.bes...@free.fr>wrote: >> >>> >>> > 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 - request parameter module is job >>> > ok 19 - request parameter action is create >>> > not ok 20 - last request threw an uncaught exception Exception: Failed >>> to create file upload directory /jobs. >>> > # Failed test >>> (/home/cordoval/symfony-projects/sfproject/lib/vendor/symfony/lib/test/sfTestFunctionalBase.class.php >>> at line 425) >>> >>> Try : >>> ->with('response') >>> ->debug() >>> >>> Francis. >>> >>> >>> -- >>> If you want to report a vulnerability issue on symfony, please send it to >>> security at symfony-project.com >>> >>> You received this message because you are subscribed to the Google >>> Groups "symfony users" group. >>> To post to this group, send email to symfony-users@googlegroups.com >>> To unsubscribe from this group, send email to >>> symfony-users+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/symfony-users?hl=en >>> >> >> > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en