Post by inmalagadesign » Sat Feb 13, 2010 12:57 am

Hi I have a opencart 1.3.4 site and looking for someone to fix a few errors on the site - The BCC doesn't work which has been installed for the mail function and when sending a newsletter through the mail function if you create the newsletter in html first and upload the files seperately you get a long error coming up:

Warning: filesize() [function.filesize]: stat failed for http://www.we-do-bling.com/newsletter/header_bg3.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.we-do-bling.com/newsletter/b ... 70x120.jpg in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.we-do-bling.com/newsletter/h ... 70x120.jpg in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.we-do-bling.com/newsletter/h ... 70x120.jpg in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.servecake.com/newsletters/3/i/i-05.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.servecake.com/newsletters/3/i/i-06.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.servecake.com/newsletters/3/i/i-07.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.servecake.com/newsletters/3/i/w.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141Warning: filesize() [function.filesize]: stat failed for http://www.servecake.com/newsletters/3/i/i-08.gif in /home/admin/public_html/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/admin/public_html/system/library/mail.php on line 141

I have Q's excellent guest module on the site which allows guests to sign up for the newsletter I need a module showing all newsletter sign ups in a seperate section (guest and full account) with the ability to delete the emails and add to them.

Active Member

Posts

Joined
Mon Jul 06, 2009 2:54 pm

Post by ulyssesnz » Fri Mar 19, 2010 2:30 pm

I have installed OpenCart 1.4.0 and I get exactly this same error when sending an email from Sales | Mail, if I insert an image in the Message body.

Warning: filesize() [function.filesize]: stat failed for http://www.ulysses.co.nz/store/home/uly ... h_hd_3.jpg in /home/ulysses/domains/ulysses.co.nz/public_html/store/system/library/mail.php on line 141Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/ulysses/domains/ulysses.co.nz/public_html/store/system/library/mail.php on line 141

You get the same 2 errors repeated for every image you insert in the Message Body.

i.e.

Warning: filesize() [function.filesize]: stat failed for .........
Warning: fread() [function.fread]: Length parameter must be greater than 0 in .........

In this case the email arrives as an HTML email without the image but shows the image placeholder.

Also if I don't insert an email, there is no error at the time of sending the email but the email that is received ceoms up as raw text with the email headers inthe message body and an attachment of the HTML. This is the case when you have Outlook Email Client.

Newbie

Posts

Joined
Sat Feb 13, 2010 11:50 am
Who is online

Users browsing this forum: No registered users and 14 guests