Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-20-2014, 09:57 AM
scott_gersforum scott_gersforum is offline
 
Join Date: Jan 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default After PHP upgrade VB 3.8.4 crashing

I run a VB based forum running VB version 3.8.4

Everything was okay till my host updated the PHP version to 5.4.28 and I am now experiencing multiple errors such as:

Cannot update VB to the latest patch version as the upgrade script fails.

Cannot add any products as the import script fails.

Edit or preview a post returns a blank edit box with no post data in it.

I have heard about problems with VB and the new versions of PHP but as I am on shared hosting the option of rolling back is not an option for me.

Any other 3.x admins managed to fix these problems and if so how did you do it?

The forum is running but these errors rally stop me doing anything else with it.

Scott
Reply With Quote
  #2  
Old 05-20-2014, 10:36 AM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have access to your cPanel, click on PHP Configuration from your settings options and go to

The “.php” file extension will be processed by ...you will see a drop down with more than one option, select the php version you had before and you should be ok ...

You need to select PHP 5.2 so that you don't have anymore issues ...
Reply With Quote
2 благодарности(ей) от:
blind-eddie, tbworld
  #3  
Old 05-20-2014, 11:59 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

3.8.4 is not compatible with php 5.4, you need 3.8.8 (Currently Beta 4).
Reply With Quote
  #4  
Old 05-20-2014, 01:23 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am running 3.8.4 on php 5.4
I had to hide all the errors since no fix is available but, it works fine for me.
Reply With Quote
  #5  
Old 05-20-2014, 01:43 PM
scott_gersforum scott_gersforum is offline
 
Join Date: Jan 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem I have is I cannot upgrade - the upgrade script fails.
This is what I get when I try and run the urgrade:

PHP Code:
Strict StandardsNon-static method vB_Shutdown::init() should not be called staticallyassuming $this from incompatible context in /home2/scott/public_html/gersforum/includes/class_core.php on line 2555

Strict Standards
Non-static method vB_Bitfield_Builder::build_datastore() should not be called statically in /home2/scott/public_html/gersforum/install/init.php on line 189

Strict Standards
Non-static method vB_Bitfield_Builder::init() should not be called statically in /home2/scott/public_html/gersforum/includes/class_bitfield_builder.php on line 227

Strict Standards
Non-static method vB_Bitfield_Builder::build() should not be called statically in /home2/scott/public_html/gersforum/includes/class_bitfield_builder.php on line 233

Strict Standards
Non-static method vB_Bitfield_Builder::init() should not be called statically in /home2/scott/public_html/gersforum/includes/class_bitfield_builder.php on line 89

Strict Standards
Non-static method vB_Bitfield_Builder::init() should not be called statically in /home2/scott/public_html/gersforum/install/init.php on line 191

Strict Standards
Non-static method vBulletinHook::init() should not be called statically in /home2/scott/public_html/gersforum/install/init.php on line 212

Strict Standards
Non-static method vBulletinHook::fetch_hook() should not be called statically in /home2/scott/public_html/gersforum/includes/functions.php on line 3093

Strict Standards
Non-static method vBulletinHook::init() should not be called statically in /home2/scott/public_html/gersforum/includes/class_hook.php on line 118

Warning
Cannot modify header information headers already sent by (output started at /home2/scott/public_html/gersforum/includes/class_core.php:2555in /home2/scott/public_html/gersforum/includes/functions.php on line 3103 
I also cannot update or import any mods - these all started after the PHP upgrade and I am on shared hosting (Hostgator) so rolling back PHP is not an option for me.


The main pain is if a user posts a comment and previews it, the preview is shown but the actual text box is empty, this is a common problem with the new version of PHP.

Eddie - how are you hiding all the errors?
Reply With Quote
  #6  
Old 05-20-2014, 02:53 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scott_gersforum View Post
The problem I have is I cannot upgrade - the upgrade script fails

I also cannot update or import any mods - these all started after the PHP upgrade and I am on shared hosting (Hostgator) so rolling back PHP is not an option for me.


The main pain is if a user posts a comment and previews it, the preview is shown but the actual text box is empty, this is a common problem with the new version of PHP.

Eddie - how are you hiding all the errors?
Scott..I am on shared hosting on Hostgator as well and I was able to switch to 5.3 for my PHP ..

Unless you are on a re-sellers account then I can see why..but if you have your own cPanel the option "IS" there my Man
Reply With Quote
  #7  
Old 05-20-2014, 02:58 PM
vbresults vbresults is offline
 
Join Date: Apr 2009
Posts: 687
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
3.8.4 is not compatible with php 5.4, you need 3.8.8 (Currently Beta 4).
Paul is one of the developers for vB and you should take his advice on this matter and upgrade to 3.8.8. This is the simplest and fastest way to go about it, no butchering core files like other methods.

Since you can't do the upgrade yourself due to this error you're talking about, I've sent you a PM.
Reply With Quote
  #8  
Old 05-20-2014, 04:22 PM
scott_gersforum scott_gersforum is offline
 
Join Date: Jan 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CAG CheechDogg View Post
If you have access to your cPanel, click on PHP Configuration from your settings options and go to

The ?.php? file extension will be processed by ...you will see a drop down with more than one option, select the php version you had before and you should be ok ...

You need to select PHP 5.2 so that you don't have anymore issues ...
You are THE man dude!
Thank you
Reply With Quote
Благодарность от:
CAG CheechDogg
  #9  
Old 05-20-2014, 04:59 PM
CAG CheechDogg's Avatar
CAG CheechDogg CAG CheechDogg is offline
 
Join Date: Feb 2012
Location: Riverside, California USA
Posts: 1,080
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scott_gersforum View Post
You are THE man dude!
Thank you
Hey Scott no problem buddy ...I was having the same issue and I remembered that they sent me an email in advance before the upgrade, I made sure I switched to PHP 5.3 and I am good now ..Glad I was able to help you out my Man !
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 08:36 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.04235 seconds
  • Memory Usage 2,276KB
  • Queries Executed 13 (?)
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_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (3)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete