View Single Post
03-21-2009, 11:32 AM
Join Date: Sep 2007
Location: Sweden, Stockholm
Originally Posted by
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).
Ye, I found that line before and set it to On and restarted the Apache. However, the problem still persists.
I didn't add .phtml extension to .htaccess. I added it to httpd.conf in apache folder.
And yes, I tried it with regular PHP tags, but that didn't work either..
View Public Profile
Send a private message to Tanax
Visit Tanax's homepage!
Find More Posts by Tanax