Hastymail2

Hastymail2 is an Open Source IMAP webmail client written in PHP. Our focus is compliance, usability, security, and speed.

Hastymail 2

avatar
hm2 bug: fatal error forwarding message with attachment

I don't know if this was a user error or not. I had a three-part email with a 4-meg XLS attachment (text, html, xls attachment). I clicked the message to view the txt portion, and didn't see a "forward" option (I might have just missed it). I hit the "right arrow" to move to the HTML portion, and then clicked the "forward" link, and got:

 Fatal error: Call to undefined function: str_ireplace() in /Library/WebServer/Documents/lib/url_action_class.php on line 1460

I hit the "back" button in the browser, when back to the inbox, clicked the subject again to get to the TXT portion, hit "forward" and it worked normally.

I went back to the inbox, repeated the first process, and got the error again when I tried to go to the html section and clicked "forward"

Reply /Quote
avatar
Re: hm2 bug: fatal error forwarding message with attachment
Thanks for the feedback. This is fixed in SVN. the problem is that str_irplace() is a function only available in php5. In SVN I replaced it with a preg_replace() call that works fine in both PHP4 and PHP5.
Reply /Quote


 SourceForge.net Logo