Welcome Guest, Not a member yet? Register   Sign In
Library inside library
#11

[eluser]tonanbarbarian[/eluser]
and the code that is loading and calling this library?
#12

[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));
}
}
#13

[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.
#14

[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.
#15

[eluser]Sawariya[/eluser]
thanks everybody .. now its working properly ..

thank you very much for your help...


thanks a lot
#16

[eluser]Craig A Rodway[/eluser]
What was the problem?
#17

[eluser]Sawariya[/eluser]
this was the solution for that..

$this->obj->ua_authorize->roleCheck();
#18

[eluser]Sawariya[/eluser]
thank you friends..
thank you very much for your response...




Theme © iAndrew 2016 - Forum software by © MyBB