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

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

When a SpringBoot novice creates a project, the Controller cannot be scanned for a series of problems 1.2.3.4.5.6. Another way is to add @ComponentScan(basePackages={"xxx.xxx.xx","xxx.xxx" when starting the service class) .xx”}) is the fully qualified name of the package, which can be used for multiple SpringBoot custom controllers. The SpringBoot custom controller route cannot be scanned and cannot be found because the startup class and the custom Controller package are not in the same directory. Officially recommended placement of application.java

Preface In some cases, the prefixes in the service controller are consistent. For example, the prefix of all URLs is /context-path/api/v1, and a unified prefix needs to be added to some URLs. The conceivable solution is to modify the context-path of the service and add api/v1 to the context-path. Modifying the global prefix can solve the above problem, but there are disadvantages. If the URL has multiple prefixes, for example, some URLs require prefixes. If it is api/v2, it cannot be distinguished. If you do not want to add api/v1 to some static resources in the service, it cannot be distinguished. The following uses custom annotations to uniformly add certain URL prefixes. one,

How to use ACL (AccessControlList) for permission control in Zend Framework Introduction: In a web application, permission control is a crucial function. It ensures that users can only access the pages and features they are authorized to access and prevents unauthorized access. The Zend framework provides a convenient way to implement permission control, using the ACL (AccessControlList) component. This article will introduce how to use ACL in Zend Framework

PHP implementation framework: ZendFramework introductory tutorial ZendFramework is an open source website framework developed by PHP and is currently maintained by ZendTechnologies. ZendFramework adopts the MVC design pattern and provides a series of reusable code libraries to serve the implementation of Web2.0 applications and Web Serve. ZendFramework is very popular and respected by PHP developers and has a wide range of

In Linux systems, quickly viewing environment variables can help users better understand how the system operates. These variables allow you to configure and optimize your system efficiently. Certain variables such as "LD_LIBRARY_PATH" store information about the location of shared libraries in the system, which is crucial for the correct operation of the program. By understanding these environment variables, users can better manage system resources and ensure smooth execution of programs. Therefore, understanding and mastering the role of environment variables will not only help improve the performance and stability of the system, but also help users better perform system maintenance and troubleshooting. This means that "ld_library_path" contains a list of paths where these libraries are stored so that the executable

When using the PHP framework, you often encounter errors such as "PHPFatalerror: Class'Controller'notfound". This kind of error is usually related to the naming, location or loading of files in the framework, especially when you try to use controllers. This article will introduce several common processing methods to solve this problem. Confirm file location First, you need to confirm that the controller file is located in the correct directory for the framework. For example, if you are using the Laravel framework

PHP does not recognize ZendOptimizer, how to solve it? In PHP development, sometimes you may encounter a situation where PHP cannot recognize ZendOptimizer, which will cause some PHP codes to not run properly. In this case, we need to take some measures to solve the problem. Some possible workarounds are described below, along with specific code examples. 1. Confirm whether ZendOptimizer is installed correctly: First, we need to confirm that ZendOptimizer

The Windows 2003 installation package includes Zend, PHP5.2.17, PHPWind8.7 and PHPMyadmin3.5.2. You can download the installation package directly to save time searching for resources. However, since MySQL has exceeded the upload limit, you need to go to the MySQL official website to download. Then unzip and copy to the D drive, as shown below: MySQLinDdisk Install and configure WindowsIIS+FTP Click Start>Control Panel>Add or Remove Programs.AddingordeletingaPG Click Add/Remove Windows Components (A). Addingorde
