Welcome, Guest. Please login or register.

ShoutBox!

 

Ken

2020 Feb 15 12:06:11
NASCAR is back in action, starting today!  :banana:
 

Ken

2020 Feb 11 10:50:51
OK, me gotta go. It's my shower day... and, yes, Old Farts do take showers sometimes!  laughing7
 

Skhilled

2020 Feb 11 10:13:56
LOL
 

Ken

2020 Feb 11 10:08:55

 :banana: :banana: :banana:
 

Ken

2020 Feb 09 15:19:06
Quote
yes! And me got Sunday off from work again. 
 :banana:

 :thumbup: :thumbup: :thumbup:
 

Skhilled

2020 Feb 09 07:39:09
yes! And me got Sunday off from work again.  :banana:
 

Ken

2020 Feb 07 13:13:58
 

Skhilled

2020 Feb 05 07:54:21
LOL, didn't realize I was still logged in.
 

Ken

2020 Jan 31 19:32:37

Recent Topics

Author Topic: PHP 7.3 Upgrade  (Read 752 times)

0 Members and 1 Guest are viewing this topic.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
PHP 7.3 Upgrade
« on: August 17, 2019, 10:38:32 AM »
I've changed the account from PHP 7.1 to 7.3. Now it loads MUCH faster!!!  :banana:

Let me know if there are any problems. You can always change the php version in cPanel, if needed if a mod, etc. doesn't work properly.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 8769
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #1 on: August 17, 2019, 11:49:01 AM »
Good job, don't see any issues so far.
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #2 on: August 17, 2019, 12:02:27 PM »
But you will...look in your error log. It is filling up with errors.

Ok, found out something. I've been noticing errors on my site related to the arcade for awhile now but thought it just needed updating. But there's more to it than that...

The errors state that the "create_function ()" is depreciated. After a search on Google it seems that it should be changed to "function ()". Now for the bad news...LOL There's tons of "create_function ()" in many files in many places through out SMF 2.0.15! They would all need to be changed but there's no telling what would happened if you did that. Not to mention the same for the mods and themes...

Maybe I'll play around with it on a test site and see what happens. ;) I'll change it back until I find a fix, if I can.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 8769
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #3 on: August 17, 2019, 04:51:21 PM »
I hope you can get it sorted!  :o
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #4 on: August 17, 2019, 07:00:25 PM »
Ok, found out something. I've been noticing errors on my site related to the arcade for awhile now but thought it just needed updating. But there's more to it than that...

The errors state that the "create_function ()" is depreciated. After a search on Google it seems that it should be changed to "function ()". Now for the bad news...LOL There's tons of "create_function ()" in many files in many places through out SMF 2.0.15! They would all need to be changed but there's no telling what would happened if you did that. Not to mention the same for the mods and themes...

So, everyone has been put back to 7.1 for now.

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 8769
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #5 on: August 18, 2019, 05:52:31 AM »
Whoa!  laughing7

Glad you sorted that out, Steve.  :thumbup:
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #6 on: August 18, 2019, 08:03:22 AM »
Yeah, I'm not trying to rewrite SMF. LOL

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 8769
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #7 on: August 19, 2019, 07:03:21 AM »
The load times started being really long yesterday, it takes several minutes for a page to finish loading now.
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #8 on: August 19, 2019, 08:08:01 AM »
Maybe there was a server issue but I had no problems here or on any of the other sites.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #9 on: August 19, 2019, 09:39:57 AM »
Bigguy just reminded me about a mod that works for 7.2 to make smf 2.0.x work with it at smfhacks.com.

https://www.smfhacks.com/index.php/topic,9707.0.html

I see Chen's site listed in the credits and it reminded me he did something like that and I've forgotten about it. Looks like they teamed up to make it. But Chen's site is down atm...

Offline Ken

  • Vietnam Era Veteran
  • Administrator
  • *
  • Posts: 8769
  • Gender: Male
  • View Gallery
Re: PHP 7.3 Upgrade
« Reply #10 on: August 20, 2019, 03:50:43 AM »
Maybe there was a server issue but I had no problems here or on any of the other sites.

Doc-Skillz was slow for me, but not as slow as the load speeds here on OFF, now, this morning the speeds are back to normal on Doc-Skillz and take only a few seconds for a full page load.
Just now I ran a stopwatch on an OFF page and it came in at 02:48
" If everything seems under control, you’re not going fast enough." - Mario Andretti
Yesterday When I was Young.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #11 on: August 20, 2019, 07:50:11 AM »
I do know that backups are done during the night so maybe that's why? I'm usually not up around that time except maybe on a Friday or if I take a day off from work.

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #12 on: August 24, 2019, 06:33:06 PM »
7.3 works very well with 2.1! :)

Offline Skhilled (OP)

  • Administrator
  • *
  • Posts: 5979
  • Gender: Male
  • Once you stop trying to learn, you stop living!
  • View Gallery
    • Buildz Hosting
Re: PHP 7.3 Upgrade
« Reply #13 on: September 28, 2019, 05:15:57 AM »
How are things running for you here?

It is possible that you may need this mod to make PHP 7+ more compatible with the forum:

 SMF 2.0.X - PHP 7.2+ Compatibility - https://www.smfhacks.com/index.php?action=downloads;sa=view;id=215

I've installed it on Docskillz and Crip Zone. See if they run faster for you.

Offline Mick

Re: PHP 7.3 Upgrade
« Reply #14 on: October 23, 2019, 06:49:29 PM »
Personally I'd wait for 2.0.16 to come out, which shouldn't be too long now, that will suppress the errors your seeing from running SMF in php 7.2 - 7.3  But obviously it won't suppress errors coming from mods that are still not compatible. 

If I'm understanding this correctly, after installing that php compatibility mod it will prevent you from updating to 2.0.16 
Tinyportal.net Running SMF 2.0.14 / Tinyportal 1.3R
Camera Craniums Running SMF 2.0.13 / Tinyportal 1.2, bridged with Coppermine 1.5.36, SMF Arcade 2.5 RC2
Guitarist Guild Running SMF 2.0.14 / Tinyportal 1.2R
The Garden Machinery Forum Running SMF 2.0.14 / Tinyportal 1.3R