首頁 >後端開發 >php教程 >比较迷惑的有关问题急需解决!等待高手

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

WBOY
WBOY原創
2016-06-13 09:58:46842瀏覽

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