I’m following the guide to load a view as in this link : http://framework.zend.com/manual/en/zend.view.introduction.html
However, I’m not sure where to keep the booklist.php file that is the view file to be loaded. So, I kept it inside the /views folder (outside the scripts folder)
But, I’m getting this error :
An error occurred
Application error
Please help.
There is this question in the comments at the bottom of that page. ‘Steve’ says:
You have to tell it where to find the view script:
so create the
booklist.phpfile inapplication/views/scripts/booksand insert the line:after
in your controller script.