Hi Scott,
I have installed this contrib and I can send the email but as someone previous said the email is blank with just the subject line. I have set 'Use MIME HTML When Sending Emails' to true and also I have the correct module selected for the newsletter_products.
After the email has been sent I get the following errors on the page with the animated brief case.
Quote
Warning: Missing argument 3 for newsletter_products() in /home/mobiacc/public_html/admin/includes/modules/newsletters/newsletter_products.php on line 16
Warning: Missing argument 4 for newsletter_products() in /home/mobiacc/public_html/admin/includes/modules/newsletters/newsletter_products.php on line 16
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mobiacc/public_html/admin/includes/functions/database.php on line 99
Line 16 is this
function newsletter_products($title, $content, $products, $template) {
As for the database.php error I am presuming the errors above are causing this and there is no problem with that file.
Also when I created the newsletter, lock it and then try to edit the newsletter I get these errors
Quote
Warning: reset(): Passed variable is not an array or object in /home/mobiacc/public_html/admin/includes/classes/object_info.php on line 17
Warning: Variable passed to each() is not an array or object in /home/mobiacc/public_html/admin/includes/classes/object_info.php on line 18
The basic templates I created for the test newsletter is this
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
$html_content
</body>
</html>
Any help on sorting out these problems would be appreciated as I think this contrib has so much scope.
Thanks
Mark
Edited by mark27uk3, 30 October 2005 - 04:15 PM.