Import or add sendMailCron plugin
set to master to get https://gitlab.com/SondagesPro/mailing/sendMailCron/-/commit/c1e3a61afebfe227e4bedabc9370c6f107238794
[shnoulle@poledra www]$ php master/application/commands/console.php plugin index --target=sendMailCron
sendMailCronPHP Error[2]: session_name(): Cannot change session name when headers already sent
in file /mnt/data/shnoulle/nginx/www/master/framework/web/CHttpSession.php at line 206
#0 /mnt/data/shnoulle/nginx/www/master/framework/web/CHttpSession.php(206): session_name()
#1 /mnt/data/shnoulle/nginx/www/master/framework/base/CComponent.php(152): ConsoleHttpSession->setSessionName()
#2 /mnt/data/shnoulle/nginx/www/master/framework/YiiBase.php(227): ConsoleHttpSession->__set()
#3 /mnt/data/shnoulle/nginx/www/master/framework/base/CModule.php(393): createComponent()
#4 /mnt/data/shnoulle/nginx/www/master/application/core/ConsoleApplication.php(22): ConsoleApplication->getComponent()
#5 /mnt/data/shnoulle/nginx/www/master/framework/web/auth/CWebUser.php(200): ConsoleApplication->getSession()
#6 /mnt/data/shnoulle/nginx/www/master/framework/base/CModule.php(394): LSWebUser->init()
#7 /mnt/data/shnoulle/nginx/www/master/framework/base/CModule.php(103): ConsoleApplication->getComponent()
#8 /mnt/data/shnoulle/nginx/www/master/application/core/LSYii_Validators.php(51): ConsoleApplication->__get()
#9 /mnt/data/shnoulle/nginx/www/master/application/models/Survey.php(203): LSYii_Validators->__construct()
#10 /mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(1862): Survey->init()
#11 /mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(1895): Survey->populateRecord()
#12 /mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(1359): Survey->populateRecords()
#13 /mnt/data/shnoulle/nginx/www/master/application/models/LSActiveRecord.php(74): Survey->query()
#14 /mnt/data/shnoulle/nginx/www/master/framework/db/ar/CActiveRecord.php(1478): Survey->query()
#15 /mnt/data/shnoulle/nginx/www/master/plugins/sendMailCron/sendMailCron.php(313): Survey->findAll()
#16 /mnt/data/shnoulle/nginx/www/master/plugins/sendMailCron/sendMailCron.php(284): sendMailCron->sendTokenMessages()
#17 unknown(0): sendMailCron->sendMailByCli()
#18 /mnt/data/shnoulle/nginx/www/master/application/libraries/PluginManager/PluginManager.php(258): call_user_func()
#19 /mnt/data/shnoulle/nginx/www/master/application/commands/PluginCommand.php(45): LimeSurvey\PluginManager\PluginManager->dispatchEvent()
#20 unknown(0): PluginCommand->actionIndex()
#21 /mnt/data/shnoulle/nginx/www/master/framework/console/CConsoleCommand.php(172): ReflectionMethod->invokeArgs()
#22 /mnt/data/shnoulle/nginx/www/master/framework/console/CConsoleCommandRunner.php(71): PluginCommand->run()
#23 /mnt/data/shnoulle/nginx/www/master/framework/console/CConsoleApplication.php(92): CConsoleCommandRunner->run()
#24 /mnt/data/shnoulle/nginx/www/master/framework/base/CApplication.php(185): ConsoleApplication->processRequest()
#25 /mnt/data/shnoulle/nginx/www/master/application/commands/console.php(64): ConsoleApplication->run()
|