[horde] Errors after upgrading to php 4..4.1 on freebsd.

eculp@encontacto.net eculp at encontacto.net
Wed Jan 4 10:51:57 PST 2006


Quoting Craig White <craigwhite at azapple.com>:

> On Wed, 2006-01-04 at 11:35 -0600, Robert Sand wrote:
>> I just upgraded my php to 4.4.1 on my freebsd server and now I am
>> getting these error messages when trying to access imp
>>
>> *Notice*: Only variable references should be returned by reference in
>> */usr/local/www/data/horde/lib/SessionHandler.php* on line *59*
>>
>> *Notice*: Only variable references should be returned by reference in
>> */usr/local/www/data/horde/lib/Auth.php* on line *92*
>>
>> *Warning*: Cannot modify header information - headers already sent by
>> (output started at /usr/local/www/data/horde/lib/SessionHandler.php:59)
>> in */usr/local/www/data/horde/index.php* on line *50
>>
>> *It was working just fine until the php upgrade and then this.  I did
>> just now upgrade to horde 3.0 to see if that would fix it but I am still
>> getting these error messages.  Below is the versions of the horde
>> applications I am running.
>>
>>
>>     * Horde: 3.0-cvs
>>     * IMP: 4.0-cvs
>>     * Turba: 2.0-cvs
>>     * Kronolith: 2.0-cvs
>>     * Mnemo: 2.0-cvs
>>     * Nag: 2.0-cvs
> ----
> any time you upgrade php, you are likely to have to upgrade the pear
> modules again - at least that has been the case in RHEL packaging since
> a php upgrade would put on older PEAR version back in place.
>
> Craig

I'm running today's cvs version of most of the horde framework and 
applications on FreeBSD Current 7.0 but with php5.1 built from ports 
and pear packages installed through its interface and I am not seeing 
errors.  With the current port tree for both FreeBSD 6.0 and 7.0 it is 
much easier to use pear directly by only installing devel/pear from 
ports.  So to upgrade pear, a simple command line, pear upgrade-all 
will usually do it.

One question, Did you install packages and then update with cvs?  I've 
not used the packages and with cvs after an update the framework needs 
to be reinstalled.  In my case I install it with pear at 
/usr/local/share/pear.  Could your framework slightly out of sync with 
the applications?

good luck,

ed



More information about the horde mailing list