新手求教关于“无法加载模块”
thinkphp吧
全部回复
仅看楼主
level 13
本人初学tp,遇到了不少问题,有的虽然解决了,但仍不懂其中原因,只有请教各位了。
我在tpl目录下建index子目录,下面有两个文件即index.htm与search.htm,
当我的url是“http://localhost/index.php/index/search.php”时访问正常,
当我的url是“http://localhost/index/search.php”即显示“无法加载模块”,
我的URL重写已经成功了,在其它模块下去掉index.php是可以访问的,比如“http://localhost/form/search.php”和“http://localhost/index.php/form/search.php”就是等效的,就是index模块下出问题,不知道什么原因?
2015年09月11日 09点09分 1
level 13
没人帮忙么?自顶一下[呵呵]
2015年09月12日 06点09分 2
level 5
建议先看手册,localhost/index.php/模块/控制器/方法
2015年09月14日 15点09分 3
1