Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99761 - Upgrade to php 4.4.0 brakes horde 2.2.8
Summary: Upgrade to php 4.4.0 brakes horde 2.2.8
Status: RESOLVED DUPLICATE of bug 99131
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL: https://www.cst-systemhaus.de/horde/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-21 01:56 UTC by Denny Schierz
Modified: 2005-07-21 02:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denny Schierz 2005-07-21 01:56:21 UTC
After upgrading to php 4.4.0, horde doesn't work anymore:

Notice: Only variable references should be returned by reference in
/home/httpd/cst/websites/cst-systemhaus.de/htdocs/horde/lib/Auth.php on line 68

Notice: Only variable references should be returned by reference in
/home/httpd/cst/websites/cst-systemhaus.de/htdocs/horde/lib/Prefs.php on line 144

Horde wiki says:
==========
"Only variable references should be returned by reference"
"Only variables can be passed by reference"

These messages appear after upgrading to PHP 4.4 or PHP 5.1. These PHP versions
raise notices about reference usage that older version accepted happily. Only
Horde 3.x and the H3 application versions will be fixed to not cause this
messages, so either upgrade to the latest versions, or set your error reporting
level in PHP to exclude E_NOTICE level messages.

E.g. in php.ini:

error_reporting = E_ALL & ~E_NOTICE
==========

But it doesn't help

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.4.28-grsec-2.1.0 i686)
=================================================================
System uname: 2.4.28-grsec-2.1.0 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.2.3-r5, 2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control /var/spool/jabber/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://backup/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 PEAR apache2 berkdb bitmap-fonts crypt curl emboss foomaticdb fortran
gd gd-external gdbm gif gtk2 imagemagick imap innodb jpeg libwww mad maildir
mcal mp3 mysql ncurses nls nptl pam pam-mysql pdflib pear perl php png python
readline sasl sdl session slang snmp sse ssl tcpd tiff truetype truetype-fonts
type1-fonts vhost xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 02:01:20 UTC

*** This bug has been marked as a duplicate of 99131 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 02:09:28 UTC
Sigh, wrong bug...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-07-21 02:16:28 UTC
Grrr, I really hate bugzilla for jumping on the next bug in the list. Marking as
a dupe again.

Anyway, this is not a Gentoo problem, as your quote from Horde WiKi says. You'll
need to upgrade when a fixed 3.0.x version is available.

*** This bug has been marked as a duplicate of 99131 ***