Roundcube 0.1-rc1 and PHP 5.0.5, error in sendmail.inc

Johan Fredin johan at fredin.info
Thu May 24 20:48:03 CEST 2007


Hi folks,

I upgraded my installation of beta2 to rc1 this morning. This is on 
OpenBSD 3.9/Apache 1.3.29/PHP 5.0.5. I followed the UPGRADING document 
and applied the database updates.

Everything seemed fine when first testing the new version, but when I 
try to send mail, this error pops up in the error log:

[24-May-2007 18:28:47] PHP Fatal error:  Only variables can be passed by
reference in /path/to/rc-0.1-rc1/program/steps/mail/sendmail.inc on line 336

During this the "Sending message.." spinner keeps spinning forever.

A bit of google'ing led me to this:

http://the-stickman.com/web-development/php/php-505-fatal-error-only-variables-can-be-passed-by-reference/

This diff fixes it for me:

http://johan.fredin.info/tmp/rc-diff

YMMV.

/Johan




More information about the Dev mailing list