Welcome Guest, Not a member yet? Register   Sign In
Session Library and HMVC
#1

Hey,

I ran into a problem, while coding around in CI 3.0.3 and latest HMVC Extension. I'm autoloading some libraries, helpers and much more. The Session library too. Now i have a few controllers all working fine, except one.

In that controller i use this code:

PHP Code:
modules::run($module->module '/' $module->controller '/' $module->methodunserialize($block->configuration)); 

While using this static function i got the error:

Code:
Unable to locate the specified class: Session.php

The log says that the Session class is initialized.

Code:
INFO - 2015-12-01 09:41:40 --> Session: Class initialized using 'database' driver.

Any ideas why i got this error?

I've asked the same question here: Stackoverflow

Thanks and Kind Regards!

Webice
Reply
#2

You may need to get the CI Super Object to get your session data.

$_ci =& get_instance();
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB