PDA

View Full Version : Hello I am getting error while upgrading


pallam
07-09-2018, 11:32 PM
Hi all.


I was using 3.8 1 version now I bought a 4 .2.5 version I am trying upgrade but I am getting error like on the main page

Fatal error: Cannot make static method vBulletinHook::fetch_hook_object() non static in class vBulletinHook_Credits in /home3/prince/public_html/Vb/includes/functions_credits.php on line 57




for the upgrade.php

Warning: require_once(/vb.php): failed to open stream: No such file or directory in /home3/pr/public_html/Vb/includes/class_bootstrap_framework.php on line 99

Fatal error: require_once(): Failed opening required '/vb.php' (include_path='.:/opt/php56/lib/php') in /home3/pr/public_html/Vb/includes/class_bootstrap_framework.php on line 99

Please help me with error I talk to host they said I need to talk to developer Thank you in advance.

In Omnibus
07-10-2018, 01:04 AM
The first error appears to be related to a plugin called credits.

vB3.x modifications are not generally compatible with vB4.x

The second question is: Which version of PHP and MySQL are you running?

pallam
07-10-2018, 01:08 AM
Thank you so much for the help.

So how to disable credit plugin ?



here is the details for PHP version

Database client version: libmysql - 5.1.73

PHP version: 5.6.30

--------------- Added 1531224675 at 1531224675 ---------------

while upgrading I am getting this error

An error has occurred. Please contact vBulletin Support for assistance.

Module: vbblog, Step 1 Error.

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

Bitfield Collision: credits_cantearn = allowvideos
Bitfield Collision: credits_cantshow = bypassdp
Bitfield Collision: credits_cantaward = displaywrt
Bitfield Collision: credits_modawards = canreputation
Bitfield Collision: credits_cantearn = allowvideos
Bitfield Collision: credits_cantshow = bypassdp
Bitfield Collision: credits_cantaward = displaywrt
Bitfield Collision: credits_modawards = canreputation

TheLastSuperman
07-10-2018, 04:16 PM
Disable the credits mod via manage products, then go into plugins and ensure ALL the checkboxes are not clicked, then save i.e. it's disabled in the product manager and the plugins are marked as non-active.

Then edit config.php and add this directly below <?php:
define('DISABLE_HOOKS', true);

Save the file and re-upload it, now all modifications are disabled and the upgrade will proceed.

*In a worst case scenario you could ultimately reference the credit mods xml file to see which tables if any it affects, export all those tables then simply re-import them after the upgrade completes.
**IF YOU HAVE THE SUITE i.e. CMS, Blogs, Forum and your CMS/Blog is disabled, re-enable them both before upgrading else errors can also occur, then simple disable again when upgrade is complete.

pallam
07-11-2018, 03:26 AM
Thank you I added define('DISABLE_HOOKS', true);

But now I am getting PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'language.phrasegroup_activitystream' in 'field list' in ..../includes/class_core.php on line 1386

TheLastSuperman
07-11-2018, 12:50 PM
Hmm check your htaccess file:
https://www.vbulletin.com/forum/forum/vbulletin-4/vbulletin-4-installations-and-upgrades/4379034-upgrade-from-4-1-1-to-4-2-5-error-site-now-down-hard

i.e. rename it to .htaccess1 temporarily, then try the upgrade script (rename back when done). This *might also be related to PHP version you can try switching/swapping that out if you have an easy option in cPanel such as "Select PHP Version" but just note the modules installed on the current (print screen button/paste into paint etc).

pallam
07-17-2018, 01:06 AM
Thank you forum is working now .. So now since define('DISABLE_HOOKS', true); inside config file how do i install new mods? can I remove this now :> [define('DISABLE_HOOKS', true);]

In Omnibus
07-17-2018, 01:11 AM
Thank you forum is working now .. So now since define('DISABLE_HOOKS', true); inside config file how do i install new mods? can I remove this now :> [define('DISABLE_HOOKS', true);]

You need to find out what was causing the error and resolve the issue before you attempt to add new modifications.