Roundcube logs a lot of 'PHP deprecated' messages

Bug #803299 reported by Brezhonneg
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
php-mdb2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I Installed roundcube (0.5.3+dfsg-1) on oneiric.

Roundcube logs two errors for each and every page load or ajax call. At the end of the day, this makes a huge log... I get the error messages in syslog:

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

In my case, the only problem is that it logs a lot of errors, but a very similar bug was reported on debian with more serious issues:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571702

Apparently, the problem would be fixed by upgrading the php-mdb2 package (2.5.0b2-1 in the repository at the moment) to 2.5.0b3 available upstream.

Roundcube is served by apache2 on my server. Note that I have 'error_reporting = E_ALL & ~E_DEPRECATED' in /etc/php5/apache2/php.ini but that does not seem to be of any help.

Revision history for this message
Brezhonneg (fricompte) wrote :

I still get the same problem with roundcube 0.5.4+dfsg-1

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in php-mdb2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Andreas Ufert (andreas.ufert) wrote :

Same problem here:

[Wed Aug 08 17:41:48 2012] [error] [client x.x.x.x] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 393
[Wed Aug 08 17:41:48 2012] [error] [client x.x.x.x] PHP Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/php/MDB2.php on line 2647

precise (12.04), x86_64

$ dpkg -l | grep roundcube
ii roundcube 0.7.1-2 skinnable AJAX based webmail solution for IMAP servers - metapackage
ii roundcube-core 0.7.1-2 skinnable AJAX based webmail solution for IMAP servers
ii roundcube-pgsql 0.7.1-2 metapackage providing PostgreSQL dependencies for RoundCube

$ dpkg -l | grep php-mdb2
ii php-mdb2 2.5.0b2-1 PHP PEAR module to provide a common API for supported RDBMS
ii php-mdb2-driver-pgsql 1.5.0b2-1 PHP PEAR module to provide a PostgreSQL driver for MDB2

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

Backport of php-mdb2 from quantal to precise would solve bug.

Revision history for this message
Dmitry A. Zhiglov (dmitry-zhiglov) wrote :

2 arcin Juszkiewicz (hrw): How to do backport on precise from quantal?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.