thinkPHP 无法访问网页,新手求帮助

WBOY
Release: 2016-06-23 13:22:30
Original
1605 people have browsed it


就是这个样子下面是我的访问路径,这个路径应该没错,因为在weixinshop这个文件夹中建立个test.php 显示个phpinfo(),完全没有问题,但是访问这个admin.php就这问题,实在无语,初学,望指教



下面是这个模板的admin.php和index.php页面,求大神指教


ps: 用的是wamp,win8


回复讨论(解决方案)

估计被rewrite了。
看看router设置了什么。

查看config路由模式,设置为3试试,兼容模式

有install文件,应该先运行下install安装吧?

打开错误日志  查看错误日志的内容
地址可能给重写  首先先确认
/index.php/XXX/index  是否能够正常访问.

admin.php是不能直接访问,你试试index.php,要不然修改下.htaccess文件,要不就是robots.txt

多谢各位大神,重装了一下wamp重配置了一下最后不知道为什么莫名其妙就好了

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!