vBulletin Mods

The Official vBulletin Modifications Site

Upgrading vb 5 To Latest Version
by Mr.Danko Jones
14 Dec 2014 06:24

Tried to upgrade my vb 5.1.4 lately to the latest alpha 6 and got this error:

"Fatal error: Cannot redeclare class vB_dB_Assertor in /home/DFSDS/[url]/core/vb/db/assertor.php on line 18"

What's up with that?

Brandon Sheley 14 Dec 2014 16:29

Might check this thread to see if the OP's reply is the same issue you have.


Also google is your friend ;)

Mr.Danko Jones 15 Dec 2014 12:53


What does he mean by this?:

"- solved -

added missing entry "mysql" in core/install/config.php"

Lynne 15 Dec 2014 19:24

He's talking about this line in your /core/includes/config.php file:
$config['Database']['dbtype'] = 'mysqli';

What does your line look like?

Mr.Danko Jones 18 Dec 2014 05:08

I had it blank but changed it to 'mysqli' and now getting this:

"Critical Error

We are currently experiencing technical difficulties. Please check back in 24 hours."

Lynne 18 Dec 2014 17:03

Then change it to just "mysql". It may be that your server doesn't have "mysqli" enabled.

Mr.Danko Jones 06 Jan 2015 18:41

Neither seemed to fix the problem unfortunately.

Paul M 07 Jan 2015 00:18

Enable debug mode on the frontend and you will get a proper error message instead of just the "Critical Error".

vbSuperfan 24 Aug 2019 23:49

I'm posting this in this old thread since Google refers to it when googling the "Cannot declare class vB_dB_Assertor" error message.

This problem just happened to me too (on a local XAMPP install on Windows, with PHP 7.3.8 and MariaDB 10.4.6), and the solution above worked for me, i.e. to change:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

in the /core/includes/config.php file.

For some strange reason, the installer's first stage fails to fill in this value, which in turn cause this critical problem. Very strange?!

All times are GMT. The time now is 04:54.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.