Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uncaught exception 'Zend_View_Exception'

For my project I have added following line of code in applicaiton.ini

resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts/"

Whenever I add this code, am getting following error,

**Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'layout.phtml' not found in path

Bellow is the structure of my project

** enter image description here

like image 467
flex Avatar asked Dec 27 '22 22:12

flex


1 Answers

The Folder for the layout must be located in "application".

/application/layouts/scripts/layout.phtml
like image 58
opHASnoNAME Avatar answered Jan 14 '23 11:01

opHASnoNAME