Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: graphicintention - elokuu 14, 2019, 01:13:20 AP

Otsikko: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: graphicintention - elokuu 14, 2019, 01:13:20 AP
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.
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: vbgamer45 - elokuu 14, 2019, 01:35:51 AP
What version of PHP are they running on godaddy?
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: graphicintention - elokuu 14, 2019, 01:38:59 AP
5.3
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: @rjen - elokuu 14, 2019, 01:41:39 AP
For 2.0.15 you must use a php version from 5.6 to 7.1
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: graphicintention - elokuu 14, 2019, 01:45:08 AP
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!
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: graphicintention - elokuu 14, 2019, 01:47:41 AP
Yes. That was it. Thank you so much. That was way easier than deleting half the file.

Enjoy your night!
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: Arantor - elokuu 14, 2019, 01:53:27 AP
Lainaus käyttäjältä: graphicintention - elokuu 14, 2019, 01:47:41 AP
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.
Otsikko: Re: Fatal Error: Function name must be a string in install.php on line 843
Kirjoitti: Sir Osis of Liver - elokuu 14, 2019, 12:29:23 IP
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.