php 4.4.0 and horde
If you happen to come here looking for information on this error dealing with php 4.4.0 and horde:
“Notice: Only variable references should be returned by reference in /usr/share/horde2/lib/Auth.php on line 80″
There are 3 files you’ll need to fix.
You should see this in lib/Auth.php:
which needs to be changed to:
return $auth;
In lib/Prefs.php:
to:
return $prefs;
Also change the following:
To:
return $tempClass;
In kronolith/lib/Driver.php:
To:
return $tempClass;
Basically the return value has to be an explicitly defined variable, not an value. Anyplace you see
it needs to be replaced with
return $newVar;
Hopefully that helps someone get around the error.

Comments are closed.