Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: OlgaH on January 23, 2018, 04:33:55 PM

Title: Problem with upgrading
Post by: OlgaH on January 23, 2018, 04:33:55 PM
I was upgrading the forum and something went wrong though everything indicated test successful

Now I got this error and I need to fix it ASAP. Please help! Any advice!

Fatal error: Function name must be a string in /home/content/52/10779352/html/forum/Sources/Load.php on line 142

Here is the forum https://tcjustice.org/forum/index.php

Title: Re: Problem with upgrading
Post by: Sir Osis of Liver on January 23, 2018, 04:41:54 PM
Which php version is your server running?  Which SMF versions did you upgrade from/to?
Title: Re: Problem with upgrading
Post by: OlgaH on January 23, 2018, 04:45:40 PM
I was gradually upgrading from 07 and when I was upgrading from 12 to 13 that happened.

How I can look up the php version my server running? I'm with godaddy.
Title: Re: Problem with upgrading
Post by: Shambles on January 23, 2018, 04:47:58 PM
This error has been covered many many times.

Here's just a few from using the search button:

https://www.simplemachines.org/community/index.php?topic=555125.msg3935323

https://www.simplemachines.org/community/index.php?topic=553870.msg3925736

https://www.simplemachines.org/community/index.php?topic=557858.msg3953225

https://www.simplemachines.org/community/index.php?topic=554399.msg3929771
Title: Re: Problem with upgrading
Post by: Shambles on January 23, 2018, 04:49:30 PM
How I can look up the php version my server running? I'm with godaddy.

Admin > Main > Support & Credits
Title: Re: Problem with upgrading
Post by: Sir Osis of Liver on January 23, 2018, 04:55:33 PM
^ Forum is down.  Assuming you were upgrading using package manager, look in /Packages/backups/, there should be a backup from before .13 upgrade.  Download, unzip, upload to forum root.
Title: Re: Problem with upgrading
Post by: Dav999 on January 23, 2018, 06:16:56 PM
^ Forum is down.  Assuming you were upgrading using package manager, look in /Packages/backups/, there should be a backup from before .13 upgrade.  Download, unzip, upload to forum root.

Unless it's truly impossible to switch to a higher version of PHP with Godaddy, I would definitely switch PHP to a higher version instead of taking the effort to roll back SMF to an earlier version. Even if it'll take a bit longer in case you can't do it via the control panel and Godaddy support has to do it.
Title: Re: Problem with upgrading
Post by: OlgaH on January 23, 2018, 07:37:55 PM
Guys, thank you very much!

Yes, I have backups in Packages. But I have "2018-01-23_before_smf_patch_2_4.tar.gz"
Title: Re: Problem with upgrading
Post by: OlgaH on January 23, 2018, 08:07:06 PM
I have smf_patch_2.0.11.zip in backup. But the folder contains only two xml files. I have no idea what to do with them. I would not mind to roll back to 0.11 for now if it is possible.

I'm waiting on the phone with godaddy to see if I can switch to a higher version of PHP
Title: Re: Problem with upgrading
Post by: OlgaH on January 23, 2018, 08:22:06 PM
I have PHP 5.3. It will take a day to upgrade.

Can I do anything with patches backups?
Title: Re: Problem with upgrading
Post by: OlgaH on January 23, 2018, 08:52:46 PM
Guys! Again Thank you for all your help and links! For now I upgraded to PHP 5.4 and the forum is working! and I will be upgrading the PHP to 5.6 and then the forum as well!  :) 
Title: Re: Problem with upgrading
Post by: Steve on January 23, 2018, 08:58:38 PM
Marking solved then. If you have any other questions regarding this topic, by all means, mark this unsolved and let us know. :)