Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 04 Mar 2017, 23:25
JmTech JmTech is offline
 
Join Date: Jul 2015
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 05 Mar 2017, 14:29
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Real name: Brandon
Confirm that that is the php version, 5.5 and up shouldn't give that error
__________________

Email me for website help: brandon[at]sheley[dot]org
Reply With Quote
  #3  
Old 05 Mar 2017, 18:22
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by JmTech View Post
my php version is 5.6
No it isnt, otherwise you would not get that error.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #4  
Old 06 Mar 2017, 09:45
JmTech JmTech is offline
 
Join Date: Jul 2015
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 06 Mar 2017, 11:55
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Sorry, but as your admin panel states, you are not running on 5.6.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #6  
Old 06 Mar 2017, 13:40
kerry oki kerry oki is offline
 
Join Date: Nov 2009
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 06 Mar 2017, 13:48
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Well the page where you download vBulletin describes all the required PHP/MySQL versions for each vBulletin version.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #8  
Old 06 Mar 2017, 16:49
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
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).
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #9  
Old 06 Mar 2017, 23:27
JmTech JmTech is offline
 
Join Date: Jul 2015
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, 19 views)
Reply With Quote
  #10  
Old 08 Mar 2017, 22:09
Mark.B Mark.B is offline
 
Join Date: Feb 2004
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.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #11  
Old 01 Apr 2017, 05:35
lacidious lacidious is offline
 
Join Date: Jan 2015
Same issue here. I am running barkinghard.com/forums/version.php Current PHP version: 5.6.29

Had hostgator upgrade it specifically for this upgrade.

Still get: Parse error: syntax error, unexpected '=', expecting ')' in /home3/tbpp/public_html/forums/includes/functions_misc.php on line 759
Reply With Quote
  #12  
Old 01 Apr 2017, 08:46
Mark.B Mark.B is offline
 
Join Date: Feb 2004
Originally Posted by lacidious View Post
Same issue here. I am running barkinghard.com/forums/version.php Current PHP version: 5.6.29

Had hostgator upgrade it specifically for this upgrade.

Still get: Parse error: syntax error, unexpected '=', expecting ')' in /home3/tbpp/public_html/forums/includes/functions_misc.php on line 759
Again, this means the php version isn't what you think it is.

Can you still log into the admincp? What php version is reported there? As that is the only information that really matters.
__________________
MARK.B (Member of the vB Support Team)
Reply With Quote
  #13  
Old 01 Apr 2017, 16:09
lacidious lacidious is offline
 
Join Date: Jan 2015
Server Type Linux Users to Moderate 15 [View]
Web Server Apache (cgi-fcgi) Threads to Moderate 0 [View]
PHP 5.6.29 Posts to Moderate 0 [View]
PHP Max Post Size 64.00 MB Attachments to Moderate 0 [View]
PHP Maximum Upload Size 64.00 MB Events to Moderate 0 [View]
PHP Memory Limit 256.00 MB Number of Queued E-Mails 0
MySQL Version 5.5.51-38.2
MySQL Packet Size 16.00 MB


Thanks for your help!

--------------- Added 01 Apr 2017 at 16:45 ---------------

Ugh I was hoping I could turn my forum back on and it would work, but apparently this error took the entire forum down. Please advise, biggest month of the year for my forum.

Last edited by lacidious; 01 Apr 2017 at 16:42.
Reply With Quote
  #14  
Old 01 Apr 2017, 19:03
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
The only advice we can give is speak to your host.

That error is specific to older versions of PHP, and will not occur on 5.6.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #15  
Old 11 May 2017, 08:40
loua_oz loua_oz is offline
 
Join Date: Dec 2010
Ugrade errors 4.2.3P2 -> 4.2.5

Just logged in to here after failed upgrade and saw this post.

In March, tried to upgrade 4.2.3 P2 to 4.2.4 and did not work.
Today, tried to upgrade 4.2.3 P2 to 4.2.5 and same.

Hosting shows PHP 5.6.30.

VB Admin shows PHP 5.4.45.

For MySQL both (hosting and VB Admin panel) show 5.6.33
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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


New To Site? Need Help?

All times are GMT. The time now is 20:58.

Layout Options | Width: Wide Color: