Maison >développement back-end >tutoriel php > 比较迷惑的有关问题急需解决!等待高手

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

WBOY
WBOYoriginal
2016-06-13 13:52:15801parcourir

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

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn