4

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

flex
  • 185
  • 5
  • 19

1 Answers1

10

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

/application/layouts/scripts/layout.phtml
opHASnoNAME
  • 20,224
  • 26
  • 98
  • 143
  • Thanks, it got fixed. I have one more Q, does DbTable should be under applicaiton folder, bec am getting this error Fatal error: Class 'Application_Model_DbTable_Albums' not found – flex Jun 18 '12 at 16:24
  • I would move the folder to /applicatio/models – opHASnoNAME Jun 19 '12 at 05:40