12

I´m currently developing a web site using Symfony2.

On 'dev' environment everything works just fine, but when I try to access to the system with the DEBUG parameter on FALSE (trough app.php which invokes the appKernel with debugger disabled) the system throws a "500 Internal Server Error" when I try to load any section of the system.

I've already cleared the cache and warmed it up and this error keeps showing up. I'm working with the standard distribution of Symfony (didn't change anything but the bundle I created) and this server: Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 installed trough XAMPP

How can I make the production environment work keeping the debugger disabled?

1
  • 4
    Check the Apache error log. You should see the exception message there. Commented Jan 20, 2012 at 0:12

1 Answer 1

24

The config.yml has disabled debug by default in production enviroment, you can see what was wrong (errors ect.) in log files app/logs/prod.log

Sign up to request clarification or add additional context in comments.

1 Comment

The problem was a component looking on a directory on the cache that didn't existed. I've just found it. Thnx!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.