Home >Backend Development >PHP Tutorial > 比较迷惑的有关问题急需解决!等待高手

比较迷惑的有关问题急需解决!等待高手

WBOY
WBOYOriginal
2016-06-13 13:52:15801browse

比较迷惑的问题急需解决!!!!等待高手
当访问http://dlacarcomcn.2181612061.open-source.cn/index/reg时没有问题,但是当访问http://dlacarcomcn.2181612061.open-source.cn/com/comlist时会出现问题,出错内容如下:
Fatal error: Uncaught exception 'Zend_View_Exception' with message 'script 'com/comlist.phtml' not found in path (./application/views/scripts/)' in /www/winetcn/dlacarcomcn/library/Zend/View/Abstract.php:857 Stack trace: #0 /www/winetcn/dlacarcomcn/library/Zend/View/Abstract.php(765): Zend_View_Abstract->_script('com/comlist.pht...') #1 /www/winetcn/dlacarcomcn/library/Zend/Controller/Action/Helper/ViewRenderer.php(895): Zend_View_Abstract->render('com/comlist.pht...') #2 /www/winetcn/dlacarcomcn/library/Zend/Controller/Action/Helper/ViewRenderer.php(916): Zend_Controller_Action_Helper_ViewRenderer->renderScript('com/comlist.pht...', NULL) #3 /www/winetcn/dlacarcomcn/library/Zend/Controller/Action.php(207): Zend_Controller_Action_Helper_ViewRenderer->render(NULL, NULL, false) #4 /www/winetcn/dlacarcomcn/application/controllers/ComController.php(120): Zend_Controller_Action->render() #5 /www/winetcn/dlacarcomcn/library/Zend/Controller/Action.php(502): ComController->comlistAction() #6 /www/winetcn/dlacarcomcn/library/Zend/ in /www/winetcn/dlacarcomcn/library/Zend/View/Abstract.php on line 857

小弟解决不了了,在线等待高手帮助解决!!!!!!!!!!!!!


------解决方案--------------------
不是写的很清楚吗?script 'com/comlist.phtml' not found in path (./application/views/scripts/)
模板没找到,建立一个com/comlist.phtml模板在./application/views/scripts/下就好了

Statement:
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