当前位置: 代码迷 >> PHP >> zendframework 运行出现这有关问题如何解决
  详细解决方案

zendframework 运行出现这有关问题如何解决

热度:402   发布时间:2012-02-25 10:01:49.0
zendframework 运行出现这问题怎么解决
Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'index/index.phtml' not found in path (./application/views\scripts/)' in F:\xdphp\wamp\www\zendframework\library\Zend\View\Abstract.php:980 Stack trace: #0 F:\xdphp\wamp\www\zendframework\library\Zend\View\Abstract.php(876): Zend_View_Abstract->_script('index/index.pht...') #1 F:\xdphp\wamp\www\zendframework\library\Zend\Controller\Action\Helper\ViewRenderer.php(897): Zend_View_Abstract->render('index/index.pht...') #2 F:\xdphp\wamp\www\zendframework\library\Zend\Controller\Action\Helper\ViewRenderer.php(918): Zend_Controller_Action_Helper_ViewRenderer->renderScript('index/index.pht...', NULL) #3 F:\xdphp\wamp\www\zendframework\library\Zend\Controller\Action\Helper\ViewRenderer.php(957): Zend_Controller_Action_Helper_ViewRenderer->render() #4 F:\xdphp\wamp\www\zendframework\library\Zend\Controller\Action\HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch() #5 F:\xdphp\wamp\www\zendframework\library\Zend\Controller\Actio in F:\xdphp\wamp\www\zendframework\library\Zend\View\Abstract.php on line 980

------解决方案--------------------
没有这个文件嘛
你在application/views/scripts/index/下面建一个index.phtml