Problem in Phpsession library |
[eluser]Marcus Cavalcanti[/eluser]
I found a small bug in Phpsession library. When i save an object in session, when i retrieve this object it has the information: "object(__PHP_Incomplete_Class)" To fix this problem, i modified the save() method of Phpsession class. The method fixed: Code: /* Save a session variable. The cause of this problem is found there: http://www.thescripts.com/forum/threadedpost56014.html Marcus Cavalcanti
[eluser]dootzky[/eluser]
I just had the same problem. Solution is either that you've described here, OR, you can just load your class (which should be in Libraries folder for convenience) just BEFORE session class, in autoload.php config file, like this: $autoload['libraries'] = array('database', 'cart', 'session'); and that's it! cheers, dootzky |
Welcome Guest, Not a member yet? Register Sign In |