News:

Wondering if this will always be free?  See why free is better.

Main Menu

php 7.1 going away soon

Started by a10, September 08, 2019, 08:58:41 AM

Previous topic - Next topic

Mikael Jokela

Hello,

does anyone have an idea when 2.1 is out - with PHP 7.3 support, I guess?

I will be forced to update to PHP 7.3 soon and I'm afraid this will break my forum. 2.0.16 doesn't seem to solve this if it supports only PHP 7.2, not 7.3.

Best wishes,
Mikael


m4z

2.0.16 will be released before 2.1 (but both don't have a fixed release date yet, they're ready when they're ready), see the 2.1rc2 thread.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

SpacePhoenix

Why isn't the bug tracker accessible to everyone, even if it's only read only? If it were open you'd potentially have a lot more people who could work on any bugs and who could test bug fixes

m4z

The 2.1 bugtracker is public. For 2.0.x, I believe there are copyright issues.
"Faith is what you have in things that don't exist."
--Homer Simpson

Es gibt hier im Forum ein deutsches Support-Board!

Arantor

Quote from: SpacePhoenix on November 29, 2019, 07:39:49 AM
Why isn't the bug tracker accessible to everyone, even if it's only read only? If it were open you'd potentially have a lot more people who could work on any bugs and who could test bug fixes

No, you really wouldn't. The fact that 2.1 has been open for years, linked to in the header for years and still only has a few people working on it suggests that.

The main reason that the bug tracker for 2.0 is private is mostly because people are actually really bad at reporting actual SMF bugs when 99% of the time they are mod related.

a10

After some good testing on a forum copy, live forum now 7.3, error logging off, out of sight, out of mind.
Goodnight, wake me up when .16 is there.
2.0.19, php 8.0.23, MariaDB 10.5.15. Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

TheEnemy42

Quote from: a10 on November 29, 2019, 02:16:31 PM
After some good testing on a forum copy, live forum now 7.3, error logging off, out of sight, out of mind.

How can I turn off the error logging, please? And can I control that only some errors are ignored?
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe producing bigger and better idiots.
So far, the universe is winning.

lurkalot

Quote from: TheEnemy42 on November 30, 2019, 06:05:33 AM
Quote from: a10 on November 29, 2019, 02:16:31 PM
After some good testing on a forum copy, live forum now 7.3, error logging off, out of sight, out of mind.

How can I turn off the error logging, please? And can I control that only some errors are ignored?

Admin > Configuration > Security and Moderation > General

Untick the "Enable error logging" box and save.

TheEnemy42

Thank you! I guess I'll have to go with this solution until I find a better way.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe producing bigger and better idiots.
So far, the universe is winning.

MobileCS

Besides deprecated warnings, will PHP 7.3 work on SMF 2.0.15?

PHP 7.1 is officially no longer supported and will not receive any security updates. I really hope that 2.0.16 is close to being released.

Arantor

It should, nothing of the migration changes should come up in core SMF; as ever mileage will vary with mods.

vbgamer45

Quote from: MobileCS on December 01, 2019, 01:53:56 PM
Besides deprecated warnings, will PHP 7.3 work on SMF 2.0.15?

PHP 7.1 is officially no longer supported and will not receive any security updates. I really hope that 2.0.16 is close to being released.
It does. I run PHP 7.3t on one of my servers for forum hosting.
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

MobileCS

Ok, that solved the issue for forum errors ... but my error log was slammed with deprecated warnings.

Adding "~E_DEPRECATED" to my php.ini file did not solve the issue.

Did I do something wrong?

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED

vbgamer45

There are if I remember at least two spots in the SMF code that has to be set as well. Since SMF sets the error logging as well.
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

MobileCS

Oh, the PHP code for error logging overrides the php.ini file settings? That explains why my fix didn't work.

I'm assuming load.php and error.php are the files that need attention?

SpacePhoenix

Just installed the newest version of WAMP. Clean install of 2.0.15, once installed it doesn't load any CSS file. PHP 7.4 loaded

QuoteDeprecated: Array and string offset access syntax with curly braces is deprecated
errors in places

Apart from that it seems to work ok

Is there a beta version available of 2.0.16?

Arantor

There is no public version of 2.0.16. It is also quite a substantial update as it doesn't just cover that but also some GDPR functionality.

Kindred

Also, I don't know if 2.0.16 even supports 7 4
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

SpacePhoenix

Quote from: Kindred on December 03, 2019, 10:36:16 PM
Also, I don't know if 2.0.16 even supports 7 4

Found this via Google:

https://kinsta.com/blog/php-7-4/

Don't know if that covers all the changes, does it looks like any of the 2.0.16 code would fall foul of the changes?

Arantor

Hilariously I think 7.4 will bring warnings in the log. Needs testing for sure.

Advertisement: