Hello,

When I use Ubercart, at the end of the checkout, when an e-mail is sending, I get this error : "warning: file_get_contents() [function.file-get-contents]: Filename cannot be empty in www/drupal/modules/mimemail/mimemail.inc on line 244."

Can somewone help me ? ;-)

Thanks ! (and thank you for developping this very good module !)

CommentFileSizeAuthor
#7 mimemail.740856_02.patch696 bytessgabe
#1 mimemail.740856_01.patch773 bytessgabe

Comments

sgabe’s picture

Version: 6.x-1.x-dev » 6.x-1.0-alpha1
Category: support » bug
StatusFileSize
new773 bytes

Please upgrade to 6.x-1.0-alpha1 if you can, which is is the latest now, and try the attached patch, that should fix the problem.

sgabe’s picture

Status: Active » Needs review
Vicbus’s picture

Status: Needs review » Fixed

It well works; thank you very much ! ;-)

sgabe’s picture

Status: Fixed » Reviewed & tested by the community

I am happy if it works, but it isn't fixed until committed. :)
Thanks for your feedback, I am changing this to RTBC.

vatavale’s picture

When i try to send Simplenews issue with attached RelatedContent (module) items i get the same error.
And in sended mail message there is not attached RelatedContent items.
Will try a patch.

vatavale’s picture

Patch work for me too. Thank you!

sgabe’s picture

Version: 6.x-1.0-alpha1 » 7.x-1.x-dev
StatusFileSize
new696 bytes

Fixed identation.

sgabe’s picture

Title: Error on line 244 (mimemail.inc) with Ubercart » Check if the file part is set in the body
Status: Reviewed & tested by the community » Fixed

Committed to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.