Support Toolkit

Fatal error: Class 'critical_repair' not found - db cleaner - Support Toolkit

Fatal error: Class 'critical_repair' not found - db cleaner

by Cable Player » Thu Nov 06, 2014 8:17 pm

Hi,
I'm going to update my 3.0.12 installation to 3.1.1 but first I'm going to clean the database so there are no extra tables created by installed MODs. I've done this a few times before on various versions of 3.0.x and have never had trouble until now.

I go to run the tool and can't get past the first stage where it removes/adds tables after it disables the board. This error shows, and then I cannot reload the stk.

Code: Select all

Fatal error: Class 'critical_repair' not found in  [root]/stk/includes/functions.php on line 645


I'm using the 1.0.7-PL1 version.

When I then try to access the board I get an error message saying that the phpbb_points_config table doesn't exist - so this would mean the tool did that part of the step and then threw me that error.

I've brought in the backup for now so the board is live again, but I'm hoping to get this sorted quickly so any help would be appreciated!

Thanks
Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England
Contact:

Re: Fatal error: Class 'critical_repaid' not found - db clea

by Cable Player » Thu Nov 06, 2014 8:25 pm

I've noticed in \stk\common.php it says this:

Code: Select all

// What version are we using?
define('STK_VERSION', '1.0.8-dev');


Could this have anything to do with it, as I downloaded 1.0.7-PL1?
Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England
Contact:

Re: Fatal error: Class 'critical_repair' not found - db clea

by Cable Player » Thu Nov 06, 2014 8:39 pm

Sorry, I must have gotten the process muddled.

I replaced all of the files with a fresh 3.0.12 set (all excluding config.php, /images and /files) and ran the database cleaner again - it worked fine this way.
Cable Player
Registered User
Posts: 516
Joined: Thu Feb 03, 2011 4:45 pm
Location: Hampshire, England
Contact: