phpcodeignitertankauth

codeigniter tank_auth unable to view default forms


First time posting here love the site.

So I started using CodeIgniter and wanted to add acl to my site. searched and read a lot and decide to go with tank auth.

using: codeigniter 2.1.4

tank auth master

IIS

Download everything ran the scripts connected to the db and nothing...

I can't view the register_form.php in the view/auth folder or any view for that matter, all i get is a blank page no errors or anything. i assume its a problem with the routing i tried a 100 different stuff and was unable to get any thing beside a blank page.

any ideas how to solve this?

your help would be most appreciated.

$route['default_controller'] = 'auth/view';
$route['404_override'] = '';

edit: what have i dont so far....

  1. so i change the route to this: $route['default_controller'] = 'auth/login'; $route['404_override'] = '';

  2. enable all logging nothing shows there

  3. made sure im in develoment mode still nothing blank page

edit:

so sloved the problem it was with the database load ($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"

hopes this help some one in the future :)

Solution

  • so sloved the problem it was with the database load

    ($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"
    

    hopes this help some one in the future :)