首页 >后端开发 >php教程 >zendframework 运行出现这有关问题如何解决

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

WBOY
WBOY原创
2016-06-13 09:59:36997浏览

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

声明:
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn