debugging - Symfony 2 App debug mode error -
i'm trying implement twig custom error pages in symfony website (just following cookbook), when turn off debug mode (throught app kernel in app.php) whole application error 500 server.
when debug mode true, application works fine.
anyone had similar problem?
check server's error logs , app/logs/prod.log
find error causing 500 error there. clearing cache rm -rf app/cache/prod
helps.
Comments
Post a Comment