消息:无法找到您指定的模型:Ion_auth_model 使用 "Ion Auth"

Message: Unable to locate the model you have specified: Ion_auth_model Using "Ion Auth"

重命名 "model" 文件夹后,我将文件夹名称恢复为 "model" 并面临此问题:

An uncaught Exception was encountered

Type: RuntimeException

Message: Unable to locate the model you have specified: Ion_auth_model

Filename: C:\xampp\htdocs\paper_auth\system\core\Loader.php

Line Number: 348

Backtrace:

File: C:\xampp\htdocs\paper_auth\application\libraries\Ion_auth.php
Line: 74
Function: model

File: C:\xampp\htdocs\paper_auth\application\controllers\Book_Class.php
Line: 7
Function: __construct

File: C:\xampp\htdocs\paper_auth\index.php
Line: 315
Function: require_once

我的代码在重命名之前工作正常我使用 "PHPStorm" 错误地做到了,有人可以帮助我吗?

也许这是你问题中的错字,但如果不是,文件夹名称是“models”而不是“model”。