Closed (fixed)
Project:
Mail MIME
Version:
7.x-2.17
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2013 at 11:42 UTC
Updated:
4 Jul 2014 at 21:32 UTC
Jump to comment: Most recent
After installing the Include module and enabling 7.x-2.17 I get the error:
WD include: Error downloading (https://raw.github.com/pear/Mail_Mime/master/Mail/mimeDecode.php): Not Found
WD mailmime: The Mail MIME module has disabled itselfThis occurs because mimeDecode.php is referenced in the files list for Mail_mime (as well as for Mail_mimeDecode):
function mailmime_download_requirements() {
$packages = array(
'Mail_mime' => array(
'local_path' => 'Mail/',
'remote_path' => 'https://raw.github.com/pear/Mail_Mime/master/Mail/',
'files' => array(
'mime.php',
'mimeDecode.php',
'mimePart.php',
),
),
'Mail_mimeDecode' => array(
'local_path' => 'Mail/',
'remote_path' => 'http://svn.php.net/repository/pear/packages/Mail_mimeDecode/trunk/Mail/',
'files' => array(
'mimeDecode.php',
),
),
To fix, remove the 'mimeDecode.php', line from the Mail_mime files array (line 106 of the module). Include will then be able to download mimeDecode.php from the correct location.
Comments
Comment #1
salvisThank you for your report.
Would you say that #1417646: Cannot download Mail_Mime from SVN repo via Include module has fixed this in the -dev version?
Comment #2
stewart.adam commentedStill present in 7.x-2.18 and 7.x-2.x-dev.
Comment #3
salvisWhen I look at http://cgit.drupalcode.org/mailmime/plain/mailmime.module?h=7.x-2.x&id=7... I see
The original report was against 7.x-2.17, but it looks pretty fixed in 7.x-2.18...
Is your code different?
Comment #4
stewart.adam commentedMy code is the same. I could access the files mentioned directly in a browser, but the include module seemed to produce an error when attempting to retrieve them.
Comment #5
salvisI think that would have to be a different error.
Please open a new issue and post the exact error message.
Comment #6
salvisThank you for opening #2294753: Unable to automatically download Mail MIME dependencies using Include module.