Hello list:
After upgrading to 0.7.2, I just saw that I receive the following error messages upon trying to send a message:
PHP Fatal error: Call to undefined method Mail_mime::getTXTBody() in roundcubemail-0.7.2/program/steps/mail/sendmail.inc on line 572
PHP Fatal error: Call to undefined method Mail_mime::setParam() in roundcubemail-0.7.2/program/steps/mail/func.inc on line 1462
OS is Ubuntu Lucid 10.04, and I have the following packages already installed and also tried reinstalling them:
dpkg -l |grep php |grep mail
ii php-mail 1.1.14-2
PHP PEAR module for sending email
ii php-mail-mime 1.5.3-0.1
PHP PEAR module for creating MIME messages
ii php-mail-mimedecode 1.5.0-3
PHP PEAR module to decode MIME messages
Any idea what I could be missing? The exact same server was running 0.3.1 just fine, and also the 0.7.2 installer lists all requirements as present (in green).
Thanks in advance, Achim
Replacing the shipped libraries with the ones from here:
https://svn.roundcube.net/trunk/roundcubemail/program/lib/Mail/
enables sending messages again.
Funnily enough, on another server with Lucid and same RC version 0.7.2, the error does not occur, especially given that the folder only contains:
ls program/lib/Mail/ mimePart.php mime.php
Best regards, Achim
On addition:
On 10.04.2012 11:40, Achim wrote:
Replacing the shipped libraries with the ones from here:
https://svn.roundcube.net/trunk/roundcubemail/program/lib/Mail/
enables sending messages again.
I also had to replace the file roundcubemail-0.7.2/program/lib/Net/SMTP.php with this one:
https://svn.roundcube.net/trunk/roundcubemail/program/lib/Net/SMTP.php
Still baffled why the other 10.04 instance just works...
Achim
On 10.04.2012 11:40, Achim wrote:
Replacing the shipped libraries with the ones from here:
https://svn.roundcube.net/trunk/roundcubemail/program/lib/Mail/
enables sending messages again.
Funnily enough, on another server with Lucid and same RC version 0.7.2, the error does not occur, especially given that the folder only contains:
ls program/lib/Mail/ mimePart.php mime.php
These are exactly a Mail_Mime package, which is outdated in your system where the problem occurs. You can find required version numbers in INSTALL file.
Hello Alec:
On 10.04.2012 11:48, A.L.E.C wrote:
On 10.04.2012 11:40, Achim wrote:
Replacing the shipped libraries with the ones from here:
https://svn.roundcube.net/trunk/roundcubemail/program/lib/Mail/
enables sending messages again.
Funnily enough, on another server with Lucid and same RC version 0.7.2, the error does not occur, especially given that the folder only contains:
ls program/lib/Mail/ mimePart.php mime.php
These are exactly a Mail_Mime package, which is outdated in your system where the problem occurs. You can find required version numbers in INSTALL file.
OK, thanks for the heads-up. I am just surprised that on another installation of Lucid (with the same outdated versions of php-mail, php-mail-mime and php-mail-mimedecode), 0.7.2 just worked fine: perhaps there are some locally added files (perhaps via PEAR) that provide the updated packages and those get included first.
Secondly, would it be possible to add the version number checks to installer (instead of putting them into INSTALL) to make RC installaton an even easier excercise?
If the installer says "good", then I would guess that few people check the INSTALL file in addition to confirm that the version numbers are sufficiently high enough.
Best regards, Achim