Closed jefft closed 3 months ago
The problem is due to my adding to conf.php
:
define('2FA_SENDER_ID','Jethro');
Jethro sees this and migrates the setting to the database: https://github.com/tbar0970/jethro-pmm/blob/d52deebdb73a51c0c5fcbc98271e652b40bfce68/include/config_manager.class.php#L19
resulting in the output:
SUCCESS: The setting 2FA_SENDER_ID has now been migrated to the database and should be removed from conf.php
However, apparently we're not allowed to emit content yet, as headers haven't all been set. Perhaps Config_Manager::init();
needs to defer its call a bit later in https://github.com/tbar0970/jethro-pmm/blob/master/include/init.php
Anyhow, I think 2FA_*
variables are like SMS_*
variables, in that they should be settable in conf.php
and not overrideable in the System Configuration. See linked PR.
After upgrading from 2.35.0-RC3 to 2.35.1 I'm seeing warnings when running
roster_reminder.php
:The script still runs, it's just ugly and unexpected.