Loading...
 
Skip to main content

Features / Usability


[1.8RC1] Storing sessions in db

Hi

While I was playing a little bit with my tiki, I tried out the 'Store session data in database' option. Afterwards I wasn't able to log in anymore. While the InternetExploder was presenting login screen after login screen Opera came up with a error message:
Session Replace: Table 'polaris.sessions' doesn't exist.
And he is damn right. There is no table sessions in my db, but a table tiki_sessions 😂
Anyone experienced the same problems?
If you like to try it out: you can atferwards fix it by changing the value of session_db in the table tiki_preferences from y to n. If you are not familiar with mysql syntax use phpMyAdmin (http://www.phpmadmin.netQuestion) or - even better - don't try this at home.

I just had a look at my 1.8, today's HEAD version, and it has both tiki-sessions and sessions in the DB. Possibly my version has been fixed but there is also the possibility that you did not run the fix1.sql, fix2.sql or 17to18.sql which upgrades the tables. Might be worth checking. The 2 fixes should only be run once.

Clive