after install i received the following error
Error downloading (https://raw.github.com/pear/Mail_Mime/master/Mail/mimeDecode.php): Not Found
One or more of the required PEAR classes could not be loaded:
Mail_Mime
Mail_mimeDecode
Mail_mimePart
PEAR_Error
The Mail MIME module has been disabled to avoid further errors. Please satisfy the module requirements listed in the documentation, then visit your Modules page to re-enable the Mail MIME module.
The Include module tried to automatically download the required files, but the attempt failed. You may retry the download by re-enabling the Mail MIME module. If your hosting provider has disabled the set_include_path directive, the files must be manually installed.
After i install pear install -a Mail_Mime
i got the error when i run update.php
Fatal error: Cannot redeclare _PEAR_call_destructors() (previously declared in /usr/share/php/PEAR.php:735) in /var/www/sites/all/modules/civicrm/packages/PEAR.php on line 811
Mail_mime inergrades with civicrm causing problems sites/all/modules/civicrm/packages/Mail/mime.php. I am only mentioned that.
Ubuntu lts 12.04
please advice
Comments
Comment #0.0
npetronikolos commentedcorrecting info about the problem
Comment #1
vidichannel commentedGot it working. I also have Ubuntu 12.04 LTS server. Not sure if we have the same issue but the instructions are one step off.
That's the right folder for the goodies, but if you drop down into the subfolder for Mail you may see the mimeDecode.php file missing.
pear install -a Mail_Mimewas not enough.Had to also
pear install Mail_mimeDecodeand then it worked with flying colors.Comment #2
npetronikolos commentedThank you for your answer, unfortunately i already did that mail_mimedecode is already installled.
Comment #3
vidichannel commentedSorry,
Gave it shot.
I'm still jumping through all the hoops to theme, style-tweak and organize Simplenews for html mail sending. I guess there is a reason so many people just use mail send like C.C. or other 3rd party.
Comment #4
drupa11y commentedTry http://drupal.org/project/include
See this issue-queue: http://drupal.org/node/1133932
Comment #5
salvisMarked #1879558: Correct documentation how to install required PHP files as a duplicate.
I added the
pear install Mail_mimeDecodecommand to the front page and to the README.* files in the distribution packages for D6 and D7.
Comment #6
roball commentedThis will work, fine. However, as mentioned in #1879558: Correct documentation how to install required PHP files,
pear install -a Mail_Mimeis NOT needed at all. Thepear install Mail_mimeDecodecommand does it all. It will install BOTH the Mail_Mime and Mail_mimeDecode packages. There is also no need to apply the -a flag anywhere, so the comment about that can be removed from the docs as well.Comment #7
salvisThank you, roball.
Are you positive that it works as you describe on all Linux servers for all PEAR distributions out there? The goal is to make it work for everyone.
There's no patch, but I'm marking this needs review for the instructions in #6. I'll change this after I get five confirmations.
Comment #8
roball commentedHm, I have only tested it on CentOS 6 (with its official PHP 5.3.3 and PEAR 1.9.4), so maybe you are right on older versions.
Comment #9
salvisLooks like most everyone is ok with #5.
Comment #9.0
salvisfurther observations