[imp] Dimp : "headers already sent" errors in logs

Michael M Slusarz slusarz at horde.org
Wed Apr 8 16:20:12 UTC 2009


Quoting Emeric Jhelil <Emeric.Jhelil at univ-lemans.fr>:

> Michael M Slusarz a écrit :
>> Quoting Emeric Jhelil <Emeric.Jhelil at univ-lemans.fr>:
>>
>>> if compress_pages = true and flush is commented out, "no problem"
>>> (compress_pages has been modified by the admin interface)
>>
>> This is irrelevant.  Without the flush() call we simply eat and  
>> discard any unexpected output later in the process (see  
>> dimp/imp.php).  You should be running Horde logs at a debug level  
>> to see what this output is.
>>
>> michael
> That is why I put double quotes. I clearly understand it is not a  
> solution, but I wanted to say that dimp sends an output that seems  
> to be "correct" (maybe it is not at all but it is more like the  
> usual page rather than a blank page).
>
> I have set in horde/config/conf.php
> $conf['debug_level'] = E_ALL;
> $conf['log']['priority'] = PEAR_LOG_DEBUG;
> $conf['log']['type'] = 'file';
> $conf['log']['enabled'] = true;
> and in horde/dimp/config/conf.php
> $conf['js']['debug'] = true

It looks like you have not specified the filename to log to.

Unexpected output in dimp is logged at the bottom of dimp/imp.php (in  
DIMP 1.x).  I believe it is logged at a PEAR_LOG_DEBUG level.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the imp mailing list