Invalid Database in "config.php" results to infinite Redirect in Admin

Components

Labels

Description

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.

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

Confluence content

mentioned on

Phabricator

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

Alex

Reporter

Developer

Change Log Message

Patch Instructions

Patches must be submitted through Phabricator.

External issue ID

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

Flag notifications