Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ion身份验证用户和管理问题-CodeIgniter_Codeigniter_Authentication_Ion Auth - Fatal编程技术网

Ion身份验证用户和管理问题-CodeIgniter

Ion身份验证用户和管理问题-CodeIgniter,codeigniter,authentication,ion-auth,Codeigniter,Authentication,Ion Auth,我正在使用Ion Auth进行网站身份验证,这是一个很好的工具,但有一个小问题。无论何时创建用户,都会自动将其创建为管理员,而不是成员或普通用户,即使这是在我的ion_auth配置文件中指定的。有没有其他人遇到过这个问题,或者知道如何解决这个问题?在application/config/ion_auth.php中 $config['default_group'] = 'members'; “成员”必须插入到由以下内容定义的“组”表中: $config['tables']['groups'] =

我正在使用Ion Auth进行网站身份验证,这是一个很好的工具,但有一个小问题。无论何时创建用户,都会自动将其创建为管理员,而不是成员或普通用户,即使这是在我的ion_auth配置文件中指定的。有没有其他人遇到过这个问题,或者知道如何解决这个问题?

在application/config/ion_auth.php中

$config['default_group'] = 'members';
“成员”必须插入到由以下内容定义的“组”表中:

$config['tables']['groups'] = 'groups';

如果这不起作用,问题在application/config/ion_auth.php中的另一部分…

$config['default_group'] = 'members';
“成员”必须插入到由以下内容定义的“组”表中:

$config['tables']['groups'] = 'groups';

如果这不起作用,问题在另一部分…

这在我的配置和数据库表中是正确的。我从Ion Auth包含的SQL文件中运行了查询,并进行了检查以确保它是正确的。没有骰子,找出问题所在。Ben Edmunds尚未在其网站benedmunds.com/ion_auth上加载当前版本的ion_auth,这导致了问题。谢谢你的帮助!这在我的配置和数据库表中是正确的。我从Ion Auth包含的SQL文件中运行了查询,并进行了检查以确保它是正确的。没有骰子,找出问题所在。Ben Edmunds尚未在其网站benedmunds.com/ion_auth上加载当前版本的ion_auth,这导致了问题。谢谢你的帮助!