[php-maint] Bug#571702: php-mdb2: Assigning the return value of new by reference is deprecated

Volker Gropp volker at gropp.org
Sat Feb 27 10:29:36 UTC 2010


Package: php-mdb2
Version: 2.5.0b2-1
Severity: important

Hi,

using php-mdb2 with php 5.3 packages breaks applications, ie roundcube wont work anymore giving the following errors:

Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 395

Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2650

Im unable to turn off those "Deprecated" warnings and therefore the headers are already send in scripts. Maybe more info in upstream bug: http://pear.php.net/bugs/bug.php?id=16508 but the attached patch doesnt apply for me.

Greetings
Volker Gropp

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32 (SMP w/8 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages php-mdb2 depends on:
ii  php-pear                      5.3.1-5    PEAR - PHP Extension and Applicati

php-mdb2 recommends no packages.

php-mdb2 suggests no packages.

-- no debconf information





More information about the pkg-php-maint mailing list