SESSION: ci_sessions database table not populating |
I've been pulling my hair out over this for days. I posted a similar post earlier but it wasn't laid out properly i think. I really need detailed information on how to proceed instead of hints on where the look please.
First of all i downloaded 3.0.1 and built some simple pages from scratch to see if i could get sessions working. Basically i set sessions in config to be database, and i set the database name as ci_sessions. I load the ci_sessions table. When i go to autoload sessions, when user starts using the website (right now i'm running it locally using WAMP so i'm the only user), i get an error message whenever i load the page. Also, ci_sessions table in a_cfg database does not populate at all when i autoload 'session' or try loading a page that tries to set some session variables. This is the error message: Code: A Database Error Occurred SOMEBODY indicated it might have something to do with "Filename: libraries/Session.php" but did not say what so i had no idea how to fix it. It looks like its trying to write information to the PREVIOUS version of ci_sessions table based on the column names. No idea why its doing this as i started coding from 3.0.1 and system file is as it should be with no changes. Here is the view that tries to set the session variable that triggers the error whenever the view loads: Code: <html> Here is the database file in config->database.php: Code: $active_group = 'default'; The ci_sessions table is found in the a_cfg database. And here is the sessions configuration in config.php Code: $config['encryption_key'] = '123'; Please I'm desperate for help. Please be detailed as i am a self-taught coder that is very simplistic. Thanks in advance, Geoff |
Messages In This Thread |
SESSION: ci_sessions database table not populating - by gloosemore - 09-18-2015, 06:11 AM
RE: SESSION: ci_sessions database table not populating - by mwhitney - 09-18-2015, 07:15 AM
RE: SESSION: ci_sessions database table not populating - by gloosemore - 09-18-2015, 08:03 AM
RE: SESSION: ci_sessions database table not populating - by mwhitney - 09-18-2015, 08:08 AM
RE: SESSION: ci_sessions database table not populating - by gloosemore - 09-18-2015, 08:35 AM
RE: SESSION: ci_sessions database table not populating - by Narf - 09-23-2015, 04:41 AM
|