Uploaded image for project: 'Support Team Tools'
  1. Support Team Tools
  2. STT-219

Support tab blank page

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Status: Unverified Fix
    • Resolution: Fixed
    • Support Toolkit
    • 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

      Attachments

        Activity

          People

            Erik Frèrejean Erik Frèrejean
            D¡cky Richard Foote [X] (Inactive)
            Archiver:
            Noxwizard Patrick Webster

            Dates

              Created:
              Updated:
              Resolved:
              Archived: