Home > Backend Development > PHP Tutorial > 关于Zend_Framework自定义控制器,该怎么处理

关于Zend_Framework自定义控制器,该怎么处理

WBOY
Release: 2016-06-13 10:04:18
Original
912 people have browsed it

关于Zend_Framework自定义控制器
我先使用默认的控制器,在里面的index.phtml的内容能够正常显示,但是我自定义的SelfController.php控制器,在视图里面的
self.phtml中的内容却显示不了,而是显示,Not Found :
The requested URL /MVC_controller/docs/self/my was not found on this server.
Apache/2.2.4 (Win32) PHP/5.2.3 Server at 127.0.0.1 Port 80

------解决方案--------------------
应该是路径错了 有没有把控制器 模板文件 照着他原来例子的路径放
------解决方案--------------------
肯定放错了,框架是按照路径去实例化的,路径错误肯定就是not found

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template