PHP 8.x bricht 3.10-Site

Lv.1
badge id 1 1 Jahr Mitgliedschaft badge id 2 2 Jahre Mitgliedschaft
Beigetreten
Okt. 20, 2023
Nachrichten
3
Reaktionswert
1
Credits
$1
Ich bin mit 3.10.12 und sehe die folgende Mitteilung im Admindashboard:
Wir haben festgestellt, dass Ihr Server PHP 7.4.33 verwendet, was veraltet ist und von seinen Entwicklern mehrfach keine offiziellen Sicherheitsupdates mehr erhält. Der Joomla! Projekt empfiehlt die Aktualisierung Ihrer Website auf PHP 8.0 oder später, die mindestens bis 26. November 2023 anfallende Sicherheitsupdates erhalten wird. Bitte fragen Sie Ihren Host, ob er Ihre Site auf PHP 8.0 oder eine spätere Version als Standardversion bereitstellt. Wenn Ihr Host bereits PHP 8.0 bereitgestellt ist, aktivieren Sie bitte PHP 8.0 in den Root- und Administratorverzeichnissen Ihrer Website – typischerweise können Sie dies selbst über ein Tool im Hosting-Kontrollpanel tun, aber es ist am besten, wenn Sie Ihren Host danach fragen, falls Sie sich unsicher sind.
Wenn ich PHP von 7.4 zu 8.0, 8.1, 8.2 usw an meinem gemeinsamen Host ändere, fällt der gesamte Site komplett aus und zeigt ein unformatiertes HTML-Fehlercode. Der Browser reicht den HTML gar nicht mehr durch. Habt ihr Ideen? Alle meine Plugins sind aktuell. Muss ich überprüfen, ob sie alle auf 8 spezifisch unterstützen?
 
upgrade your joomla to joomla5

Technical Requirements to start using Joomla 5!​

PHP minimum 8.1.0 version is needed; however, it is recommended to upgrade it to version 8.2.

Databases to upgrade:

  • MySQL 8.0.13 version can be used, though Joomla 5 will give best results with MySQL 8.1.
  • Similarly, MariaDB 11.1.0 is suggested, however, version 10.4.0 will also do.
  • PostgreSQL version 16.0 is needed, and the minimum requirement is version 12.0.
  • Web server upgrade is also required:
  • Apache's minimum requirement is 2.4 and recommended version is 2.4.
  • Nginx 1.25 is recommended and 1.21 can be used as well.
  • Microsoft IIS 10 is required.
 
yeah.. i dont know any "simple" way to solve that. Your problem has to do with the template, which is built in part with php and doesnt support the latest 8.x versions. You had to correct all the php errors in the template coding to make it work with that 8.x php version. joomla 4/5 doesnt support anything earlier than 8.0 (i think). Actually i have the same problem, and i still didnt have it solved. i'm not a programmer and theres a lot of code to debug and correct. you have this guys info about it.. https://timoanttila.com/blog/php-upgrade
 
I'm running 3.10.12 and see the following messaging when in the admin dashboard:



When I change the PHP from 7.4 to 8.0, 8.1, 8.2, etc at my shared host, the entire site breaks and displays raw-html error code. The browser doesn't even render the html. Any ideas? All my plugins are up to date. Do I need to check if they all support 8 specifically?
You are doing better than I am if you are running J!3.10.12 on php7.4. I'm running on php7.2 and when I try and update to 7.4 I get an error message without any details. I don't think that J!3 supports php8 if I remember correctly so you will have to upgrade to J!4. Good luck and I hope you get it figured it. Please let us know if you.
 
You are doing better than I am if you are running J!3.10.12 on php7.4. I'm running on php7.2 and when I try and update to 7.4 I get an error message without any details. I don't think that J!3 supports php8 if I remember correctly so you will have to upgrade to J!4. Good luck and I hope you get it figured it. Please let us know if you.
I finally got my J!3.10 to upgrade to php7.4 and even to php8. But it was not easy and something broke Joomla when I finally upgraded to J!4.
In order to do this, you have to make sure that you are using the latest version / last version released for J!3. Some developers made sure that their software was compatible with J!4 so it'll work on J!3 & J!4. Others made a completely new version that only supports J!4 & J!5.
Alright, so once you've confirmed that all of the software is ready to go, next check your htaccess.txt or .htaccess file. I had something in mine that talked about 7.2 and so what I did was delete the whole thing. Once I did that I was able to update to php7.4.
During your software check, make sure all of the extensions supports php8., if you are in doubt, disable or uninstall it if you can. Once everything is disabled or uninstalled you should be able to upgrade to php8.
If after following the above, if you are able to upgrade to php8, start slowly re-enabling your extensions. If you enable an extension that breaks your site you will have to downgrade back to 7.x re-disable the extension and upgrade back to php8. Then of course find out why that extension broke your site.

I hope this helps anyone who is looking to ugprade
 
I migrated to php8.3, but i didn't have any problems
 
Zurück
Oben