![]() |
|
Thread Tools |
#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?
__________________
My board: board.gscentral.org No members have liked this post.
|
#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 ![]()
__________________
No members have liked this post.
|
#3
|
|||
|
|||
Thanks!
What does he mean by this?: "- solved - added missing entry "mysql" in core/install/config.php"
__________________
My board: board.gscentral.org No members have liked this post.
|
#4
|
||||
|
||||
He's talking about this line in your /core/includes/config.php file:
$config['Database']['dbtype'] = 'mysqli'; What does your line look like?
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#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."
__________________
My board: board.gscentral.org No members have liked this post.
|
#6
|
||||
|
||||
Then change it to just "mysql". It may be that your server doesn't have "mysqli" enabled.
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#7
|
|||
|
|||
Neither seemed to fix the problem unfortunately.
__________________
My board: board.gscentral.org No members have liked this post.
|
#8
|
||||
|
||||
Enable debug mode on the frontend and you will get a proper error message instead of just the "Critical Error".
__________________
Former vBulletin.org Staff Member
Cable Forum Please do not PM me about custom work - I no longer undertake any. Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. No members have liked this post.
|
#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:
to:
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?! No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:38.