Le 06/09/2011 12:54, yongzhen zhang a écrit :
Hi, today i just followed the cookbook to study symfony2. It seems
there are some problems, Can somebody help me figure it out?
http://imaboy.cn/php/Symfony/web/app_dev.php/hello/dfa works
http://imaboy.cn/php/Symfony/web/app.php/hello/dfa does not work.
I have run the cache clear command:
sudo php app/console cache:clear --env=prod --no-debug
PHP Deprecated: Comments starting with '#' are deprecated in /etc/
php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
Clearing the cache for the prod environment with debug false
And there is some errors in my apache2 error log:
PHP Fatal error: Uncaught exception 'RuntimeException' with message
'Failed to write cache file "/var/www/Symfony/app/cache/prod/
classes.php".' in /var/www/Symfony/app/bootstrap.php.cache:1079\nStack
trace:\n#0 /var/www/Symfony/app/bootstrap.php.cache(1017): Symfony\
\Component\\ClassLoader\\ClassCollectionLoader::writeCacheFile('/var/
www/Symfon...', '<?php ????name...')\n#1 /var/www/Symfony/app/
bootstrap.php.cache(682): Symfony\\Component\\ClassLoader\
\ClassCollectionLoader::load(Array, '/var/www/Symfon...', 'classes',
false, false, '.php')\n#2 /var/www/Symfony/web/app.php(10): Symfony\
\Component\\HttpKernel\\Kernel->loadClassCache()\n#3 {main}\n thrown
in /var/www/Symfony/app/bootstrap.php.cache on line 1079
You probably have an issue with the permissions on your filesystem (and
you also have an issue in one of your php config file btw as stated by
the warning)
--
Christophe | Stof
--
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en