Advertisement:

Author Topic: php 7.1 going away soon  (Read 6280 times)

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 905
Re: php 7.1 going away soon
« Reply #60 on: October 30, 2019, 04:22:54 PM »
Testing with 7.3.11, "most of everything" seems to work fine.

Only real problem I could see so far, mailqueue is hit by deprecation, no php email leaves the house.
2.0.15, ssl, php 7.3.12, 10.3.17-MariaDB
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Online drewactual

  • Sr. Member
  • ****
  • Posts: 702
    • College Football Fan Site CFB51
Re: php 7.1 going away soon
« Reply #61 on: October 30, 2019, 10:26:12 PM »
i'm glad i run a dedicated server... and can hang on to 7.1 as long as i need to.. yes, i checked- the host 'warned against it' but said they wouldn't force me to upgrade anything i didn't want to... which allows me time to await the first official release of 2.1 (which i already have styled the way i want it).

at any rate, that isn't why i'm posting.

to shoot at the authors of SMF because of evolving foundation is about..... goofy.  it was and is a great platform.  that's all that really needs to be said about it.  if anyone was paying for it maybe there would be an opportunity to complain- but it's not.  and it's better on many levels than the 'better' ones that are (premium/paid for).

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 905
Re: php 7.1 going away soon
« Reply #62 on: October 31, 2019, 05:24:04 AM »
if anyone was paying for it
The Charter Members are paying, every year.
Sad there seems to be very few who find it worth some money supporting smf that way.
2.0.15, ssl, php 7.3.12, 10.3.17-MariaDB
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #63 on: October 31, 2019, 05:33:42 AM »
Yes but they’re not paying the developers. That money goes to infrastructure/servers etc. - no one at SM is paid to do the software.

It has been debated but every time turned into a debate about why the developers were special and that every other team also deserved recompense, in the name of equality.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 2,187
  • Gender: Male
    • Macedonian electronics forum
Re: php 7.1 going away soon
« Reply #64 on: November 01, 2019, 11:50:35 PM »
i'm glad i run a dedicated server... and can hang on to 7.1 as long as i need to.. yes, i checked- the host 'warned against it' but said they wouldn't force me to upgrade anything i didn't want to... which allows me time to await the first official release of 2.1 (which i already have styled the way i want it).

I'm not on a dedicated server and I can still choose any PHP version down to 5.4. Depends on who your host is, I guess. MultiPHP makes this even easier, you can choose PHP version per domain or per subdomain ;).
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 905
Re: php 7.1 going away soon
« Reply #65 on: November 04, 2019, 06:00:11 AM »
So the host updated all to 7.3 (good warning in advance, option to revert to 7.1 for some weeks extra, they got good routines).

 " All errors (3706) "  ...in 1 hour. Really looking forward to 2.0.16 :O)

On my production site, mail works fine on 7.3, so discarding my previous (test site) mail comment (forgot to reset the php mail settings there doh).
« Last Edit: November 04, 2019, 06:10:55 AM by a10 »
2.0.15, ssl, php 7.3.12, 10.3.17-MariaDB
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Offline TheEnemy42

  • Semi-Newbie
  • *
  • Posts: 24
Re: php 7.1 going away soon
« Reply #66 on: November 13, 2019, 08:12:54 AM »
I hate to bump this but I'd really like some suggestion on how to handle the removal of PHP 7.1 in about two weeks time.

It seems I can continue using 7.2 but from what I can understand it'll still cause some issues or a flood of error messages in the logs. My host already automatically upgraded to 7.3 and before I noticed and manually downgraded to 7.1 again I had some 7 million errorlog entries in SMF  :( On the positive side it doesn't seem like the users have complained about anything yet.
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.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #67 on: November 13, 2019, 08:27:18 AM »
Hope that 2.0.16 comes along soon.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #68 on: November 13, 2019, 08:35:56 AM »
I really want to upgrade to SMF 2.1.

But when doing that I want to do a complete overhaul of my entire website. I think at that time it would be best to clean the whole website, install SMF 2.1 and then migrate the data back. Will be some work :)

Offline Illori

  • Project Manager
  • SMF Legend
  • *
  • Posts: 51,617
Re: php 7.1 going away soon
« Reply #69 on: November 13, 2019, 08:38:01 AM »
that is why we have the upgrade script. you cant just migrate data into the upgraded database due to the changes. you need to follow our upgrade process to make sure it is successful.

Offline Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #70 on: November 13, 2019, 08:43:13 AM »
Hmmm... I would very much like to go to a clean vanilla forum. In the years that the current one has been running a lot of mods have been added. Some of them still work, but cannot even be controlled anymore :)

The only thing I would need from the old environment is:
-User names
-Passwords (still encrypted)
-E-mail addresses of users
-Messages
-Personal messages
-Subscriptions (so, who has subscribed to what topic)

But hey... I am not looking to hijack this topic ;)

Offline Kindred

  • The Mean One
  • Support Specialist
  • SMF Legend
  • *
  • Posts: 58,626
  • Gender: Male
    • Kindred-999 on GitHub
Re: php 7.1 going away soon
« Reply #71 on: November 13, 2019, 10:19:10 AM »
no. that is a really bad way to deal with things....


it's not a simple "copy tables a, b and c..." because there are other tables that are interrelated....   and asome mods may make changes to the columns within a needed table.

and it reallt, really won't work, because the password hash has changed -- so, without the upgrade script, it won't get converted

If there is no problem with the current forum, than don't worry about stuff left over in the database from older mods.
Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

Offline Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #72 on: November 13, 2019, 10:45:36 AM »
Ok, I understand... there is a lot more to it :)

And the forum is running, so that part is fine. But there are definitely quite a lot of errors logged, which I think are due to all sort of old mods. Perhaps I will be fine if I just install a vanilla version of the forum and then migrate using the script and only install those mods that I really need.

Offline m4z

  • Localizer
  • Full Member
  • *
  • Posts: 470
  • /mɛs/
Re: php 7.1 going away soon
« Reply #73 on: November 13, 2019, 02:22:18 PM »
Perhaps I will be fine if I just install a vanilla version of the forum and then migrate using the script and only install those mods that I really need.

First, for every mod, check that it is actually compatible with 2.1rc2!
"Faith is what you have in things that don't exist."
--Homer Simpson

Offline Plantje

  • Semi-Newbie
  • *
  • Posts: 88
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: php 7.1 going away soon
« Reply #74 on: November 13, 2019, 02:45:58 PM »
Noooo... I am waiting until the final version of 2.1 is out. Then I want to start with a clean version. And if a mod is not compatible with 2.1....so be it 😄
I will start on my test server anyway

Online drewactual

  • Sr. Member
  • ****
  • Posts: 702
    • College Football Fan Site CFB51
Re: php 7.1 going away soon
« Reply #75 on: November 13, 2019, 05:40:47 PM »
i'm too setting up to swap to 2.1 after the final release.... but no vanilla...

2.1 responsive is much like the responsive i built with my flagship 2.0.x... it is better in some places, not so much in others- but... it's ready out of the gate.  insofar as the alterations where presentation is concerned, i decided to use includes and no real heavy lifting with the default theme.

i will be porting over the data from the 2.0 forum and then duplicating it and moving it back.

it will be interesting to see how much php7.3 improves speed and weight of the page. 

the 'new' site, 2.1 if anyone is interested still has a lot of WP functions embedded on it, but it will be removed before going live.  it's @ https://www.cfb51-LINE.com/forum .... the 2.0.15 site is https://www.cfb51.com ... i show this to demonstrate it's not too hard to make them look similar...

I went with sprites on 2.0 instead of separate images for the various icons, and found that 2.1 already uses sprites which i will have to change- not a big deal. 

the fact that 7.1 didn't last that long is quite disappointing considering the amount of time i've put into 2.0 over the past three or so years, but it is just the nature of things.  it was great whilst it lasted!!! the future of both SMF and the interwebz including whats under the hood can't really do anything but get better, and that's because it's pretty good right now and we can always fall back if needed.... of course i say this tongue in cheek- for those that take me too serious.. 

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 71,982
    • StoryBB/StoryBB on GitHub
Re: php 7.1 going away soon
« Reply #76 on: November 13, 2019, 05:43:47 PM »
Quote
the fact that 7.1 didn't last that long is quite disappointing

Like every release for the last few years, it gets 2 years of mainstream fixes and a year of security fixes. 7.1 has been out since December 2016, I wouldn't suggest it didn't 'last long'. 7.4 is around the corner, for example.
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Online drewactual

  • Sr. Member
  • ****
  • Posts: 702
    • College Football Fan Site CFB51
Re: php 7.1 going away soon
« Reply #77 on: November 13, 2019, 05:51:59 PM »
i was making a funny, or attempting to... i built with 7.0 in mind and put a lot of hours in it... i 'selfishly' don't want to see it go away as if it's 'doing it' to spite me.  just a joke and i dont' really believe that.  i'm anxious to swap over, and as soon as my season is over, and hoping it coincides with the release of 2.1, i'm all aboard the next iteration!

NOT being funny or cute: the learning curve for 2.1 is nothing like the curve for 1.1 or 2.0 was... it's pretty intuitive after being familiar with the prior versions.

for this i thank y'all.

Offline a10

  • Charter Member
  • Sr. Member
  • *
  • Posts: 905
Re: php 7.1 going away soon
« Reply #78 on: November 27, 2019, 12:34:01 PM »
Frome host:
Quote
We urge you to fix any potential issues due to outdated code before December 1st, when PHP 7.1 will be removed permanently

Tests suggests forum will somehow continue working, but would be very, very nice to see the number "16" soon :O)

2.0.15, ssl, php 7.3.12, 10.3.17-MariaDB
Mods: Contact Page, Like Posts, Responsive Curve, Search Focus Dropdown, Add Join Date to Post.

Offline TheEnemy42

  • Semi-Newbie
  • *
  • Posts: 24
Re: php 7.1 going away soon
« Reply #79 on: November 28, 2019, 03:06:09 AM »
Agreed. But with 3 days left that would be somewhat careless not to act upon in other ways; though the trouble is that I don't know what can be done.

Does anyone know of anything that can be done to mitigate the issues and errors that comes with running with SMF 2.0.15 on PHP 7.2?
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.