Home > Backend Development > PHP Tutorial > zendframework 运行出现这有关问题如何解决

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

WBOY
Release: 2016-06-13 09:59:36
Original
999 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template