News:

Join the Facebook Fan Page.

Main Menu

php 7.1 going away soon

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

Previous topic - Next topic

MobileCS

Wonderful ... that means even more delays.

Arantor

As opposed to worrying about 7.2 now and 7.4 in a future release, of course. And of course the hard work of volunteers is appreciated.

MobileCS

Of course! I do appreciate everything they have done.

It's just frustrating at times being held back from upgrading PHP due one piece of software. Now I'm stuck on PHP 7.1 - and it's no longer supported.

a10

Have used 7.3 for some weeks, not seen any problems, and nothing reported by members. Am probably lucky because of using few modifications, which were all compatible.

So here it seems to only be a matter of not having to disable error logging :O)

But, in the wake of this php situation, a lingering feeling of unsecurity have arisen. Times are changing. For SMF, a matter of organisation, finance, goals, philosophy? What kind of contribution could be helpful from us simple users and ignorant peasants (ref. Monty Python))? Renumeration of a dedicated coding team (crowdfunding, actively seeking donations \ more charter members)?

Anyway, am hoping this great software (and great people) will have a great future.

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.

Aleksi "Lex" Kilpinen

Every bit of help is of course appreciated, but personally I think testing, bug hunting, bug fixing, active participation, translating - those would be ways to help with something concrete. If only we had more people interested in that side of things. The development is mostly public, anyone can follow and take part on Github. Other ways to help the project can be found behind the link in my signature :)
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Illori

Quote from: Aleksi "Lex" Kilpinen on December 07, 2019, 01:49:41 AM
The development is mostly public, anyone can follow and take part on Github.

SMF 2.0 is not public at this time on github.

Aleksi "Lex" Kilpinen

Well, yes wasn't thinking 2.0 specifically. Was speaking of the project as a whole.
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

efk

I might be from help for testing. In few days I'm finishing my course and final work for QA software tester, so I hope that we can help in both directions. I need to learn a lot about testing and need tutors for sure, for manual testing and for Java/Selenium/TestNG. Where could I find better people to learn from than here, even if Java is maybe not your thing, but you all have wide knowledge. I made post here month ago https://www.simplemachines.org/community/index.php?topic=570364.0 and Suki replied and was in touch with me before I had to go to 100% focus on lectures because it was fast and very hard course to finish where I literally had hard homework 2 times each week and all my time dedicated for that. About manual testing, we mostly went through only theoretically, did some test cases for some sites in text document and in Jira, but still have to learn. I guess testing on which I can work can be Exploratory, Smoke, Sanity, Regression (without testing code), Cross-browser, Equivalence partitioning, Boundary Value Analysis, Load and Usability testing. 
Based on cases, I can test some functionalities through Java/Selenium/TestNG, but since my first touch with Java was about 2 months ago, I'm still very newbie and have to go again with basics to understand things that I didn't since course was fast.
About all what we was working on course:
SQL & PostgreSQL (not sure what exactly is SQL Server Manager Studio and Toad for SQL server, but its in course description, getting tables), Java & Eclipse (Selenium, Selenium Webdriver, TestNG, POM), Apache POI for Word/Excel , PostMan, HTML and CSS. Also catching CSS Selectors or not sure how is called for TestNG tests, like this https://www.w3schools.com/jsref/dom_obj_all.asp
Have to learn after course Jenkins since its used with Jira, so will see where all that will go.
So, I can work on simple tasks on beginning and with time on some harder, but will definitely need tasks since I don't know on what details is your focus. I am community manager on SMF forums for years, like to investigate mods and so far I learned a lot about what things are good for forum and behavior of SMF is most of time known to me, not hard to notice if something is wrong, but we have different point of view on some things related with functionalities.

Pogo Stick

Hi, I'm new to the this forum so I'd like to say thank-you to the SMF team for bringing us this great software.

I'm running SMF 2.0.15 (with no mods) on PHP 7.1, but in mid-January my ISP is removing PHP 7.1 support.

I've read this thread and understand that my options are either to upgrade to SMF 2.1 RC2 or keep going with SMF 2.0.15 but to turn error logging off.

I'm going to continue with SMF 2.0.15 and switch to PHP 7.2 but, before I do that, I'd just like confirm that the only issue is with error logging. Also, I know that there is no firm date for the release of SMF 2.0.16, but is there a rough idea such as within the next 3 months or so?

Thanks in advance.

Illori

we don't provide dates, or rough estimates. it will be released when it is ready to be released and not a moment sooner.

due to the holidays it has slowed things down a bit, we are still working toward a release as soon as possible.

Pogo Stick

Quote from: Illori on December 09, 2019, 11:54:00 AM
we don't provide dates, or rough estimates. it will be released when it is ready to be released and not a moment sooner.

due to the holidays it has slowed things down a bit, we are still working toward a release as soon as possible.

Fair enough. Then I'd just like confirm that the only issue with PHP 7.2 and SMF 2.0.15 is with error logging and that turning this off is all I need to do. (I have no mods).

vbgamer45

Yes it is, php error logging. You can edit SMF directly to disable in two spots to ignore those errors.
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

Sir Osis of Liver

Didn't you post a mod that fixes 2.0.15 in php 7.2?  Can't find it. >:(
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Kindred

there appear to be other issues caused by that 7.2 compat mod...
Сл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."

Pogo Stick

Quote from: vbgamer45 on December 09, 2019, 12:13:01 PM
Yes it is, php error logging. You can edit SMF directly to disable in two spots to ignore those errors.

Do you have more details on what to edit?

MobileCS

You need to modify the index.php file and the Sources/Errors.php file. However, that solution did not work for me.

The instructions are here : https://www.simplemachines.org/community/index.php?topic=506431.20

I had to edit my Apache httpd.conf file and set "LogLevel" to  "warn" and disable the forum error logs (Admin » Configuration » Security and Moderation » General).

I'm running PHP 7.3 without issues now.

Pogo Stick

With my ISP I can't access the httpd.conf file so this is not an option for me.

I suppose my question now is this - if I set it to use PHP 7.2 and disable error logging are there any gotchas I need to be aware of? For example are errors actually being written to the DB and need to be cleaned out periodically?

MobileCS

No "gotchas " that I am aware of. If you disable forum error logging, no errors are written to the database.

However, your Apache error logs will still get hammered with depreciated warnings - unless you follow my instructions above - or disable Apache error logging completely.

Pogo Stick

Quote from: MobileCS on December 09, 2019, 04:14:44 PM
No "gotchas " that I am aware of. If you disable forum error logging, no errors are written to the database.

However, your Apache error logs will still get hammered with depreciated warnings - unless you follow my instructions above - or disable Apache error logging completely.

Right, I see. I'm not using a hosted server. My service provider doesn't provide access to Apache or its configuration so I guess it's not an issue.

MobileCS

I think you'll be just fine then.

I looked up Apache "LogLevel" and it actually defaults to "warn" (and that's what you want). I guess I manually adjusted my option a long time ago and forgot about it.

Advertisement: