Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Dec 2014, 07:24
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
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
Reply With Quote
  #2  
Old 14 Dec 2014, 17:29
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
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
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #3  
Old 15 Dec 2014, 13:53
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Thanks!

What does he mean by this?:

"- solved -

added missing entry "mysql" in core/install/config.php"
__________________
My board: board.gscentral.org
Reply With Quote
  #4  
Old 15 Dec 2014, 20:24
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.)
Reply With Quote
  #5  
Old 18 Dec 2014, 06:08
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
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
Reply With Quote
  #6  
Old 18 Dec 2014, 18:03
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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.)
Reply With Quote
  #7  
Old 06 Jan 2015, 19:41
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Neither seemed to fix the problem unfortunately.
__________________
My board: board.gscentral.org
Reply With Quote
  #8  
Old 07 Jan 2015, 01:18
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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.
Reply With Quote
  #9  
Old 25 Aug 2019, 00:49
vbSuperfan vbSuperfan is offline
 
Join Date: Jun 2019
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.

to:


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?!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:40.

Layout Options | Width: Wide Color: