The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Upgrading vb 5 To Latest Version
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? |
#2
|
||||
|
||||
Might check this thread to see if the OP's reply is the same issue you have.
http://www.vbulletin.com/forum/forum...nexpected-text Also google is your friend |
#3
|
|||
|
|||
Thanks!
What does he mean by this?: "- solved - added missing entry "mysql" in core/install/config.php" |
#4
|
||||
|
||||
He's talking about this line in your /core/includes/config.php file:
$config['Database']['dbtype'] = 'mysqli'; What does your line look like? |
#5
|
|||
|
|||
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." |
#6
|
||||
|
||||
Then change it to just "mysql". It may be that your server doesn't have "mysqli" enabled.
|
#7
|
|||
|
|||
Neither seemed to fix the problem unfortunately.
|
#8
|
||||
|
||||
Enable debug mode on the frontend and you will get a proper error message instead of just the "Critical Error".
|
#9
|
|||
|
|||
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: Code:
$config['Database']['dbtype'] = ''; Code:
$config['Database']['dbtype'] = 'mysqli'; For some strange reason, the installer's first stage fails to fill in this value, which in turn cause this critical problem. Very strange?! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|