back to phpList.org

Help with autoresponder pluggin


#1

Argument 1 passed to phpList\plugin\Common\DBResultIterator::__construct() must be an instance of mysqli_result, resource given, called in /home/ganadineroenauto/public_html/auto/admin/plugins/Common/DB.php on line 79 and defined

#0 /home/ganadineroenauto/public_html/auto/admin/plugins/Common/DBResultIterator.php(29): phpList\plugin\Common\Exception::errorHandler(4096, ‘Argument 1 pass…’, ‘/home/ganadiner…’, 29, Array)
#1 /home/ganadineroenauto/public_html/auto/admin/plugins/Common/DB.php(79): phpList\plugin\Common\DBResultIterator->__construct(Resource id #686)
#2 /home/ganadineroenauto/public_html/auto/admin/plugins/Common/DB.php(120): phpList\plugin\Common\DB->queryAll(‘SELECT l.id, l…’)
#3 /home/ganadineroenauto/public_html/auto/admin/plugins/Autoresponder/DAO.php(163): phpList\plugin\Common\DB->queryColumn(‘SELECT l.id, l…’, ‘name’, ‘id’)
#4 /home/ganadineroenauto/public_html/auto/admin/plugins/Autoresponder/Controller/Manage.php(102): phpList\plugin\Autoresponder\DAO->getArListNames()
#5 /home/ganadineroenauto/public_html/auto/admin/plugins/Autoresponder/Controller/Manage.php(189): phpList\plugin\Autoresponder\Controller\Manage->displayAutoresponders()
#6 /home/ganadineroenauto/public_html/auto/admin/plugins/Common/Controller.php(112): phpList\plugin\Autoresponder\Controller\Manage->actionDefault()
#7 /home/ganadineroenauto/public_html/auto/admin/plugins/Common/Main.php(43): phpList\plugin\Common\Controller->run(NULL)
#8 /home/ganadineroenauto/public_html/auto/admin/plugins/Autoresponder/manage.php(13): phpList\plugin\Common\Main::run(Object(phpList\plugin\Autoresponder\ControllerFactory))
#9 /home/ganadineroenauto/public_html/auto/admin/index.php(508): include(’/home/ganadiner…’)
#10 {main}


#2

@Powermaxarg What release of phplist are you using? Also, can you confirm that you are using php 5.4 or later?


#3

@duncanc Hi, thanks for replying, I use phplist v3.0.6 and php 5.6


#4

@Powermaxarg You can try adding or replacing the existing line in your config.php file. I guess that you are using mysql not mysqli. The latter is now required by these plugins.

$database_module = 'mysqli.inc';

But you should also upgrade phplist to the current release 3.3.1 as you are using a very old release.