Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

master cronjob error

Featured Replies

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?

Solved by Joey

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

Also gerade getestet, auf aktueller Froxlor Version und PHP-8.1.7 läuft der cron bei mir sauber durch, keine Fehler

  • 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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.