Preload output makes PHP throwing "Can't send header information" error



  • Hi there,

    I'm running into trouble with IdoIt 1.48 Open.

    There is a file:
    isys_module_templates.class.php

    On creating instances of a template sometimes the PHP script crashes with a critical error.
    This is caused by lines 548ff.
    I was able to bypass the problem by commenting the concerning if-statement out. I suppose this part of the method is called before header information has been sent completely 😕

      if ($p_html_output)
            {
                // Stop output buffering.
                ob_end_clean();
                ob_flush();
    
                echo "";
                $g_comp_template->display("head.tpl");
                echo "";
            } // if
    
    Please try to fix this issue.
    
    Regards
    
    Alex
    

Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.