Thanks! I changed the dev.log permissions and it worked! Anyway I'm still wondering, how the *. log files were created without write permission? If the files dev.log prod.log and had the same permissions, why did it work in production environment?
On 19 abr, 06:35, Jordi Boggiano <j.boggi...@seld.be> wrote: > On 19.04.2011 03:39, iturri.cf wrote: > > > > > Hi, I installed Symfony 2 and when I try to > > accesshttp://localhost/sf2/web/app_dev.php > > get the following error: > > > Fatal error: Uncaught exception 'UnexpectedValueException' with > > message 'The stream could not be opened, "/var/www/sf2/app/logs/ > > dev.log" may be an invalid url.' in /var/www/sf2/app/cache/dev/ > > classes-36836.php on line 3535 UnexpectedValueException: The stream > > could not be opened, "/var/www/sf2/app/logs/dev.log" may be an invalid > > url. in /var/www/sf2/app/cache/dev/classes-36836.php on line 3535 Call > > Stack: 0.0313 643160 1. {main}() /var/www/sf2/web/app_dev.php:0 0.1259 > > 2269312 2. Symfony\Component\HttpKernel\Kernel->handle() /var/www/sf2/ > > web/app_dev.php:19 1.2572 6654344 3. Symfony\Bundle\FrameworkBundle > > \HttpKernel->handle() /var/www/sf2/app/bootstrap.php.cache:587 > > > I'm using Ubuntu 4.10 with PHP 5.3.2-1ubuntu4.7 with Suhosin-Patch, > > Apache/2.2.14, APC 3.1.3p1, Intl 1.0.3, ICU version 4.2.1 and Xdebug > > 2.1.0 . > > > I think it's a problem with the assetic bundle, I checked the code > > from github (config.yml, config_dev.yml, routing.yml and > > routing_dev.yml) and everything is fine. Someone could help me with > > this? > > If I try to access fromhttp://localhost/sf2/web/app.phpit works fine. > > Is your /var/www/sf2/app/logs/ directory writable? If so, do you have a > file called dev.log in it that would not be writable? > > And when I say writable I mean writable by the apache process. > > Cheers > > -- > Jordi Boggiano > @seldaek ::http://seld.be/ -- 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