View Full Version : Upgrading vb 5 To Latest Version
Mr.Danko Jones
12-14-2014, 05:24 AM
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
12-14-2014, 03:29 PM
Might check this thread to see if the OP's reply is the same issue you have.
http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/423089-vb5-beta-21-error-during-installation-unexpected-text
Also google is your friend ;)
Mr.Danko Jones
12-15-2014, 11:53 AM
Thanks!
What does he mean by this?:
"- solved -
added missing entry "mysql" in core/install/config.php"
Lynne
12-15-2014, 06:24 PM
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
12-18-2014, 04:08 AM
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
12-18-2014, 04:03 PM
Then change it to just "mysql". It may be that your server doesn't have "mysqli" enabled.
Mr.Danko Jones
01-06-2015, 05:41 PM
Neither seemed to fix the problem unfortunately.
Paul M
01-06-2015, 11:18 PM
Enable debug mode on the frontend and you will get a proper error message instead of just the "Critical Error".
vbSuperfan
08-24-2019, 09:49 PM
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:
$config['Database']['dbtype'] = '';
to:
$config['Database']['dbtype'] = 'mysqli';
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?!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.