It seems you haven't changed the permissions on the log folder to 777,
and the same for cache folder.

On May 23, 10:55 am, abunet <marco.roe...@gmail.com> wrote:
> HI,
> I've installed symfony beta1 on a windows environment (apache 2.2.17
> and php 5.3.6)
> The demo app works fine in app_dev mode, and also in app prod mode
> with debug = true ($kernel = new AppKernel('prod', true);)
>
> if I keep default prod mode:
> $kernel = new AppKernel('prod', true);
> the result is a blank page.
> to debug the problem, I've added ini_set('display_errors', 1); and I
> retrieve the following error:
>
> Fatal error: Uncaught exception 'UnexpectedValueException' with
> message 'The stream could not be opened, "C:\www\Symfony\app/logs/
> prod.log" may be an invalid url.' in C:\www\symfony.local\vendor
> \monolog\src\Monolog\Handler\StreamHandler.php on line 67
> UnexpectedValueException: The stream could not be opened, "C:\www
> \Symfony\app/logs/prod.log" may be an invalid url. in C:\www
> \symfony.local\vendor\monolog\src\Monolog\Handler\StreamHandler.php on
> line 67 Call Stack: 0.0275 330672 1. {main}() C:\www\symfony.local\web
> \app.php:0 8.8634 650432 2. Symfony\Component\HttpKernel\Kernel->handle(???, 
> ???, ???) C:\www\symfony.local\web\app.php:16 8.8689
>
> 757232 3. Symfony\Bundle\FrameworkBundle\HttpKernel->handle(???, ???, ???) 
> C:\www\symfony.local\app\bootstrap.php.cache:
>
> 613
>
> I think that the problem is the following path:
> C:\www\Symfony\app/logs/prod.log
> the correct path should be:
> C:\www\symfony.local\app\logs\prod.log
>
> Any Ideas?
> Thanks
> Marco Roello

-- 
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

Reply via email to