【发布时间】:2015-04-18 20:00:41
【问题描述】:
我在 XAMPP 中创建了我的应用程序,它运行良好,现在我将它转移到我网站的子域中。当我尝试打开我的应用程序的登录页面时,它给出了错误Unable to locate the model you have specified
子域的目录结构:
public_html/
Subdomain/
Codeigniter/
application/
models/
views/
controllers/
我的 Codeigniter 应用程序的登录页面是:
在本地主机上
http://localhost/INvoice/index.php/admin/Login_Controller/
在网站上
http://subdomain.example.com/index.php/admin/Login_Controller/
【问题讨论】:
-
你检查过你的 .htaccess 吗?可以发一下吗?
-
@idioteque 它只有一行
Deny from all -
谢谢!能否请您提供您的模型文件、类声明和模型调用?(复制/粘贴)
标签: php codeigniter routing