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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2017, 10:25 PM
JmTech JmTech is offline
 
Join Date: Jul 2015
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 03-05-2017, 01:29 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Confirm that that is the php version, 5.5 and up shouldn't give that error
Reply With Quote
  #3  
Old 03-05-2017, 05:22 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JmTech View Post
my php version is 5.6
No it isnt, otherwise you would not get that error.
Reply With Quote
  #4  
Old 03-06-2017, 08:45 AM
JmTech JmTech is offline
 
Join Date: Jul 2015
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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
Reply With Quote
  #5  
Old 03-06-2017, 10:55 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

Sorry, but as your admin panel states, you are not running on 5.6.
Reply With Quote
  #6  
Old 03-06-2017, 12:40 PM
kerry oki kerry oki is offline
 
Join Date: Nov 2009
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 03-06-2017, 12:48 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well the page where you download vBulletin describes all the required PHP/MySQL versions for each vBulletin version.
Reply With Quote
  #8  
Old 03-06-2017, 03:49 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
Reply With Quote
  #9  
Old 03-06-2017, 10:27 PM
JmTech JmTech is offline
 
Join Date: Jul 2015
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
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..
Attached Images
File Type: jpg php.jpg (9.2 KB, 0 views)
Reply With Quote
  #10  
Old 03-08-2017, 09:09 PM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JmTech View Post
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.
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:38 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.04140 seconds
  • Memory Usage 2,268KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete