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.6k 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

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • First post
        Last post