vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Upgrade error 4.2.3 to 4.2.4 (https://vborg.vbsupport.ru/showthread.php?t=324592)

JmTech 03-04-2017 10:25 PM

Upgrade error 4.2.3 to 4.2.4
 
hello anybody here successfullly upgrade to new version of vb 4.2.4

im getting this error while performing upgrade

Parse error: syntax error, unexpected '=', expecting ')' in public_html/forum/includes/functions_misc.php on line 759

and in editor line 759 is

if (empty($postvars_encoded = json_encode($_POST)))

my php version is 5.6
my sql version is 5.6.32

Brandon Sheley 03-05-2017 01:29 PM

Confirm that that is the php version, 5.5 and up shouldn't give that error

Paul M 03-05-2017 05:22 PM

Quote:

Originally Posted by JmTech (Post 2583244)
my php version is 5.6

No it isnt, otherwise you would not get that error.

JmTech 03-06-2017 08:45 AM

Quote:

Originally Posted by Paul M (Post 2583276)
No it isnt, otherwise you would not get that error.

well i verified it with my hosting provider im running 5.6 already


also i check it in my php config..but i wonder why in my admin panel its shows 5.4

Paul M 03-06-2017 10:55 AM

Sorry, but as your admin panel states, you are not running on 5.6.

kerry oki 03-06-2017 12:40 PM

I have the same problem and am running php version 5.4.45 so I assume I'll have to contact my host and ask them to upgrade the php version to 5.5 or above. Worst case scenario I'll go to my backup and not upgrade vbulletin anymore.

It sucks that vbulletin didn't have instructions in this upgrade to check your php version first before trying to install it. I sent them a support ticket yesterday but they didn't answer. I'm not happy with this.

But thank you here for providing this information.

Dave 03-06-2017 12:48 PM

Well the page where you download vBulletin describes all the required PHP/MySQL versions for each vBulletin version.

Paul M 03-06-2017 03:49 PM

If you are upgrading your software then you are responsible for making sure its compatible with your server, its no good blaming other people.
JFYI, you should not really be running php 5.4 these days anyway, its old and unsupported (even php 5.5 is EOL now).

JmTech 03-06-2017 10:27 PM

1 Attachment(s)
Quote:

Originally Posted by Paul M (Post 2583303)
Sorry, but as your admin panel states, you are not running on 5.6.


hi,

to make sure what version im running i made php info file and upload it to my server

and im running 5.6.29

so the issue is why admin panel show different php version..my hosting company told me that they are already upgraded my php version and meet all requirements to run vb software..

Mark.B 03-08-2017 09:09 PM

Quote:

Originally Posted by JmTech (Post 2583339)
hi,

to make sure what version im running i made php info file and upload it to my server

and im running 5.6.29

so the issue is why admin panel show different php version..my hosting company told me that they are already upgraded my php version and meet all requirements to run vb software..

If your admin panel is reporting php 5.4, then that is what the forum is running on. It's as simple as that.

You need to speak to your hosts about this.

Also make sure you don't have an .htaccess file that is specifying an older version of php.


All times are GMT. The time now is 01:24 AM.

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.01110 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete