In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
911 [In-Portal CMS] Database bug report always 2010-10-30 15:20 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.1-B2  
fixed  
 
none 5.1.1-RC1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2e8a072657efa50c
Fixed reporting for Database connection
0
0000911: Invalid Database in "config.php" results to infinite Redirect in Admin
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.
This is ported issue from 5.2.0 version (just wanted it to accessible as soon as possible).
patch missing_database_infinite_redirect.patch (3,519) 2010-10-30 15:20
http://tracker.in-portal.org/file_download.php?file_id=825&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003005
2010-11-30 12:48 Dmitry Status resolved => closed
2010-11-01 14:25 alex Note Added: 0002940
2010-11-01 14:25 alex Status reviewed and tested => resolved
2010-11-01 14:25 alex Fixed in Version => 5.1.1-RC1
2010-11-01 14:25 alex Resolution open => fixed
2010-11-01 14:25 alex Assigned To !COMMUNITY => alex
2010-11-01 14:25 alex Changeset attached 5.1.x r14026
2010-11-01 10:56 Dmitry Change Log Message Database connection error reporting fixed => Fixed reporting for Database connection
2010-11-01 10:56 Dmitry Summary Invalid database in "config.php" results to infinite redirect, when not in debug mode => Invalid Database in "config.php" results to infinite Redirect in Admin
2010-11-01 10:56 Dmitry Description Updated bug_revision_view_page.php?rev_id=599#r599
2010-11-01 10:53 Dmitry Note Added: 0002934
2010-11-01 10:53 Dmitry Status needs testing => reviewed and tested
2010-10-30 15:23 alex Additional Information Updated bug_revision_view_page.php?rev_id=595#r595
2010-10-30 15:22 alex Assigned To => !COMMUNITY
2010-10-30 15:22 alex Developer => alex
2010-10-30 15:22 alex Status active => needs testing
2010-10-30 15:22 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/2e8a072657efa50c
2010-10-30 15:22 alex Change Log Message => Database connection error reporting fixed
2010-10-30 15:20 alex New Issue
2010-10-30 15:20 alex File Added: missing_database_infinite_redirect.patch

Notes
(0002934)
Dmitry   
2010-11-01 10:53   
Tested good, please commit.
(0002940)
alex   
2010-11-01 14:25   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000911: Invalid Database in "config.php" results to infinite Redirect in Admin
(0003005)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.