Invalid database in "config.php" results to infinite redirect, when not in debug mode

0 views
Skip to first unread message

Alexander Obuhovich

unread,
Oct 30, 2010, 4:21:05 PM10/30/10
to In-Portal Bugs
When I switch off debug mode (usual case for regular users) and specify invalid (e.g. non existing) database name in "config.php" file, then infinite redirect is happening, since all database queries are still executed on missing database and In-Portal thinks, that it can't write to Session table resulting in session expiration happening all the time.


Ready for testing.
missing_database_infinite_redirect.patch

Dmitry A.

unread,
Oct 30, 2010, 4:25:09 PM10/30/10
to In-Portal Bugs Team
Thanks Alex, quite interesting!

Will test shortly.

DA
>  missing_database_infinite_redirect.patch
> 4KViewDownload
Reply all
Reply to author
Forward
0 new messages