Invalid Database in "config.php" results to infinite Redirect in Admin
Components
Labels
None
Description
Context Information
None
Additional information (do not use)
This is ported issue from 5.2.0 version (just wanted it to accessible as soon as possible).
Attachments
1
- 30 Oct 2010, 08:20 PM
Activity
Show:
Dmitry Andrejev November 30, 2010 at 6:48 PM
Closing released 5.1.1 task.
Alex November 1, 2010 at 7:25 PM
Fix committed to [b]5.1.x branch/b. Commit Message:
Fixes #0000911: Invalid Database in "config.php" results to infinite Redirect in Admin
Dmitry Andrejev November 1, 2010 at 3:53 PM
Tested good, please commit.
Fixed
Priority
Assignee
Reporter
Alex
AlexDeveloper
Alex
AlexChange Log Message
Fixed reporting for Database connection
Patch Instructions
Patches must be submitted through Phabricator.
To submit patch via Command Line use Patches Workflow (via Arcanist) tutorial.
To submit patch via Web Interface use Patches Workflow (via Web Interface) tutorial.
External issue ID
911
External issue URL
Fix versions
Affects versions
Created October 30, 2010 at 8:20 PM
Updated December 29, 2024 at 9:15 PM
Resolved November 30, 2010 at 6:48 PM
When debug mode is switched off (usual case for regular users) and invalid (e.g. non existing) database name is specified in "config.php" file, then infinite redirect is happening in Admin Console.
This happens because 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.