[eluser]tonanbarbarian[/eluser]
and the code that is loading and calling this library?
[eluser]Sawariya[/eluser]
class CI_Userauth {
var $obj;
function CI_Userauth()
{
$this->obj =& get_instance();
$this->obj->load->model('user_group_model', '', TRUE);
$this->obj->load->model('remember_me', '', TRUE);
$this->obj->load->library('ua_authorize');
log_message('debug',
'User Authentication Class Initialised via '.get_class($this->obj));
}
}
[eluser]Craig A Rodway[/eluser]
Sawariya: So we can help you, please show us the code for controllers/front.php - we are particularly interested to see how you are loading your libraries and for line 44.
It would also help for you to use [ code ] tags to make it look more readable.
[eluser]tonanbarbarian[/eluser]
sorry but i cannot help you
i still do not see where rolecheck is being called
please provide the controller that is loading CI_Userauth
and as I mentioned before I suggest your rename CI_Userauth to just Userauth as the CI prefix is handled differently and could be the cause of the problem.
[eluser]Sawariya[/eluser]
thanks everybody .. now its working properly ..
thank you very much for your help...
thanks a lot
[eluser]Craig A Rodway[/eluser]
What was the problem?
[eluser]Sawariya[/eluser]
this was the solution for that..
$this->obj->ua_authorize->roleCheck();
[eluser]Sawariya[/eluser]
thank you friends..
thank you very much for your response...