Php codeigniter储罐\u auth无法查看默认表单
第一次在这里发布爱的网站 所以我开始使用CodeIgniter,并希望将acl添加到我的站点。 搜索和阅读了很多,并决定与坦克认证 使用: 代码点火器2.1.4 坦克认证主机 非法移民 下载一切运行脚本连接到数据库,什么都没有 我无法在view/auth文件夹或任何视图中查看Php codeigniter储罐\u auth无法查看默认表单,php,codeigniter,tankauth,Php,Codeigniter,Tankauth,第一次在这里发布爱的网站 所以我开始使用CodeIgniter,并希望将acl添加到我的站点。 搜索和阅读了很多,并决定与坦克认证 使用: 代码点火器2.1.4 坦克认证主机 非法移民 下载一切运行脚本连接到数据库,什么都没有 我无法在view/auth文件夹或任何视图中查看register\u form.php,因此,我得到的只是一个空白页,没有错误或任何东西。我想这是一个路由问题,我尝试了100种不同的东西,但除了一个空白页面之外,什么都找不到 有什么办法解决这个问题吗 非常感谢你的帮助 $
register\u form.php
,因此,我得到的只是一个空白页,没有错误或任何东西。我想这是一个路由问题,我尝试了100种不同的东西,但除了一个空白页面之外,什么都找不到
有什么办法解决这个问题吗
非常感谢你的帮助
$route['default_controller'] = 'auth/view';
$route['404_override'] = '';
编辑:
到目前为止我还没有做什么
这将直接引导您登录!锚定auth/register以查看register视图。我认为,这是错误的,我想没有人希望将默认控制器设置为登录。(所以您遇到了无法打开身份验证/注册或登录的问题,您希望通过路由解决此问题) 我用的是tank_auth。从未更改路线设置。 确保配置文件、库和模型都在那里,我建议您打开错误报告以获取所有警告 打开索引php,在代码第38行
case 'development':
error_reporting(E_ALL ^ (E_NOTICE));
break;
这样就解决了数据库负载的问题
($this->ci->load->database();)
no error were showen only thing in log of CI was (Database Driver Class Initialized)
problem was that php 5.5 doesnt come enable , need to enable it.
locate the php.ini (cmd->run c:\php\php.exe --ini for location)
edit the next stuff in file:
extension=php_mysql.dll
extension=php_mysqli.dll
extension_dir = "C:\PHP\ext"
then make sure that in apachee httd.conf u have it ponted to the location of the right php.ini
PHPIniDir "C:\php\PHP.ini"
希望这对将来的人有所帮助:)检查日志。。如果需要,请更改日志配置以记录所有内容。刚刚在日志库中获得了警告日期()修复了它,仍然没有任何问题…我同意我不想作为默认登录名,但现在需要检查它是否有效。好吧,我的坏蛋应该说我已经将它配置为开发。这就是为什么我打开了这个案例,为什么不先登录页面呢?例如,我想使用默认的一个,带有坦克AuthSnple登录页面,然后从那里登记,然后继续移动到我的站点上,没有发生什么,仍然得到空白页面。
case 'development':
error_reporting(E_ALL ^ (E_NOTICE));
break;
($this->ci->load->database();)
no error were showen only thing in log of CI was (Database Driver Class Initialized)
problem was that php 5.5 doesnt come enable , need to enable it.
locate the php.ini (cmd->run c:\php\php.exe --ini for location)
edit the next stuff in file:
extension=php_mysql.dll
extension=php_mysqli.dll
extension_dir = "C:\PHP\ext"
then make sure that in apachee httd.conf u have it ponted to the location of the right php.ini
PHPIniDir "C:\php\PHP.ini"