Package: egroupware-core Version: 1.2.106-2.dfsg-3 Severity: important Tags: patch
After updating to php5.2.2 the synchronisation with my nokia mobile failed. Reason is, that due to a bug in php 5.2.2 the variable $GLOBALS['HTTP_RAW_POST_DATA']. The following patch solves the issue: In /usr/share/egroupware/phpgwapi/inc/horde/Horde/RPC.php change line 111 to: return implode("", file('php://input')); (in the context: function getInput() { if (isset($GLOBALS['HTTP_RAW_POST_DATA'])) { return $GLOBALS['HTTP_RAW_POST_DATA']; } else { return implode("", file('php://input')); } } ) The original code in this place makes not much sense, why should there a \r\n be added between lines? I hope this patch helps users until php is fixed. tilo -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages egroupware-core depends on: ii apache2 2.2.3-4 Next generation, scalable, extenda ii apache2-mpm-prefork [apache2 2.2.3-4+b1 Traditional model for Apache HTTPD ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy ii libapache2-mod-php5 5.2.2-2 server-side, HTML-embedded scripti ii perl 5.8.8-7 Larry Wall's Practical Extraction ii php-fpdf 1.53.dfsg-5 PHP class to generate PDF files ii php-log 1.9.8-1 Log module for PEAR ii php-pear 5.2.2-2 PEAR - PHP Extension and Applicati ii php5-cli 5.2.2-2 command-line interpreter for the p ii php5-gd 5.2.2-2 GD module for php5 ii php5-mysql 5.2.2-2 MySQL module for php5 ii php5-pgsql 5.2.2-2 PostgreSQL module for php5 Versions of packages egroupware-core recommends: ii mysql-client 5.0.30-3 mysql database client (meta packag ii mysql-client-5.0 [mysql-clien 5.0.30-3 mysql database client binaries ii postgresql-client 7.5.22 front-end programs for PostgreSQL -- debconf information: egroupware/header/password/mismatch: * egroupware/configuration/note: * egroupware/header/user: admin * egroupware/webserver: -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]