Hello,
This is my first Zend app and I have a problem I can't figure out.
I just created my second controller AdminController.

When I check the corresponding web page on my web navigator I have this :

***************************************************
Exception information:

Message: script 'admin/index.phtml' not found in path
(/var/www/codebar/application/views/scripts/:./views/scripts/)

Stack trace:

#0 /var/www/codebar/library/Zend/View/Abstract.php(876):
Zend_View_Abstract->_script('admin/index.pht...')
#1
/var/www/codebar/library/Zend/Controller/Action/Helper/ViewRenderer.php(897):
Zend_View_Abstract->render('admin/index.pht...')
#2
/var/www/codebar/library/Zend/Controller/Action/Helper/ViewRenderer.php(918):
Zend_Controller_Action_Helper_ViewRenderer->renderScript('admin/index.pht...',
NULL)
#3
/var/www/codebar/library/Zend/Controller/Action/Helper/ViewRenderer.php(957):
Zend_Controller_Action_Helper_ViewRenderer->render()
#4
/var/www/codebar/library/Zend/Controller/Action/HelperBroker.php(277):Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#5 /var/www/codebar/library/Zend/Controller/Action.php(523):
Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#6 /var/www/codebar/library/Zend/Controller/Dispatcher/Standard.php(295):
Zend_Controller_Action->dispatch('indexAction')
#7 /var/www/codebar/library/Zend/Controller/Front.php(954):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http))
#8 /var/www/codebar/library/Zend/Application/Bootstrap/Bootstrap.php(97):
Zend_Controller_Front->dispatch()
#9 /var/www/codebar/library/Zend/Application.php(366):
Zend_Application_Bootstrap_Bootstrap->run()
#10 /var/www/codebar/public/index.php(26): Zend_Application->run()
#11 {main}  
Request Parameters:

array (
  'controller' => 'admin',
  'action' => 'index',
  'module' => 'default',
)
***************************************************

But in my folder views/scripts/admin I *do* have an index.phtml file !
I already checked the permissions on the file and on the folder and the
problem does not seem to come from there.
Do you have any idea of what's going on ?
Thank you !



-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-View-1-11-1-View-Script-not-found-tp3217409p3217409.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to