Welcome Guest, Not a member yet? Register   Sign In
FreakAuth_light1.1 codeigniter1.6 session error
#1

[eluser]Unknown[/eluser]
hi

my english is too bad ,hope you can know,

i use the codeiginter in my project and i try to use freakauth 1.1 with codeigniter 1.6

then when i use the freakauth , the error appeared



$autoload['libraries'] = array('database','session','Freakauth_light');

$autoload['config'] = array('freakauth_light');


when i cilck more than 3 times ,my page session was lost;

so i try to change the autoload.php to



$autoload['libraries'] = array('database','session');

$autoload['config'] = array();


and the session work well;

in my controller i try to use

Code:
$this->load->library('Freakauth_light');
    $this->load->config('freakauth_light');
    $this->freakauth_light->check('admin');

and then the another error was appered

this was the error

Code:
An Error Was Encountered

Unable to load the requested file: content/turned_off.php

everybody who can help me, thank you..
#2

[eluser]WhatTheFawk[/eluser]
Try using the first setup you had in autoload.php, but do not auto load sessions.

Source: http://ellislab.com/forums/viewthread/81868/

I'm not sure about the last error, but maybe it will go away when you go back to the original configuration.




Theme © iAndrew 2016 - Forum software by © MyBB