Menu

#376 USE_DB_SESSION is badly handled

open
Flat file (22)
5
2012-10-11
2004-09-19
No

The USE_DB_SESSION variable should be set to false when
using a flat file database, as said in bug 987757.

If it is not, a lot of php errors is displayed when
using the wiki

But setting this in config.ini has no effect, because
USE_DB_SESSION is not listed in the _IC_VALID_BOOL
array in lib/IniConfig.php

You just have to add it in the end of the array to
solve the problem.

Moreover, it would be a good idea to document it in
config.ini

Or maybe to automatically set it to false when the
database backend is 'file'

Regards,

François Beretti

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.