Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: Novice on April 16, 2018, 01:41:28 AM

Title: repair_settings.php
Post by: Novice on April 16, 2018, 01:41:28 AM
I recently had to move our site to a new server. All went well until I tried to use repair_settings.php to correct the directory paths and settings. The new server was running php 7.1 and this caused a server 500 error trying to load that page. Once I reverted the version back tp php 5.6 all was good.
Title: Re: repair_settings.php
Post by: GigaWatt on April 16, 2018, 05:43:02 AM
So... what's the problem?

Officially, SMF 2.0.x doesn't support PHP 7.
Title: Re: repair_settings.php
Post by: SpacePhoenix on April 16, 2018, 06:39:36 AM
Quote from: GigaWatt on April 16, 2018, 05:43:02 AM
So... what's the problem?

Officially, SMF 2.0.x doesn't support PHP 7.

It will need to soon, as 5.6 will be End Of Life at the end of the year. 7.0 goes End Of Life just before that so realistically it needs to offically support 7.1 by the end of the year
Title: Re: repair_settings.php
Post by: GigaWatt on April 16, 2018, 09:15:35 AM
Well, the developers made it clear. There won't be any features updates for 2.0.x, only bug/security updates, so... we'll either have to stick to 5.6 (somehow) or transfer to 2.1 beta (I think it supports PHP 7.0 and above).
Title: Re: repair_settings.php
Post by: Illori on April 16, 2018, 09:26:31 AM
i am pretty sure SMF 2.0 now supports php 7.0, we dont support beyond that. we dont recommend anyone use SMF 2.1 in production at this time.
Title: Re: repair_settings.php
Post by: GigaWatt on April 16, 2018, 06:38:28 PM
So, does SMF 2.1 officially support PHP 7.0 and above, including 7.2?
Title: Re: repair_settings.php
Post by: Bigguy on April 16, 2018, 08:40:16 PM
I'm running 2.1 on php 7.0 and it runs great.
Title: Re: repair_settings.php
Post by: vbgamer45 on April 16, 2018, 08:41:09 PM
7.0/7.1 for sure.  7.2 not sure they would need to comment
2.0.15 works fine on php 7.0 and 7.1 I have mine running on 7.1
Title: Re: repair_settings.php
Post by: GigaWatt on April 16, 2018, 09:29:01 PM
Wow... I just checked in my hosts control panel... I'm actually on 7.1 :D. I thought I was on 5.6 :D.

Running SMF 2.0.15, no problems so far ;).
Title: Re: repair_settings.php
Post by: Novice on April 19, 2018, 08:07:03 PM
Quote from: vbgamer45 on April 16, 2018, 08:41:09 PM
7.0/7.1 for sure.  7.2 not sure they would need to comment
2.0.15 works fine on php 7.0 and 7.1 I have mine running on 7.1

2.0.15 actually worked running 7.1 once I manually repaired the paths. I did have some difficulty with a few mods failing but, as you already know, I'm not the coder that the rest of you are.