Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

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

    Scheduled Pinned Locked Moved Development
    1 Posts 1 Posters 1.5k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Alextopost
      last edited by

      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
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post