Archive for the ‘Symfony’ Category

Symfony - Difference Between a Live and a Non-live Environment

Sunday, July 27th, 2008

What makes an environment a live one or not is the frontend. In particular the third param of the method:
ProjectConfiguration::getApplicationConfiguration
If we are in a live environment, instead of displaying the full execution stack and an explicit error message, the page error500 will be displayed

Symfony - Enable the Compatibility with the Version 1.0 - Good for forms Generation

Sunday, July 20th, 2008

This solves errors like:
Fatal error: Call to undefined function form_tag()
Fatal error: Call to undefined function input_tag()

File apps/your_application/config/settings.yml
Set:
compat_10: on
(be careful with the indentation!)