Details
-
Bug
-
Status: Unverified Fix
-
Resolution: Fixed
-
None
Description
The blank page happens on servers when clicking the Support tab and the mysql_upgrader detects that the database_cleaner class does not exist. Disabling the check in mysql_upgrader.php results in the page working, but the mysql_upgrader tool is not available. The database cleaner tool is available and works fine.
It seems that on some servers, the database cleaner tool is not loaded when mysql_upgrader is loaded, yet the database cleaner is loaded at a later time causing it to be loaded twice. Putting a check in the database cleaner to see if it is already loaded prevents it from being load twice.
OPEN tools/support/database_cleaner.php
FIND
if (!defined('IN_PHPBB'))
|
{
|
exit;
|
}
|
AFTER,ADD
if (!class_exists('database_cleaner'))
|
{
|
FIND
// Redirect to the next step
|
redirect(append_sid(STK_INDEX, array('c' => 'support', 't' => 'database_cleaner', 'step' => $this->step + 1, 'did_run' => $did_run)));
|
}
|
}
|
AFTER,ADD{code}}
|
SAVE/CLOSE