Our FamilyForum
FamilyForum Documentation & Help => FamilyForum Features & Guidelines => Code & Stuff => Topic started by: Skhilled 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.
-
Good job, don't see any issues so far.
-
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.
-
I hope you can get it sorted! :o
-
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.
-
Whoa! laughing7
Glad you sorted that out, Steve. :thumbup:
-
Yeah, I'm not trying to rewrite SMF. LOL
-
The load times started being really long yesterday, it takes several minutes for a page to finish loading now.
-
Maybe there was a server issue but I had no problems here or on any of the other sites.
-
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...
-
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
-
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.
-
7.3 works very well with 2.1! :)
-
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.
-
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
-
Ah! I didn't know this. Thanks for the info.
I hope we can uninstall the mod safely so the upgrade will work properly.
-
Ah! I didn't know this. Thanks for the info.
I hope we can uninstall the mod safely so the upgrade will work properly.
I'm not sure about that, but I've seen Arantor mention that upgrade problem if using this php mod a few times over at SMF.