[英]CodeIgniter Tank Auth Error
I can't seem to get tank auth installed correctly, I copied over the files, but everytime I visit 'localhost/auth' it gives me the error Unable to load the requested class: security
. 我似乎无法正确安装tank auth,我复制了文件,但是每次访问“ localhost / auth”时,都会出现错误:
Unable to load the requested class: security
。
The documentation I've been able to find is very light, and doesn't cover this error (or how to install it). 我所能找到的文档非常简短,并且没有涵盖此错误(或如何安装)。 I am installing on a windows box running WAMP.
我正在安装运行WAMP的Windows框。 But am planning to move it to a linux box running apache after development.
但是我打算在开发后将其移动到运行apache的linux系统中。
Thoughts? 有什么想法吗?
I had the same problem on latest codeigniter 2.1.0 我在最新的Codeigniter 2.1.0上遇到了相同的问题
Commenting the $this->load->library('security');
评论
$this->load->library('security');
from auth.php controller will remove the error. 从auth.php控制器将删除该错误。 Codeigniter 2.1.0 has security class automatically loading at the core.
Codeigniter 2.1.0的安全级别自动加载到核心。
I have updated my repo with the changes, hope someone finds it useful, https://bitbucket.org/mtsandeep/tank-auth-with-roles/overview 我已通过更改更新了我的仓库,希望有人觉得它有用, https://bitbucket.org/mtsandeep/tank-auth-with-roles/overview
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.