Advertisement:

Author Topic: Fatal Error: Function name must be a string in install.php on line 843  (Read 258 times)

Offline graphicintention

  • Newbie
  • *
  • Posts: 4
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.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 21,399
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #1 on: August 14, 2019, 01:35:51 AM »
What version of PHP are they running on godaddy?
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Offline graphicintention

  • Newbie
  • *
  • Posts: 4
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #2 on: August 14, 2019, 01:38:59 AM »
5.3

Online @rjen

  • Full Member
  • ***
  • Posts: 465
  • Gender: Male
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #3 on: August 14, 2019, 01:41:39 AM »
For 2.0.15 you must use a php version from 5.6 to 7.1
Running SMF 2.0 with Tinyportal 1.6.3 at www.fjr-club.nl
Testing SMF 2.1 RC2 with Tinyportal 1.6.4 at http://test2.fjr-club.nl/

Offline graphicintention

  • Newbie
  • *
  • Posts: 4
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #4 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!

Offline graphicintention

  • Newbie
  • *
  • Posts: 4
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #5 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!

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,230
    • StoryBB/StoryBB on GitHub
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #6 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.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 9,154
Re: Fatal Error: Function name must be a string in install.php on line 843
« Reply #7 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.