I wasn't sure if this should go in the Mail MIME issue queue or the Include issue queue. I put it here, but feel free to re-assign if I was wrong.

According to the Mail MIME project page, installing the Include module will automatically download all required PEAR components. However, when I enable Include, and then enable Mail MIME I get the following error
Mail MIME error

I'm running the Acquia Dev Desktop on my local machine (MacBook Air) and the following module versions Mail MIME 7.x-2.16 and Include 7.x-1.8

Any suggestions?

CommentFileSizeAuthor
Screen Shot 2012-04-12 at 5.51.50 AM.png63.58 KBbjlewis2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pillarsdotnet’s picture

Project: Include » Mail MIME
Version: 7.x-1.8 » 7.x-2.x-dev
Component: Miscellaneous » Code
Assigned: Unassigned » pillarsdotnet
Category: task » bug
Status: Active » Closed (duplicate)
pillarsdotnet’s picture

Version: 7.x-2.x-dev » 7.x-2.17

Fixed in 6.x-2.17 / 7.x-2.17 / 8.x-2.17 releases.

bjlewis2’s picture

Sorry for the duplicate :(

Thanks for the fix! :)

jday’s picture

using 7.x-2.17
installed the include module
ran the pear install script

still get the error above

Triumphent’s picture

Same here, :(

jday’s picture

I edited the php.ini file to use:
include_path = ".:/usr/lib/pear"

then when trying to enable the mail mime module, I got a WSOD.
Commented out the line to get my site back. The last line of the previous error states: "If your hosting provider has disabled the set_include_path directive, the files must be manually installed." Is there documentation on how to manually install whatever needs to be installed or how to check if that directive is disabled?

pillarsdotnet’s picture

I edited the php.ini file to use:

include_path = ".:/usr/lib/pear"

That might work.

then when trying to enable the mail mime module, I got a WSOD.

Did you check your Apache and/or PHP error log? Usually a WSOD means there was a syntax error.

Is there documentation on how to manually install whatever needs to be installed or how to check if that directive is disabled?

Yes, but not here.

jday’s picture

error.log

[error] Invalid method in request \x80\x82\x01\x03\x01
[error] File does not exist: /htdocs

jday’s picture

what about that first line of the error: Error downloading (https://raw.github.com/pear/Mail_Mime/master/Mail/mimeDecode.php): Not Found

is there a new url for that file?

Triumphent’s picture

Is it possible to get a decent explanation how to install Mail_Mime without getting sidetracked?
Thank you.

Triumphent’s picture

No wonder it's not working in version 2.17.
First the path has changed and there is a typo in the name of the file:
It's not Mail/mimeDecode.php but Mail_mimeDecode.php. The slash should be an underscore..!
Error downloading (https://raw.github.com/pear/Mail_Mime/master/Mail/mimeDecode.php): Not Found

Carlitus’s picture

the same as #10

#12 renaming the url doesn't work. It seems that in github there aren't the mimeDecode.php

https://github.com/pear/Mail_Mime

star-szr’s picture

If you're following this issue, see #1417646: Cannot download Mail_Mime from SVN repo via Include module for a patch against 7.x-2.17.