zendframework 运行出现这有关问题如何解决
程序员文章站
2022-04-11 14:05:31
...
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
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
相关文章
相关视频
上一篇: nginx双向链表ngx_queue_t
下一篇: python哪年出来的