Hi again people! Happy Thanksgiving, if that’s something you celebrate!
So - I’ve got the autoresponder plugin: https://github.com/bramley/phplist-plugin-autoresponder/archive/master.zip
I THINK it works if I manually process autoresponders in the interface (although I can’t completely confirm that)…
But I’m trying to get it to go as a cron job… and that’s giving me something I don’t quite get - a date warning with a list of other stuff that I’m not entirely sure is even due to the date warning - I’ll show you:
date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead
#0 [internal function]: CommonPlugin_Exception::errorHandler(2, 'date(): It is n...', '/home/thirdopti...', 373, Array)
#1 /home/thirdoption/www/www/lists/admin/connect.php(373): date('Y')
#2 /home/thirdoption/www/www/lists/admin/plugins/Autoresponder/Controller/Process.php(36): ClineSignature()
#3 /home/thirdoption/www/www/lists/admin/plugins/CommonPlugin/Controller.php(88): Autoresponder_Controller_Process->actionDefault()
#4 /home/thirdoption/www/www/lists/admin/plugins/CommonPlugin/Main.php(41): CommonPlugin_Controller->run(NULL)
#5 /home/thirdoption/www/www/lists/admin/plugins/Autoresponder/process.php(26): CommonPlugin_Main::run(Object(Autoresponder_ControllerFactory))
#6 /home/thirdoption/www/www/lists/admin/index.php(643): include('/home/thirdopti...')
#7 {main}
Does anybody recognize this? here’s the command that’s getting sent in the cron job:
/usr/local/bin/php.cli /home/thirdoption/www/www/lists/admin/index.php -m Autoresponder -p process -c /home/thirdoption/www/www/lists/config/config.php
and then of course there’s a process queue command:
/usr/local/bin/php.cli /home/thirdoption/www/www/lists/admin/index.php -p processqueue -c /home/thirdoption/www/www/lists/config/config.php
that part is confirmed working. it’s that first command that gives me the whole bunch of date related feedback. I did find this:
https://chrisjean.com/php-5-3-and-system-timezone-settings/
and so I put a timezone command in my local php.ini as suggested (I don’t have access to the global one - it’s a shared server situation)… but that doesn’t seem to have done anything…
so…anybody recognize this?
thanks!