From vahan@arminco.com Sat Jul 14 15:57:34 2007 From: Vahan Yerkanian To: dev@lists.roundcube.net Subject: php 5.2.1 errors Date: Thu, 15 Feb 2007 14:14:20 +0400 Message-ID: <45D4327C.2030607@arminco.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7901990791929127509==" --===============7901990791929127509== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi all, I've just upgraded my server to PHP 5.2.1, and roundcube stopped working , here is what I get every time I access the directory root: [15-Feb-2007 14:10:03] PHP Warning: preg_split() [function.preg-split]: Compilation failed: lookbehind assertion is not fixed length at offset 7 in /usr/local/www/roundcube/program/lib/DB/common.php on line 751 [15-Feb-2007 14:10:03] PHP Warning: Invalid argument supplied for foreach() in /usr/local/www/roundcube/program/lib/DB/common.php on line 756 [15-Feb-2007 14:10:03 +0400] DB Error: DB Error: mismatch Query: [DB Error: mismatch] in /usr/local/www/roundcube/program/include/rcube_db.inc on line 501 [15-Feb-2007 14:10:03] PHP Fatal error: Call to a member function fetchRow() on a non-object in /usr/local/www/roundcube/program/include/rcube_db.inc on line 368 Looking at /usr/local/www/roundcube/program/lib/DB/common.php:751 seems this preg_split is causing the error: function prepare($query) { $tokens = preg_split('/((?