vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   After PHP upgrade VB 3.8.4 crashing (https://vborg.vbsupport.ru/showthread.php?t=311519)

scott_gersforum 05-20-2014 09:57 AM

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

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:

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?

CAG CheechDogg 05-20-2014 02:53 PM

Quote:

Originally Posted by scott_gersforum (Post 2498607)
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

Quote:

Originally Posted by Paul M (Post 2498584)
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

Quote:

Originally Posted by CAG CheechDogg (Post 2498576)
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

Quote:

Originally Posted by scott_gersforum (Post 2498650)
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 !


All times are GMT. The time now is 03:59 PM.

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.01021 seconds
  • Memory Usage 1,758KB
  • 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
  • (1)bbcode_php_printable
  • (4)bbcode_quote_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