[horde] Horde/IMP problems after system upgrade

Andrew Morgan morgan at orst.edu
Mon Jul 9 16:36:12 UTC 2007


On Sun, 8 Jul 2007, Anders Norrbring wrote:

> I've changed my hardware and upgraded the base system to latest Apache
> and PHP5.
> Now I'm having problems with my old Horde and IMP installation, I need
> it to run while I install the latest versions.
>
> Horde is v2.2.5
> IMP is v3.2.3
>
> The problem is that I log in, click on an e-mail to open it, and the
> message texts doesn't show, only the header info.
> I can d/l the mail though.
>
> In the Apache error log, this shows up:
>
> [Sun Jul 08 19:38:43 2007] [error] [client 192.168.111.30] PHP Notice:
> Only variable references should be returned by reference in
> /srv/www/htdocs/horde/lib/SessionHandler.php on line 59, referer:
> https://www.the-server.net/horde/imp/mailbox.php?mailbox=INBOX&actionID=
> [Sun Jul 08 19:38:43 2007] [error] [client 192.168.111.30] PHP Notice:
> Only variable references should be returned by reference in
> /srv/www/htdocs/horde/lib/Prefs.php on line 164, referer:
> https://www.the-server.net/horde/imp/mailbox.php?mailbox=INBOX&actionID=
> [Sun Jul 08 19:38:44 2007] [error] [client 192.168.111.30] PHP Notice:
> Only variable references should be returned by reference in
> /srv/www/htdocs/horde/lib/MIME/Viewer.php on line 41, referer:
> https://www.the-server.net/horde/imp/mailbox.php?mailbox=INBOX&actionID=
> [Sun Jul 08 19:38:44 2007] [error] [client 192.168.111.30] PHP Notice:
> Only variable references should be returned by reference in
> /srv/www/htdocs/horde/lib/MIME/Viewer.php on line 41, referer:
> https://www.the-server.net/horde/imp/mailbox.php?mailbox=INBOX&actionID=
> [Sun Jul 08 19:38:44 2007] [error] [client 192.168.111.30] PHP Notice:
> Only variable references should be returned by reference in
> /srv/www/htdocs/horde/lib/MIME/Viewer.php on line 41, referer:
> https://www.the-server.net/horde/imp/mailbox.php?mailbox=INBOX&actionID=
>
>
> Can I temporary fix this while I'm setting up the new system in parallell?

I ran into this same problem.  I attempted to fix all the errors in the 
Horde code (you have to change the way functions return variables - do a 
google search), but I gave up after a while because I still couldn't make 
it actually work.

I was attempting to add a new Webmail server that ran Debian Etch (old 
servers were Debian Sarge).  Luckily, Etch still had PHP4 packages, so I 
just installed PHP4 instead.  When I finally upgraded to Horde3/IMP4, I 
also upgraded to PHP5 at the same time.  Again, this is really easy with 
Debian.

Everyone else gave you good advice -- only Horde3 supports PHP5.

 	Andy


More information about the horde mailing list