php - Symfony 2 server deploy Fatal Error: It tries to open localhost file -


i've made symfony2 app , try deploy on shared server, fatal error.

i've taken recommended steps here: deployment-tools

i've updated vendor dependencies:

php composer.phar install --optimize-autoloader 

i've cleared cache:

php app/console cache:clear --env=prod --no-debug 

i've change permissions on server app/cache , app/logs

but doesn't work. error:

fatal error: uncaught exception 'unexpectedvalueexception' message 'the stream or file "/var/www/cookieboy/app/logs/prod.log" not opened: failed open stream: no such file or directory' in /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/handler/streamhandler.php:71

stack trace:

#0 /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/handler/abstractprocessinghandler.php(37): monolog\handler\streamhandler->write(array)

#1 /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/handler/abstracthandler.php(58): monolog\handler\abstractprocessinghandler->handle(array)

#2 /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/handler/fingerscrossedhandler.php(101): monolog\handler\abstracthandler->handlebatch(array)

#3 /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/logger.php(239): monolog\handler\fingerscrossedhandler->handle(array)

#4 /homepages/32/d453730371/htdocs/cookieboy/vendor/mo in /homepages/32/d453730371/htdocs/cookieboy/vendor/monolog/monolog/src/monolog/handler/streamhandler.php on line 71

and wondering why symfony tries open file /var/www/cookieboy/app/logs/prod.log) located @ locahost , has nothing production server.

any idea issue?

i have solved issue deleting manually content inside app/cache. don't know why command php app/console cache:clear --env=prod --no-debug didn't make job in way expecting.

thank answers.


Comments

Popular posts from this blog

wordpress - (T_ENDFOREACH) php error -

Export Excel workseet into txt file using vba - (text and numbers with formulas) -

Using django-mptt to get only the categories that have items -