zendframework1.12控制器只得访问默认页面

WBOY
Release: 2016-06-13 11:20:12
Original
857 people have browsed it

zendframework1.12控制器只能访问默认页面。
127.0.0.1/index/index可以访问,127.0.0.1/index/test就提示An error occurred
Page not found;apache中的httpd文件的根目录该了的,REWRITE也开了的,DIRETORY也设置了的,所有的AllowOverride都改了的,indexcontroller就自定义了一个方法testAction(){echo "abc";}
编译器ZEND_STUDIO 9.04,php环境是XAMPP,请大牛们指教,折腾了一晚上了。


------解决方案--------------------
完整错误信息发上来看看。
还有controller代码
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!