Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #19073 Mail_Mime return error
Submitted: 2011-11-25 01:22 UTC
From: rodr1go Assigned:
Status: Open Package: Mail_Mime2
PHP Version: 5.3.8 OS: CentOS 5.7
Roadmaps: (Not assigned)    
Subscription  


 [2011-11-25 01:22 UTC] rodr1go (Rodrigo Queiroz)
Description: ------------ error while using the library Mail_Mime, I have set the following. $mimeparams = array("text_encoding" => "8bit", "text_charset" => "UTF-8", "html_charset" => "UTF-8", "head_charset" => "UTF-8"); Test script: --------------- Warning: require_once(bugo_98lb_ddf.php) [function.require-once]: failed to open stream: No such file or directory

Comments

 [2011-11-25 01:41 UTC] alec (Aleksander Machniak)
Could you provide a complete test script? I'm unable to reproduce.
 [2011-11-25 01:51 UTC] rodr1go (Rodrigo Queiroz)
Ok, the same script works fine on mac osx, however on centos I get the error. Warning: require_once(bugo_98lb_ddf.php) [function.require-once]: failed to open stream: No such file or directory This is the actual script, http://pastebin.com/hbVQmaxQ I have the pear setup and working fine, I can't just figured why Mail_Mime is throwing that error
 [2011-11-25 13:30 UTC] alec (Aleksander Machniak)
This is similiar to http://pear.php.net/bugs/bug.php?id=18350 and looks like some strange PHP bug. Google know a solution (http://bugs.qualityunit.com/mantis/bug_view_advanced_page.php?bug_id=6084), but I'd like to know what is the reason of this issue.
 [2011-11-25 21:28 UTC] rodr1go (Rodrigo Queiroz)
I have followed you comment, I have made the changes and it didn't work, I had downloaded this patch before I issue this problem because the patch does not work either. patch < 0006084.patch (Stripping trailing CRs from patch.) patching file mimePart.php Hunk #1 FAILED at 1072. Hunk #2 FAILED at 1107. 2 out of 2 hunks FAILED -- saving rejects to file mimePart.php.rej
 [2011-11-25 22:00 UTC] rodr1go (Rodrigo Queiroz)
Actually I have done the patch manually and I still get the same error
 [2012-03-12 17:50 UTC] alec (Aleksander Machniak)
-Package: Mail_Mime +Package: Mail_Mime2
How about Mail_Mime2 package from git?