Page 1 of 2
PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 10:39
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
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 10:55
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
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 10:59
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
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 11:04
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
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 11:08
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.
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 11:37
by ItzSimmi
Wurde korrekt ausgeführt, habe kompletten server restartet
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 11:38
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!
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 11:52
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
Re: PHP Fehler und Keyhelp nicht erreichbar [GELÖST]
Posted: Wed 26. Mar 2025, 12:05
by Alexander
Was muss ich da lesen

:
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...":
PHP Parse error: syntax error, unexpected identifier "ionCube" in /home/keyhelp/www/keyhelp/bin/keyhelp.php on line 6
Lösung:
1) Zusätzliche, von dir eingefügte, PHP-Paketquellen aus der sources list entfernen
2) PHP mit o.g. Befehl neu installieren
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:10
by ItzSimmi
das default php ist bei mir 8.4
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:17
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 …
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:21
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
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:26
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

Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:28
by ItzSimmi
Ich bin schon länger bei Linux dabei. nur keyhelp wurde bei mir unter 7.x aufgesetzt anscheinedn
Re: PHP Fehler und Keyhelp nicht erreichbar
Posted: Wed 26. Mar 2025, 12:45
by ItzSimmi
So @Alexander, bin schonmal so weit, das der keyhelp befehl keinen fehler mehr macht