Projects ⇒ Bugs ⇒ #951: _SESSIONS table not populated in MySQL 5.0 Strict Mode ⇒ CPG Dragonfly™ CMS
Bug #951 _SESSIONS table not populated in MySQL 5.0 Strict Mode
Project: Dragonfly 9.0.3 -> 9.3 Category: SQL
Submitted: Tuesday, April 03, 2007 (10:28:10) Modified: Friday, April 20, 2007 (08:14:40)
Status: Closed Assigned to:
PHP Version: 4.4.4 HTTPD Server: Apache 1.3

View/Vote Add Comment

by: BrokenCrust
Description:
------------
The _SESSIONS table is never updated when using MySQL 5.0 Strict Mode (works with Strict Mode Off). Any rows in the table when the database is restored remain there (unless deleted by hand) and new sessions are never recorded in the table.

No errors or warnings are ever displayed (even with all debugging options on) and the system otherwise works fine (the Who Is Where block gives a no data warning and is not displayed if the _SESSIONS table is emptied by hand).

Reproduce code:
---------------
Use MySQL 5.0 with strict mode on. Empty the _SESSIONS table and then open the website log in or whatever and you can see that no information is shown in Who Is Where blocks. Looking in the database shows _SESSIONS is not populated.

Try again with MySQL 5.0 without Strict Mode and all is working fine.

Expected result:
----------------
_SESSIONS should be populated / cleaned as normal and Who Is Where blocks should reflect this data.

Actual result:
--------------
Who Is Where blank and _SESSIONS data is never changed, session data is never added or removed.
by: NanoCaiordo
Please try using one of these CVS snapshots:

Latest tar.gz
Latest tar.bz2
by: BrokenCrust
This is now fixed. Thank you.
by: NanoCaiordo
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make Dragonfly 9.0.3 -> 9.1 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español