• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
when i load session class the page do not load CodeIgniter

#1
[eluser]Berzacola[/eluser]
I'm using CodeIgniter 2.1.3 and when i try to load session class the page don't load, and don't show any error either , look what i'm trying to do: ( P.S.: I've set the encryption key already ) ( It is the index of the main controller... )

Code:
public function index() {

    $this->load->library('session');

    $this->load->helper('assets_helper');


    $data['assets_url'] = assets_url();

    $this->load->view(domain_template() . '/index', $data);

}

If i do like above, the code will no load the page, but if i put like that:

Code:
public function index() {

    //$this->load->library('session');

    $this->load->helper('assets_helper');


    $data['assets_url'] = assets_url();

    $this->load->view(domain_template() . '/index', $data);

}

It's loaded, why it happen? i cant solve it!!

Stack OverFlow question:
http://stackoverflow.com/questions/13788...odeigniter


Messages In This Thread
when i load session class the page do not load CodeIgniter - by El Forum - 12-09-2012, 09:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.