News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Trouble upgrading and/or PHP issues

Started by slnielsen, September 12, 2022, 10:58:14 AM

Previous topic - Next topic

slnielsen

Hi all.

I run a small Danish forum, https://frylundsmaskinforum.dk/fagteori/index.php/ where one.com has advised me that PHP7.4 is turning obsolete.
I was trying to upgrade by means of the large upgrade, to 2.1.2, but without success.
I unzipped the files locally and copied them to my forum folder on the server like described.
Just got the HPPT ERROR 500. Restored from my backup, everything is fine again.
I get the same message again, when I switch to PHP8.0 or 8.1 on one.com's control panel.
Tried following the advice in this thread but not working still :
https://www.simplemachines.org/community/index.php?topic=583544.0

I am running Danish language on the forum. Read somewhere that this might need to be disabled first, before upgrading the to 2.1.2, is that true?
Any other ideas of why this is giving me so much trouble? Thx for your support.  :)

Doug Heffernan

Quote from: slnielsen on September 12, 2022, 10:58:14 AMI unzipped the files locally and copied them to my forum folder on the server like described.
Just got the HPPT ERROR 500.

Did you run the upgrader as well? Have a look at this guide on how to do a proper large upgrade:

Upgrading SMF

Quote from: slnielsen on September 12, 2022, 10:58:14 AMTried following the advice in this thread but not working still :
https://www.simplemachines.org/community/index.php?topic=583544.0

The errors in that topic were caused by a third party mod.

Quote from: slnielsen on September 12, 2022, 10:58:14 AMI am running Danish language on the forum. Read somewhere that this might need to be disabled first, before upgrading the to 2.1.2, is that true?

You can try to set the default lnguage to english temporarily till your forum is upgraded.

slnielsen

Yes, tried running the upgrade.php with the same result. Both through the browser, and through the control panel. Same result.
I'll try to switch to English, and then I might try to disable the mods one by one if that is not enough.

Switching back to PHP 7.4 normally brings back the forum within 20-30 minutes. So the functionality of the forum should still be intact. :)

Doug Heffernan

Quote from: slnielsen on September 12, 2022, 11:17:40 AMI'll try to switch to English, and then I might try to disable the mods one by one if that is not enough.

Let us know how it will go.

a10

Hello, am on one.com as well (12+ happy years btw), and am using php 8.0 without any issues on 2 forums.
Tested 8.1, which produced a few entries in error log, but forum itself continued working 100%.
2.0.19, default theme & few mods.

Maybe some mod is the source of the php problem ?

Will upgrade to 2.1.x, but as 2.0.19 works so well here will wait for a while, maybe when 2.1.3 arrives.
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.

slnielsen

Great info. :) Switching to English language as default didn't help. :) I'll try removing the mods.

SpacePhoenix

Any errors in the error logs for either PHO or MySQL?

slnielsen

I have tried to remove all mods, and it seems to run ok now. Tomorrow I'll try to reinstall the mods one by one.
A huge thx for the support. Much appreciated.  :)
Have a great day!

Doug Heffernan

Quote from: slnielsen on September 12, 2022, 02:50:50 PMI have tried to remove all mods, and it seems to run ok now. Tomorrow I'll try to reinstall the mods one by one.

Glad to see that the issue has been identified. Good luck with the upgrade and let us know if you will require further assistance.

Quote from: slnielsen on September 12, 2022, 02:50:50 PMA huge thx for the support. Much appreciated.  :)
Have a great day!

You are most welcome :) Have a great day/evening as well.

slnielsen

Well, upgrade still isn't possible. I'll settle with 2.0.19 for now. :)
Now on to installing the mods again.

slnielsen

New kind of error.
I have no idea how to fix this.  ???

Bottom or side scroll prohibited

It started out with pictures couldn't be uploaded.
Any way to remove mods without access to the site?


Diego Andrés

Not really, you need to manually fix or revert the changes

SMF Tricks - Free & Premium Responsive Themes for SMF.


slnielsen

A bit more alive. :)

Any tips & tricks now?

A huge thank in advance, I'm in the deep in here.

Doug Heffernan

Quote from: slnielsen on September 26, 2022, 02:27:47 PMA bit more alive. :)

Any tips & tricks now?

A huge thank in advance, I'm in the deep in here.


I see some errors there are related to a thank you mod. Try to disable/uninstall it and see if the errors will go away.

slnielsen

Trouble is that when I enter the page I get the above picture. Other users can access. Using my wifes phone I could see all of the page. Logging in, same as above. Could my user be corrupt?

Doug Heffernan

Quote from: slnielsen on September 26, 2022, 02:49:26 PMTrouble is that when I enter the page I get the above picture. Other users can access. Using my wifes phone I could see all of the page. Logging in, same as above. Could my user be corrupt?

The error happens only to your account? Other users and guests do not see that error?


slnielsen

It seems other users have the same issue upon logging in. Without the page displays apparently ok.

a10

Did a visit, forum main page & boards loads fine.

Clicked on 'register'>
Failed opening required '/customers/8/5/2/frylundsmaskinforum.dk/httpd.www/fagteori/Sources/not-captcha.php' (include_path='.:/usr/share/php')

Clicking on topics >
Class "LikePosts" not found

ps, still 100% ok here with php 8.0, only source of errorlog entries is hostname lookups, had to disable that one (zero importance for the good running of the forum) = can relax regarding 7.4 going away, and await the right time (and a dose of inspiration) to move to 2.1.x
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.

Illori

sounds like you may need to load fresh files and delete all hooks at this point. or upgrade to SMF 2.1

Advertisement: