phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016657phplist applicationMessage Send Processpublic09-07-12 22:3822-03-13 20:41
Reporterseanfulton 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformLAMPOSOS Version
Product Version2.11.6 
Target Version2.11.8Fixed in Version2.11.8 
Summary0016657: Enabling Plugins causes messages to fail to send
DescriptionEnabling plugins by defining the PLUGIN_ROOTDIR path in config.php causes all messages to not be sent. Entries are created in phplist_usermessage with the status="not sent" and are not retried.

I suspect the issue is in the following lines from processqueue.php:
/*
## Ask plugins if they are ok with sending this message to this user
*/
      if (!empty($getspeedstats)) output('start check plugins ');

      reset($GLOBALS['plugins']);
      while ($cansend && $plugin = current($GLOBALS['plugins']) ) {
        $cansend = $plugin->canSend($msgdata, $user);
        if (!$cansend) $failure_reason .= 'Sending blocked by plugin '.$plugin->name;

        next($GLOBALS['plugins']);
      }
      if (!empty($getspeedstats)) output('end check plugins ');


This happened on two of our installations where we enabled a plugin this weekend. Unsetting PLUGIN_ROOTDIR causes messages to be sent normally.

Steps To ReproduceSet PLUGIN_ROOTDIR
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0016691resolvedmichiel rssmanager plugin vetoes sending any message to any user 

-  Notes
(0051975)
michiel (manager)
22-03-13 20:41

I've removed the default plugins, as they are out of date. Plugin system is being reviewed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker