>  기사  >  백엔드 개발  >  zendframework 运行出现这有关问题如何解决

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

WBOY
WBOY원래의
2016-06-13 13:50:301100검색

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으로 문의하세요.