On very restrictive systems, the current way including activeMailLib fails, due to an open_basedir error.

It took me a while to figure out what went wrong. My system does not produce any error output (switched off).
Sending a newsletter to the test account failed an resulted in a blank screen.

I changed the way activeMailLib is included to this:

  $path = drupal_get_path('module', 'simplenews');
  require_once("./$path/activeMailLib.php");

Patch appended.

CommentFileSizeAuthor
patch_52.txt807 bytessuit4

Comments

sutharsan’s picture

Version: 7.x-1.x-dev » 4.7.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

Fixed in 4-7-1. Does not apply to more recent versions.

Anonymous’s picture

Status: Fixed » Closed (fixed)