简体   繁体   English

Codeigniter Tank身份验证安装

[英]Codeigniter Tank auth installation

I'm having some problems with Tank Auth. 我在Tank Auth上遇到了一些问题。 Although i followed the instructions from here when i try to connect in the login_form i get a redirect in http://example.com/auth/login . 尽管当我尝试连接login_form时遵循了此处的说明但我在http://example.com/auth/login中获得了重定向。

I assume i can change "example.com" with my domain but i can't find where. 我认为我可以使用域名更改“ example.com”,但找不到位置。 The other thing is that captcha is not showing. 另一件事是验证码没有显示。

I suppose i have to learn only from the examples coming with the installation? 我想我只能从安装随附的示例中学习?

Any help is appreciated. 任何帮助表示赞赏。

Here are some (more detailed) instructions on getting Tank Auth to work in CodeIgniter: http://expertnotfound.wordpress.com/2011/01/20/setting-up-tank-auth-2/ 以下是一些使Tank Auth在CodeIgniter中工作的(更详细的)说明: http : //expertnotfound.wordpress.com/2011/01/20/setting-up-tank-auth-2/

(Sadly it does not seem to be 100% compatible with CI 2.1.0. But it still made a difference for me...) (遗憾的是,它似乎与CI 2.1.0并非100%兼容。但是,它对我仍然有所不同...)

You're right, there is no 'example.com' in the latest version of Tank Auth. 没错,最新版的Tank Auth中没有“ example.com”。 Have you changed the base url in the CI config file? 您是否更改了CI配置文件中的基本URL? Its at ./system/application/config/config.php the line 它在./system/application/config/config.php行中

$config['base_url'] = "http://example.com/";

Whats wrong with capcha? capcha怎么了? Have you set up all of the directories for your images? 您是否为图像设置了所有目录?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM