dth42345 2016-02-09 06:12
浏览 70

遇到Ion-auth / An uncaught Exception /无法找到您指定的模型

I am using codeigniter 3.x and ion-auth 2x. Have a mini website going and I use github to manage the versions. The site works on my laptop but once I pull it to the ubuntu/apache webserver I get the below errors. I have checked that all files are there and they are. I have deleted the site and tried again - same result. I am stumped!

An uncaught Exception was encountered
Type: RuntimeException
Message: Unable to locate the model you have specified: Ion_auth_model
Filename: /var/www/example.com/public_html/system/core/Loader.php
Line Number: 344
Backtrace:

File: /var/www/example.com/public_html/application/libraries/Ion_auth.php
Line: 62
Function: model

File: /var/www/example.com/public_html/application/core/MY_Controller.php
Line: 8
Function: __construct

File:     /var/www/example.com/public_html/application/controllers/Public_Controller.php
Line: 9
Function: __construct

File: /var/www/example.com/public_html/index.php
Line: 292
Function: require_once
  • 写回答

1条回答 默认 最新

  • dongshiru5913 2016-02-09 06:15
    关注

    Amazing. Two days I have been working on this. I changed the file name from ion_auth_model.php to Ion_auth_model.php and the error disappeared and the site is up.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!