Ticket #1484860 (closed Patches: fixed)

Opened 10 months ago

Last modified 10 months ago

headers already sent in program/include/rcube_html.inc on line 163

Reported by: JohnDoh Owned by:
Priority: 5 Milestone: 0.1.1
Component: Client Scripts Version: svn-trunk
Severity: normal Keywords:
Cc:

Description

I know this has been mentioned before and this patch has been around on trac for a while. Any chance it can be applied to the trunk? (sorry the line numbers are wrong, flush() is on line 2451)

*** program/lib/imap.inc     Sat Dec 30 07:03:15 2006
--- program/lib/imap.inc.new Thu Apr 12 10:43:11 2007
***************
*** 1977,1983 ****
        if (fputs($fp, $request)){
                $line=iil_ReadLine($fp, 100);
                $sent = fwrite($fp, $message."\r\n");
-               flush();
                do{
                        $line=iil_ReadLine($fp, 1000);
                }while($line[0]!="A");
--- 1977,1982 ----

The error "headers already sent in program/include/rcube_html.inc on line 163" occurs when saving a draft or sending a message. rcube_html.inc tries to set the charset but cant becuase flush has allready be called.

Change History

Changed 10 months ago by tensor1982

I am seeing this on 0.1 stable too...

Changed 10 months ago by thomasb

  • status changed from new to closed
  • resolution set to fixed

Fixed in r1188

Note: See TracTickets for help on using tickets.