July 7, 20223 yr Ich habe die neueste Version (2022.07.05) von Froxlor von github heute Nacht installiert, php 8.1.7, mariadb, noch keine Domains hinzugefügt, kein Lets Encrypt Alles war ok, aber jetzt funktionierte cron nicht mehr (es gab vorher keine Fehler) # php /var/www/html/froxlor/scripts/froxlor_master_cronjob.php --force --debug PHP Fatal error: Uncaught Error: Call to undefined function Froxlor\exec() in /var/www/html/froxlor/lib/Froxlor/FileDir.php:54 Stack trace: #0 /var/www/html/froxlor/lib/Froxlor/Cron/MasterCron.php(298): Froxlor\FileDir::safe_exec() #1 /var/www/html/froxlor/lib/Froxlor/Cron/MasterCron.php(41): Froxlor\Cron\MasterCron::init() #2 /var/www/html/froxlor/scripts/froxlor_master_cronjob.php(26): Froxlor\Cron\MasterCron::run() #3 {main} thrown in /var/www/html/froxlor/lib/Froxlor/FileDir.php on line 54 zusätzlich erhalte ich alle 5 Minuten eine E-Mail mit folgendem Inhalt: PHP Fatal error: Uncaught Error: Call to undefined function Froxlor\Cron\system() in /var/www/html/froxlor/lib/Froxlor/Cron/MasterCron.php:250 Stack trace: #0 /var/www/html/froxlor/lib/Froxlor/Cron/MasterCron.php(41): Froxlor\Cron\MasterCron::init() #1 /var/www/html/froxlor/scripts/froxlor_master_cronjob.php(26): Froxlor\Cron\MasterCron::run() #2 {main} thrown in /var/www/html/froxlor/lib/Froxlor/Cron/MasterCron.php on line 250 Ist das ein PHP 8.1 Problem? Ich weiß nicht, wo der Fehler liegen könnte, hat jemand eine Idee?
July 7, 20223 yr exec() und system() sind eigentlich PHP eigene funktionen, ich kann dir so auf die schnelle nicht sagen wieso er diese im Namespace von froxlor sucht
July 7, 20223 yr Also gerade getestet, auf aktueller Froxlor Version und PHP-8.1.7 läuft der cron bei mir sauber durch, keine Fehler
July 8, 20223 yr Author Solution Vielen Dank für schnelle Antwort. Das Problem ist jetzt gelöst. Es stellte sich heraus, dass das Problem bei den Einstellungen in php.ini lag, Ich habe dort die Einstellungen für disable_functions geändert, d.h. etwas zu restriktiv gemacht. Nun funktioniert alles so wie es soll.
Create an account or sign in to comment