CodeIgniter Forums
Blank screen with session library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Blank screen with session library (/showthread.php?tid=1024)



Blank screen with session library - Miniguyz - 02-06-2015

Hello everyone,

It's my first post here and I need help from the CI community Smile

Here is my problem :

My application is working fine with HMVC modules without session library.

When I autoload the session library (without encryption or database storage), I got a blank screen on a test controller/view.

I don't know if you understand me but, just the fact of put the session in the autoload config or in normal load in the controller make a blank screen, even if I don't use it in my controller (I tested to just load a view with 'hello', no variables, it works without session library initialized, it doesn't work with the session library initialized).

When I look at the logs, my app stop with the initialization of the session library, the last line I got is :
DEBUG - 2015-02-06 15:35:06 --> Session Class Initialized

Could anyone help me with this issue please?

Thanks,


RE: Blank screen with session library - Avenirer - 02-06-2015

HMVC... I guess you are working with CI version lower than 3. If yes, then the problem should be that you didn't set an encryption key. If not, then HMVC doesn't work with CI3 yet, and the session is no longer a library but a driver.