Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: SeaChaser on December 02, 2017, 11:41:47 AM

Title: Upgrade from 13 to 14 and then to 15 Error
Post by: SeaChaser on December 02, 2017, 11:41:47 AM
Here's what I get:

Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/content/98/7307698/html/index.php on line 114

Website is ArimaOwners.com

Any help is appreciated.
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: Arantor on December 02, 2017, 11:46:59 AM
Please attach your index.php file to a post so we can see what broke.
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: SeaChaser on December 02, 2017, 12:00:16 PM
Index file attached. Thanks!
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: shawnb61 on December 02, 2017, 12:08:58 PM
What version of php are you running?  This feels like an old version of php issue.
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: SeaChaser on December 02, 2017, 12:15:38 PM
I was on PHP 5.3-something but upgraded to 5.4 and had sporadic issues with that error. Sporadic means that if I reloaded the page a couple of times, I would get it to load. I upgraded to 5.6 and now that's all I get.
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: shawnb61 on December 02, 2017, 12:24:18 PM
Could you confirm the php version? 

Please copy/paste what you see under Admin | Main | Support and Credits | Support Information.  It will look something like:
Version Information:
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: bundled (2.1.0 compatible)
Database Server: Percona
MySQL version: 5.5.51-38.2
PHP: 7.1.3
Server version: Apache 
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: SeaChaser on December 02, 2017, 12:28:51 PM
I can't get a home screen at all now so I can't get to that page.

My GoDaddy account shows 5.6 installed.

Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: Arantor on December 02, 2017, 12:58:38 PM
And yet the error suggests it's actually running on 5.2... weird.
Title: Re: Upgrade from 13 to 14 and then to 15 Error
Post by: SeaChaser on December 02, 2017, 01:01:29 PM
Well, seems to be working now. I'll let you know if something changes. Maybe the PHP 6 did take the 45 minutes that GoDaddy said it would even though they showed it as installed a few minutes after I set it up.

Version Information:
Forum version: SMF 2.0.15 (more detailed)
Current SMF version: SMF 2.0.15
GD version: bundled (2.1.0 compatible)
Database Server: MySQL
MySQL version: 5.0.96-log
Memcached: ???
PHP: 5.6.27
Server version: Apache

Thanks!