Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2018, 11:32 PM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Hello I am getting error while upgrading

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

Quote:
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

Quote:
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.
Reply With Quote
  #2  
Old 07-10-2018, 01:04 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 07-10-2018, 01:08 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 [DATE]1531224675[/DATE] at [TIME]1531224675[/TIME] ---------------

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
Reply With Quote
  #4  
Old 07-10-2018, 04:16 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Code:
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.
Reply With Quote
  #5  
Old 07-11-2018, 03:26 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you I added define('DISABLE_HOOKS', true);

But now I am getting
Quote:
PHP Warning: mysqli_query(): (42S22/1054): Unknown column 'language.phrasegroup_activitystream' in 'field list' in ..../includes/class_core.php on line 1386
Reply With Quote
  #6  
Old 07-11-2018, 12:50 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm check your htaccess file:
https://www.vbulletin.com/forum/foru...-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).
Reply With Quote
  #7  
Old 07-17-2018, 01:06 AM
pallam pallam is offline
 
Join Date: Feb 2017
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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);]
Reply With Quote
  #8  
Old 07-17-2018, 01:11 AM
In Omnibus's Avatar
In Omnibus In Omnibus is offline
 
Join Date: Apr 2010
Location: Inside A Blade Server
Posts: 840
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pallam View Post
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.
Reply With Quote
Reply


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 01:07 PM.


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.09356 seconds
  • Memory Usage 2,231KB
  • 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
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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