Page 1 of 1

PHP 4.4.0 - RH9/Plesk 6 - Horde has issues

Posted: Thu Sep 29, 2005 11:34 pm
by tungsten
Hey there Scott,

Update PHP to 4.4.0. Everything works like a top with the exception of Horde.

We are now getting the following:
Notice: Only variable references should be returned by reference in /home/httpd/vhosts/webmail/horde/lib/Auth.php on line 68

Notice: Only variable references should be returned by reference in /home/httpd/vhosts/webmail/horde/lib/Prefs.php on line 144
Any ideas? Suggestions?

Google has left me with a very lonely feeling :(

Posted: Fri Sep 30, 2005 11:36 am
by scott
Are you using Zend or Ioncube? If so make sure you upgrade those along with php

Posted: Mon Oct 03, 2005 10:16 am
by breun
Yeah, I had to upgrade Zend to 2.5.10 (from 2.5.7) for PHP 4.4. Don't know if that will fix your problem, but if you use Zend you need to upgrade.

Fixed... sort of.

Posted: Tue Oct 04, 2005 11:42 am
by tungsten
Hey Scott,

Thanks for the note...

Turns out there is a "bug" in the horde code. The PHP 4.4 build removes some of the previous tolerance for non-critical errors and variable references. Hence the weird reference errors Horde started spitting.

http://www.sitepoint.com/blogs/2005/07/ ... or-gotcha/ has details and links.

To get around this for now... we have turned off Error Reporting in the PHP.ini file.

When time permits, we will try updating the horde framework to 3.0.5 (which according to horde, fixes these references) ...

When I get a chance, I will let everyone know how it goes. For now, projects call.

Cheers,

Posted: Mon Oct 17, 2005 1:14 am
by tungsten
Just an update for anyone still following this issue:

We have turned PHP Error reporting back on in the PHP.ini file.

Of course, we also had to modify the Horde configuration. In /webmail/horde/conf.php - set ERROR reporting to Warning. Save the file. Restart Apache.

You should be good to go serverwide now.

Again, when we get a chance, I'll see about getting Horde updated without killing webmail.

Posted: Mon Oct 17, 2005 9:04 am
by scott
Thanks for the update, I remember going through this same trial and error process with 4.1 -> 4.3 upgrades. Keep us posted!

Posted: Tue Jan 24, 2006 3:00 pm
by dmoses
Well, I finally fixed my webmail with the fix to the config file that tungsten provided. It seems to work great, thanks.

My questions is why is there not a Plesk patch for this? It would seem to be a major issue. I assume Plesk installed Horde in this location, although rpm -qf says no rpms own these files (so I'm not sure). How come there are not thousands of people with this problem??? Am I like the only one still using Plesk 6??? or people just don't care?