PHP 4.4.0 - RH9/Plesk 6 - Horde has issues

Support/Development for PHP
tungsten
Forum User
Forum User
Posts: 16
Joined: Thu Sep 29, 2005 11:11 pm

PHP 4.4.0 - RH9/Plesk 6 - Horde has issues

Unread post 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 :(
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Are you using Zend or Ioncube? If so make sure you upgrade those along with php
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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.
tungsten
Forum User
Forum User
Posts: 16
Joined: Thu Sep 29, 2005 11:11 pm

Fixed... sort of.

Unread post 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,
tungsten
Forum User
Forum User
Posts: 16
Joined: Thu Sep 29, 2005 11:11 pm

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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!
dmoses
Forum User
Forum User
Posts: 6
Joined: Sun Oct 23, 2005 2:06 am

Unread post 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?
Post Reply