No announcement yet.

Unable to add cookies, header already sent.

  • Filter
  • Time
  • Show
Clear All
new posts

  • Unable to add cookies, header already sent.

    Hi everyone,

    I'm writing an own PHP-driven "front-end" in PHP/XHTML for my website.

    When trying to make use of the vBulletin info (check if user is logged in etc), I get this error message:

    "Unable to add cookies, header already sent."

    Running the PHP-script directly works, but not when the script is used with "include 'myphpscript.php'" inside the main PHP script.

    Any ideas?

  • #2
    Since this requires custom coding, try asking for help with this over at
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography

    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    • #3
      If the "include"-line with the vBulletin script is FIRST in my PHP-script, it works.

      But if it's after anything else that has used the php "print" to show output on the screen, the error apears.


      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.