PHP Fehler und Keyhelp nicht erreichbar  [GELÖST]

Haben Sie einen Bug entdeckt? Teilen Sie es uns mit.
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Ich bin sicher, dass die Ursache des Problems bei KeyHelp liegt
Ja


Server-Betriebssystem + Version
Ubuntu 20.04.06


Eingesetzte Server-Virtualisierung-Technologie
KVM


KeyHelp-Version + Build-Nummer
Keine Infos


Problembeschreibung / Fehlermeldungen
[26-Mar-2025 10:36:01 Europe/Berlin] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /home/keyhelp/www/keyhelp/init/init.php:34
Stack trace:
#0 /home/keyhelp/www/keyhelp/init/init_cli.php(17): unknown()
#1 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(26): unknown()
#2 {main}
thrown in /home/keyhelp/www/keyhelp/init/init.php on line 34


Zusätzliche Informationen
Vermutlich hat ein anderes System mir den Server zerschossen
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

wittlerweile
[26-Mar-2025 10:54:01 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Collator' not found in /home/keyhelp/www/keyhelp/functions/functions.languages.php:89
Stack trace:
#0 /home/keyhelp/www/keyhelp/functions/functions.main.php(1378): getLanguages()
#1 /home/keyhelp/www/keyhelp/cronjob/master/01_maintenance.php(74): contactStatsServer()
#2 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(174): unknown()
#3 {main}
thrown in /home/keyhelp/www/keyhelp/functions/functions.languages.php on line 89
[26-Mar-2025 10:55:02 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Collator' not found in /home/keyhelp/www/keyhelp/functions/functions.languages.php:89
Stack trace:
#0 /home/keyhelp/www/keyhelp/functions/functions.main.php(1378): getLanguages()
#1 /home/keyhelp/www/keyhelp/cronjob/master/01_maintenance.php(74): contactStatsServer()
#2 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(174): unknown()
#3 {main}
thrown in /home/keyhelp/www/keyhelp/functions/functions.languages.php on line 89
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by Alexander »

Wurde ggf. an den PHP-Versionen des Systems herumgebastetl?

Installiere mal alle PHP-Pakete nochmal neu:

Code: Select all

apt install php php-curl php-gd imagemagick php-imagick php-mail-mime php-net-sieve php-pspell php-net-socket php-auth-sasl php-intl php-net-smtp php-zip php-bcmath php-gmp php-soap php-mbstring php7.4-mysql php7.4-readline php-fpm
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Hab es gemacht.

Aktuellert fehler:

Code: Select all

[26-Mar-2025 11:03:03 Europe/Berlin] PHP Fatal error:  Uncaught Error: Class 'Collator' not found in /home/keyhelp/www/keyhelp/functions/functions.languages.php:89
Stack trace:
#0 /home/keyhelp/www/keyhelp/functions/functions.main.php(1378): getLanguages()
#1 /home/keyhelp/www/keyhelp/cronjob/master/01_maintenance.php(74): contactStatsServer()
#2 /home/keyhelp/www/keyhelp/cronjob/mastercronjob.php(174): unknown()
#3 {main}
  thrown in /home/keyhelp/www/keyhelp/functions/functions.languages.php on line 89
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by Alexander »

"Collator ist im Paket "php-intl" dabei, und das war Teil des Befehls, den ich dir eben gegeben habe.

Wurde der Befehl, denn überhaupt korrekt ausgeführt?

Achso, und PHP-FPM natürlich nochmal neu starten.
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Wurde korrekt ausgeführt, habe kompletten server restartet
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Code: Select all

root@hosting ~ # apt install php php-curl php-gd imagemagick php-imagick php-mail-mime php-net-sieve php-pspell php-net-socket php-auth-sasl php-intl php-net-smtp php-zip php-bcmath php-gmp php-soap php-mbstring php7.4-mysql php7.4-readline php-fpm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
php-auth-sasl is already the newest version (1.0.6-3).
php-mail-mime is already the newest version (1.10.6-1).
php-net-sieve is already the newest version (1.4.1-1).
php-net-smtp is already the newest version (1.9.0-1).
php-net-socket is already the newest version (1.0.14-2).
imagemagick is already the newest version (8:6.9.10.23+dfsg-2.1ubuntu11.10).
php is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-bcmath is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-curl is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-fpm is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-gd is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-gmp is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-imagick is already the newest version (3.7.0-9+ubuntu20.04.1+deb.sury.org+1).
php-intl is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-mbstring is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-pspell is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-soap is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php-zip is already the newest version (2:8.3+95+ubuntu20.04.1+deb.sury.org+2).
php7.4-mysql is already the newest version (1:7.4.33-18+ubuntu20.04.1+deb.sury.org+1).
php7.4-readline is already the newest version (1:7.4.33-18+ubuntu20.04.1+deb.sury.org+1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.



[Mod-Edit]
CODE-Tags eingefügt.
Konsolenausgaben, Inhalte von Konfigurationsdateien, Auszüge aus Logfiles o.ä. bitte zukünftig immer mit CODE-Tags versehen!
Last edited by Jolinar on Wed 26. Mar 2025, 11:42, edited 1 time in total.
Reason: Mod-Edit
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Haben auch folgendes:

Code: Select all

root@hosting /var/log/keyhelp # keyhelp
PHP Parse error:  syntax error, unexpected identifier "ionCube" in /home/keyhelp/www/keyhelp/bin/keyhelp.php on line 6
root@hosting /var/log/keyhelp # keyhelp-toolbox 
PHP Parse error:  syntax error, unexpected identifier "ionCube" in /home/keyhelp/www/keyhelp/bin/keyhelp_toolbox.php on line 6
User avatar
Alexander
Keyweb AG
Posts: 4448
Joined: Wed 20. Jan 2016, 02:23

Re: PHP Fehler und Keyhelp nicht erreichbar  [GELÖST]

Post by Alexander »

Was muss ich da lesen :lol: :

Code: Select all

deb.sury.org
Das ist also Teil der Ursache.

Ich zitiere einmal das erste was man sieht, wenn man sich im KeyHelp einloggt - Hier im speziellen der 1. Punkt: "Ändern Sie niemals...":
Bildschirmfoto vom 2025-03-26 12-05-07.png
PHP Parse error: syntax error, unexpected identifier "ionCube" in /home/keyhelp/www/keyhelp/bin/keyhelp.php on line 6

Code: Select all

phpenmod ioncube

Lösung:

1) Zusätzliche, von dir eingefügte, PHP-Paketquellen aus der sources list entfernen
2) PHP mit o.g. Befehl neu installieren
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

das default php ist bei mir 8.4
User avatar
24unix
Posts: 2037
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by 24unix »

ItzSimmi wrote: Wed 26. Mar 2025, 12:10 das default php ist bei mir 8.4
Das Default-PHP ist bei KeyHelp immer das, das mit der Distribution geliefert wird.

Take it or leave it …
Cheers Micha
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Aber ioncube hat damit probleme

Code: Select all

PHP Fatal error:  Only files produced by either the PHP 8.2 or 8.3 ionCube Encoders can run on PHP 8.3.
 The file /home/keyhelp/www/keyhelp/bin/keyhelp.php has been encoded by the ionCube Encoder for PHP 7.1. in Unknown on line 0
User avatar
24unix
Posts: 2037
Joined: Sun 21. Jun 2020, 17:16
Location: Kollmar
Contact:

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by 24unix »

Schmeiß Sury als Quelle raus.

Die default PHP-Version von Debian/Ubuntu installieren, alle anderen kommen von KeyHelp.

Ja, ist ungwohnt, wenn man von anderen Systemen kommt, aber man gewöhnt sich dran :-)
Cheers Micha
--
A Windows user reinstalls software every few weeks.
A Linux user reinstalls software every few weeks.
The difference is with Linux the version numbers change.
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

Ich bin schon länger bei Linux dabei. nur keyhelp wurde bei mir unter 7.x aufgesetzt anscheinedn
ItzSimmi
Posts: 21
Joined: Thu 8. Sep 2022, 15:08

Re: PHP Fehler und Keyhelp nicht erreichbar

Post by ItzSimmi »

So @Alexander, bin schonmal so weit, das der keyhelp befehl keinen fehler mehr macht
Post Reply