twilko Posted April 22, 2008 Posted April 22, 2008 Hi all, I am getting "Fatal error: Cannot redeclare class newsletter in /home/happy6/public_html/admin/includes/modules/newsletters/newsletter.php on line 13" when trying to send newsletter. I believe this can be soemthing to do with Newsletter code. I am not sure. Please see the code below: If someone can tell me what may be wrong and how I can test it in oscommerce that would be great. What I mean by "how I can test it" is that once the code is erroe free and I press send the newsletter will be send right away. Is that correct? Many thanks for your help, Tomek ****************************************************************** <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> <html dir="LTR" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>:: Newsletter ::</title> </head> <body bottommargin="0" topmargin="0" leftmargin="0" rightmargin="0" bgcolor="#d5f0f2"> <table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#d5f0f2"> <tr> <td align="center" valign="top"> <table border="0" width="734" cellspacing="0" cellpadding="0" bgcolor="#ffffff"> <tr> <td align="center" valign="top" colspan="4"><img src="http://www.happylittlehippos.com.au/newsletters/images/top_banner.gif" width="734" alt="" border="0"></td> </tr> <tr> <td width="40"><img src="http://www.happylittlehippos.com.au/newsletters/images/blank.gif" width="40" height="1" alt="" border="0"></td> <td valign="top" class="textLeft" width="411" style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#343434; line-height: 140%;"><p style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#a2a2a2; line-height: 140%; padding-top:10px;">Monday, 21 April 2008</p> <p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 20px; color:#F5001E; line-height: 140%;">Happy Mother's Day!</p> <a href="http://www.happylittlehippos.com.au/index.php?cPath=64" class="link"><img src="http://www.happylittlehippos.com.au/newsletters/images/picture1.jpg" width="411" height="334" alt="" border="0"></a><br><br> <font face="Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif" color="#343434">We're very excited to launch our new <a href="http://www.happylittlehippos.com.au/index.php?cPath=64"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#ED7601; text-decoration: underline; font-weight: none;">'Happy Mums'</font></a> section, which has kept us very busy for the last couple of months. Whether you're looking for a Mothers Day gift, something for a new mum or want to simply spoil yourself, we have a gorgeous selection of items that will do just the trick!<br><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/T2BagText.jpg" alt="" border="0"><br><br><br> <p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 20px; color:#F5001E; line-height: 140%;">Stylish giftwrap packs!</p> <a href="http://www.happylittlehippos.com.au/index.php?cPath=65" class="link"><img src="http://www.happylittlehippos.com.au/newsletters/images/picture2.jpg" alt="" border="0"></a><br><br> Impress your family and friends with our new range of <a href="http://www.happylittlehippos.com.au/index.php?cPath=65"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#ED7601; text-decoration: underline; font-weight: none;">divine giftwrap</font></a> packs and gift tags. Creating a stylish look for each gift you wrap is now so affordable and simple! Each giftwrap pack comes with paper, a generous amount of beautiful ribbon and a gift tag. Keep a few packs handy for unexpected events.<br><br><br> <p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 20px; color:#F5001E; line-height: 140%;">Deluxe Road System</p> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=21_32&products_id=306" class="link"><img src="http://www.happylittlehippos.com.au/newsletters/images/picture3.jpg" alt="" border="0"></a><br><br> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=21_32&products_id=306"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#ED7601; text-decoration: underline; font-weight: none;">The Deluxe Road System package deal</font></a> includes 28 track pieces, 7 cars, 2 streetlights, 4 trees, and a car transporter. This wooden road system allows children to design and build a city by linking all the track pieces together. Made from chemical free rubber wood. Currently on sale for only <b>$119.95 (saving of $42)</b>.<br><br><br> <p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 20px; color:#F5001E; line-height: 140%;">Monkeying Around!</p> <a href="http://www.happylittlehippos.com.au/index.php?cPath=21_37&sort=3a&page=2" class="link"><img src="http://www.happylittlehippos.com.au/newsletters/images/picture4.jpg" alt="" border="0"></a><br><br> We love these striking <a href="http://www.happylittlehippos.com.au/index.php?cPath=21_37&sort=3a&page=2"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color:#ED7601; text-decoration: underline; font-weight: none;">Alimrose monkey rattles!</font></a> Not only do they make the perfect baby shower or newborn gift, but they are a great substitute for a doll (if you're not a doll person like me!).<br><br></font> <p style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#a2a2a2; line-height: 140%;">To unsubscribe please <a href="mailto:[email protected]?subject=Unsubscribe"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#a2a2a2; line-height: 140%; text-decoration: underline;">click here</font></a> or email [email protected] with "Unsubscribe" as the subject.<br><br></p></td> <td width="30" valign="top"><img src="http://www.happylittlehippos.com.au/newsletters/images/blank.gif" width="30" height="1" alt="" border="0"></td> <td valign="top" style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#4B4B4B; line-height: 140%;" align="center"><br><br><br><br><br><img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0" vspace="10"><br><br><img src="http://www.happylittlehippos.com.au/newsletters/images/sale.gif" alt="" border="0"><br><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/new_in_store.gif" alt="" border="0"></a><br><br>We've got a great selection<br> of new items in store.<br><br> <a href="http://www.happylittlehippos.com.au/index.php?cPath=21_40"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture1.jpg" alt="" border="0"></a><br><br>New Anamalz<br><font color="red" size="2">$9.95</font><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0"> <br><br> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=21_40&products_id=385"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture2.jpg" alt="" border="0"></a><br><br>... and a wooden tractor to transport all your Anamalz! (accessories included)<br><font color="red" size="2">$49.95</font><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0"> <br><br> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=63&products_id=343"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture3.jpg" alt="" border="0"></a><br><br>Good Habits Chart<br><font color="red" size="2">$32.95</font><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0"> <br><br> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=21_30&products_id=433"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture4.jpg" alt="" border="0"></a><br><br>Dino Bath Squirts<br><font color="red" size="2">$14.95</font><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0"> <br><br> <a href="http://www.happylittlehippos.com.au/product_info.php?cPath=21_37&products_id=346"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture5.jpg" alt="" border="0"></a><br><br>Dog Dries - your new best friend!<br><font color="red" size="2">$31.95</font><br><br><br><br><font color="red"><a href="http://www.happylittlehippos.com.au/index.php?cPath=63"><p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:red; line-height: 140%;"><font style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:red; line-height: 140%; text-decoration: underline;">Click here</font></a> to see MORE items.</p><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/h_line_short.gif" width="222" height="1" alt="" border="0"><br><br> <img src="http://www.happylittlehippos.com.au/newsletters/images/in_the_press.gif" alt="" border="0"><br><br> <a href="http://www.happylittlehippos.com.au/index.php?cPath=21_38"><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture6.jpg" alt="" border="0"></a><p style="font-family : Georgia, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#4B4B4B; line-height: 140%;">The Sun Herald recently featured<br> our gorgeous <a href="http://www.happylittlehippos.com.au/index.php?cPath=21_38"><font style="font-family : Trebuchet MS, Trebuchet, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color:#ED7601; text-decoration: underline; font-weight: none;">teepees</font></a> in their<br> special 'Kids Gift List' pull out.</p> <p><img src="http://www.happylittlehippos.com.au/newsletters/images/rhc_picture7.jpg" alt="" border="0"></p> </td> </tr> </table> </body> </html>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.