View Full Version : After PHP upgrade VB 3.8.4 crashing
scott_gersforum
05-20-2014, 09:57 AM
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
CAG CheechDogg
05-20-2014, 10:36 AM
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 ...
Paul M
05-20-2014, 11:59 AM
3.8.4 is not compatible with php 5.4, you need 3.8.8 (Currently Beta 4).
blind-eddie
05-20-2014, 01:23 PM
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.
scott_gersforum
05-20-2014, 01:43 PM
The problem I have is I cannot upgrade - the upgrade script fails.
This is what I get when I try and run the urgrade:
Strict Standards: Non-static method vB_Shutdown::init() should not be called statically, assuming $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:2555) in /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?
CAG CheechDogg
05-20-2014, 02:53 PM
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
vbresults
05-20-2014, 02:58 PM
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.
scott_gersforum
05-20-2014, 04:22 PM
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 :)
CAG CheechDogg
05-20-2014, 04:59 PM
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 !
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.