Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: graphicintention on August 14, 2019, 01:13:20 AM

Title: Fatal Error: Function name must be a string in install.php on line 843
Post by: graphicintention on August 14, 2019, 01:13:20 AM
I am trying to install the new 2.0.15 smf forums on godaddy.

I do not have another forum loaded, but I did have one at one time and it has since been removed.

When I go through the install I get this error on step 2:
Fatal error: Function name must be a string in D:\Hosting\10169629\html\forum\install.php on line 843

if I remove the offending error, I continue getting errors of the same "function name must be a string in...on line (it changes as I remove the prior line)

I don't want to have to delete half the install.php if there is an easier way to do it.
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: vbgamer45 on August 14, 2019, 01:35:51 AM
What version of PHP are they running on godaddy?
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: graphicintention on August 14, 2019, 01:38:59 AM
5.3
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: @rjen on August 14, 2019, 01:41:39 AM
For 2.0.15 you must use a php version from 5.6 to 7.1
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: graphicintention on August 14, 2019, 01:45:08 AM
I just updated the version to 5.6 as it is the highest godaddy will allow. I will check back in here when it's updated to let you know if that worked.

Thanks for the speedy replies. I am impressed!
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: graphicintention on August 14, 2019, 01:47:41 AM
Yes. That was it. Thank you so much. That was way easier than deleting half the file.

Enjoy your night!
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: Arantor on August 14, 2019, 01:53:27 AM
Yes. That was it. Thank you so much. That was way easier than deleting half the file.

Enjoy your night!

Deleting half the file wouldn’t have helped, it wouldn’t have gotten installed properly.
Title: Re: Fatal Error: Function name must be a string in install.php on line 843
Post by: Sir Osis of Liver on August 14, 2019, 12:29:23 PM
GoDaddy. :P

You can ask them to move you to a different server, some of them run php 7.x.  5.6 is officially eol, you can go up to 7.1 in 2.0.15.  Better idea would be to move to a decent host.