hi there,
I wanted to say thank you for making this extension! I’m quite new to it, so i hope this isn’t a very silly question. I’m having some problems that i think might have something to do with sessions. I’ve installed it and according the installer, everything went okay. I can login okay, but as soon as i go to another page, i’m no longer logged in (for example, i login and then go to change password and it no longer says i am logged in; or i login as the admin, and then click on one of the admin menu options and it sends me back to the login).
andrew.
Hey Andrew, your welcome!
cheers for yous “help summary” in the wiki![]()
Well yours is a strange issue!
Well ou said you have cookies enabled, and that your session is written ok in DB.
did you change any setting in the application/config/config.php ?
Dan
hi Dan,
Thanks for answering! Ack, a strange issue doesn’t sound very good! Perhaps it’s some server setting. Could it have something to do with using PHP4 perhaps?
I did make a couple changes to config.php. I set error logging to 4, and i added some global constants at the end which i just use for some standard messages to the user in the rest of my application. So it doesn’t seem like they should interfere with anything.
I have a link here to my error log.
I’ve pasted a couple of the messages from that log that seem suspicious and that i don’t really understand. Do you think there is anything there that might indicate the problem?
thank you!
andrew.
...
DEBUG - 2007-03-22 14:19:08—> Config file loaded: config/freakauth_light.php
DEBUG - 2007-03-22 14:19:08—> Helpers loaded: url, form, array, freakauth_light, html
DEBUG - 2007-03-22 14:19:08—> Database Driver Class Initialized
DEBUG - 2007-03-22 14:19:08—> FreakAuth Class Initialized
DEBUG - 2007-03-22 14:19:08—> Session Class Initialized (db)
ERROR - 2007-03-22 14:19:08—> Severity: Notice —> unserialize() [function.unserialize]: Argument is not a string /homepages/34/d160587096/htdocs/test/system/application/libraries/Db_session.php 208
...
DEBUG - 2007-03-22 14:19:08—> Encrypt Class Initialized
ERROR - 2007-03-22 14:19:08—> Severity: Notice —> unserialize() [function.unserialize]: Error at offset 0 of 15 bytes /homepages/34/d160587096/htdocs/test/system/libraries/Session.php 187
ERROR - 2007-03-22 14:19:08—> The session cookie data did not contain a valid array. This could be a possible hacking attempt.
DEBUG - 2007-03-22 14:19:08—> Controller Class Initialized
DEBUG - 2007-03-22 14:19:08—> Language file loaded: language/english/freakauth_lang.php
DEBUG - 2007-03-22 14:19:08—> Model Class Initialized
DEBUG - 2007-03-22 14:19:08—> Validation Class Initialized
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/template/menu.php
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/template/header.php
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/content/login.php
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/template/content.php
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/template/footer.php
DEBUG - 2007-03-22 14:19:08—> File loaded: /homepages/34/d160587096/htdocs/test/system/application/views/FreakAuth_light/template/container.php
DEBUG - 2007-03-22 14:19:08—> Final output sent to browser
DEBUG - 2007-03-22 14:19:08—> Total execution time: 0.2298
