On Sat, June 23, 2007 08:57, Tomas Kuliavas wrote: >> when i activate the filters i often get the following errors: >> >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /home/squirrelmail_econ/www/functions/page_header.php:54) in >> /home/squirrelmail_econ/www/functions/page_header.php on line 46 >> >> >> Warning: Cannot modify header information - headers already sent by >> (output started at >> /home/squirrelmail_econ/www/functions/page_header.php:54) in >> /home/squirrelmail_econ/www/functions/page_header.php on line 47 >> >> >> SquirrelMail notice messages >> Category: IMAP >> Message: Your IMAP server returned an error. Please contact your system >> administrator and report this error. REQUEST: >> RESPONSE: 11 >> MESSAGE: FETCH (FLAGS (\Deleted)) >> >> >> Terminating SquirrelMail due to a fatal error >> > > Some code calls displayHtmlHeader() function twice on same page. In > SquirrelMail > 1.5.1 "Cannot modify header information ... in page_header.php on line 46" > means that some script started output before page headers are sent. > Scripts must be > fixed, because they are violating html formating and SquirrelMail 1.5.1 > does not tolerate such mistakes. > > Could you provide more information? > > > - Script which displays this message this message is displayed in the main page of SM. > - Your filtering rules If To contains squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx then move to mylists > - Your IMAP server and $imap_server_type setting. i'm using Courier-IMAP, not sure about the $imap_server_type setting. I've left the default > > Could you disable > '$squirrelmail_plugin_hooks['webmail_bottom']['filters'] = > 'start_filters_hook';' line in plugins/filters/functions.php and see if it > fixes some of filtering issues. Line is disabled by putting two / in front > of it. > > --- one line -- > // $squirrelmail_plugin_hooks['webmail_bottom']['filters'] = > 'start_filters_hook'; > --- > > > If I remember correctly, filters plugin can't handle errors in 1.5.1 > webmail_bottom hook. > > > Another problem related to filters is that, incoming mails that match the filtering options are actually copied to the desired folder and not moved. Thanks, Alexandros -- 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