View Single Post
03-21-2009, 07:31 AM
Join Date: Dec 2007
Location: Bucharest, Romania
Find this line:
short_open_tag = Off
in your php.ini file, and change it to "On", then restart apache. That should do it.
PS: it was not required that you added the .phtml extension to the .htaccess file as the views (templates) are internally parsed by Zend (the template contents are evaluated by PHP, not directly accessed via the web browser). Also, you should use:
instead of the short form, so that you will not have problems when going live with the project. If it's a test project it's ok, but you might get very angry if the server you're going to move the project to doesn't have short_open_tag on (and that is quite usual).
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon