Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
  #1  
Old 12-14-2014, 05:24 AM
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 12-14-2014, 03:29 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #3  
Old 12-15-2014, 11:53 AM
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!

What does he mean by this?:

"- solved -

added missing entry "mysql" in core/install/config.php"
Reply With Quote
  #4  
Old 12-15-2014, 06:24 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

What does your line look like?
Reply With Quote
  #5  
Old 12-18-2014, 04:08 AM
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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."
Reply With Quote
  #6  
Old 12-18-2014, 04:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then change it to just "mysql". It may be that your server doesn't have "mysqli" enabled.
Reply With Quote
  #7  
Old 01-06-2015, 05:41 PM
Mr.Danko Jones Mr.Danko Jones is offline
 
Join Date: Jun 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Neither seemed to fix the problem unfortunately.
Reply With Quote
  #8  
Old 01-06-2015, 11:18 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Enable debug mode on the frontend and you will get a proper error message instead of just the "Critical Error".
Reply With Quote
  #9  
Old 08-24-2019, 09:49 PM
vbSuperfan vbSuperfan is offline
 
Join Date: Jun 2019
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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'] = '';
to:

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

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 07:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04362 seconds
  • Memory Usage 2,227KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete