我使用的是codeigniter 3.x和ion-auth 2x。我有一个迷你网站,我使用github来管理版本。这个网站可以在我的笔记本电脑上运行,但是一旦我把它放到ubuntu/apache get服务器上,我就会得到下面的错误。我已经检查了所有的文件都在那里,它们确实存在。我已经删除了该网站,并再次尝试-同样的结果。我被难住了!
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发布于 2016-02-09 14:15:04
太棒了。两天来,我一直在做这件事。我将文件名从ion_auth_model.php改为Ion_auth_model.php,错误消失了,站点启动了。
https://stackoverflow.com/questions/35285113
复制相似问题