Closed (fixed)
Project:
Printer, email and PDF versions
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Jan 2009 at 15:52 UTC
Updated:
28 Jan 2009 at 22:50 UTC
1. Please try to send an email through http://craftbeerguild.org/recommend/winter-seasonal-beers . All the attached images won't show in the email.
2. Also when you try to send an email from the link above. Admin receive this error message:
warning: file_get_contents(sites/all/modules/hide_submit/hide-submit.css) [function.file-get-contents]: failed to open stream: No such file or directory in /home/greatbre/public_html/sites/all/modules/print/print.pages.inc on line 202.
Comments
Comment #1
jcnventuraHi,
From the error report, it seems that the hide_submit module is adding an include file which isn't actually there. For a browser this isn't a problem, but PHP complains about it. I will try to develop a fix for this situation.
As to the attached images problem.. Something is inserting an extra space in the URL of the images that gets sent. I will try to reproduce it and fix it in my test site.
João
Comment #2
jcnventuraHello,
I have reported this problem to the hide_submit module, and the author has already removed that inclusion of a non-existent file. I also added a check to avoid opening files that don't exist.
The attached images problem is created by the e-mail formatter that tries to wrap lines at a certain column value. By replacing spaces in the img URLs with %20, this undesirable change is no longer performed, so it should fix your problem.
When the next dev version comes out in a few hours, please try it.
João