>백엔드 개발 >PHP 튜토리얼 >比较迷惑的有关问题急需解决!等待高手

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

WBOY
WBOY원래의
2016-06-13 09:58:46849검색

比较迷惑的问题急需解决!!!!等待高手
当访问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/下就好了

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.