vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Upgrading vb 5 To Latest Version (https://vborg.vbsupport.ru/showthread.php?t=316013)

Mr.Danko Jones 12-14-2014 05:24 AM

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?

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...nexpected-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:

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?!


All times are GMT. The time now is 09:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01446 seconds
  • Memory Usage 1,724KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete