On Wed, June 20, 2007 11:07 am, Alexandros Fragkiadakis wrote: > On Tue, June 19, 2007 3:11 pm, Tomas Kuliavas wrote: > >>> hi, >>> >>> i've recently upgraded php to version 5.2.3. When i open an email, at >>> the bottom of the page there is an error: >>> >>> SquirrelMail notice messages >>> >>> >>> >>> Category: PHP >>> Message: preg_split() expects parameter 4 to be long, string given >>> FILE: /home/squirrelmail_econ/www/functions/imap_messages.php >>> LINE: 926 >>> Category: PHP >>> Message: Invalid argument supplied for foreach() >>> FILE: /home/squirrelmail_econ/www/functions/mime.php >>> LINE: 52 >>> >>> >>> >>> >>> what can be wrong? >> >> You are running SquirrelMail 1.5.1. Issue is fixed in 1.5.2svn. >> >> >> >> http://sourceforge.net/support/tracker.php?aid=1543573 >> >> > Thanks for your reply. I've replaced $regs[1],-1,'PREG_SPLIT_NI_EMPTY'); > with $regs[1],-1,'PREG_SPLIT_NO_EMPTY'); > > but the problem still exists. Am i doing something wrong? > > > Regards, > > > Alexandros > > OOps! it's PREG_SPLIT_NO_EMPTY and not 'PREG_SPLIT_NO_EMPTY'. I think problem is solved now :) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users