* On 05/06/07 10:40 -0500, Marc Powell wrote: | | | > -----Original Message----- | > From: squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx | > [mailto:squirrelmail-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of | > Odhiambo Washington | > Sent: Tuesday, June 05, 2007 10:26 AM | > To: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx | > Subject: "SquirrelMail notice messages" displaying on every | e- | > mail | > | > I am running SM-1.5.1 under php-4.4.x and php-5.2.x on FreeBSD. | > With php-5.2.x, I get "SquirrelMail notice messages" being displayed | > below almost every e-mail which I open. And it is always something | > like this: | > | > category: PHP | > Message: preg_split() expects parameter 4 to be long, string given | > FILE: /usr/local/www/domainpanel/webmail-151/squirrelmail- | > 1.5.1/functions/imap_messages.php | > LINE: 926 | > Category: PHP | > Message: Invalid argument supplied for foreach() | > FILE: /usr/local/www/domainpanel/webmail-151/squirrelmail- | > 1.5.1/functions/mime.php | > LINE: 52 | > | > | > | > How do I stop this from happening? It's annoying my users. | | Disabling php error display in php.ini would be the quickest way... I have, in php.ini: error_reporting = E_ALL & ~E_NOTICE display_errors = Off So, I simply need to s/E_ALL & ~E_NOTICE/E_ERROR/, yes? cheers - wash +----------------------------------+-----------------------------------------+ Odhiambo Washington . WANANCHI ONLINE LTD (Nairobi, KE) | wash () WANANCHI ! com . 1ere Etage, Loita Hse, Loita St., | GSM: (+254) 722 743 223 . # 10286, 00100 NAIROBI | GSM: (+254) 733 744 121 . (+254) 020 313 985 - 9 | +---------------------------------+------------------------------------------+ "Oh My God! They killed init! You Bastards!" --from a /. post ------------------------------------------------------------------------- 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