Unable to add cookies, header already sent. class_core.php

  • Time
  • Show
Clear All
new posts
  • hornstar6969
    Senior Member
    • Aug 2005
    • 1818
    • 3.8.x

    Unable to add cookies, header already sent. class_core.php

    Just sent this to the support ticket thing, but seeing if anyone here knows how to fix this, I also posted this error over at http://www.vbulletin.org/forum/showt...306#post824306

    got this major error just at the end of doing the product for Advanced Warning System posted here http://www.vbulletin.org/forum/showt...306#post824306

    Warning: Invalid argument supplied for foreach() in /includes/class_core.php on line 2727

    Unable to add cookies, header already sent.
    File: /home/gamerzne/public_html/forums/includes/class_core.php
    Line: 2948

    Line 2948 is this

    2948 - echo "<br /><strong>Warning</strong>: $errstr in
    2949 - <strong>$errfile</strong> on line <strong>$errline</strong><br />";
    2950 - break;

    My site is http://www.gamerzneeds.net/forums

    I have tried restoring all the original /includes/ files and also checked to make sure there was no white space, but nothing seems to be fixing this.

    I need to get my site back up asap, do you know what is causing this, i heard it was something to do with echo, thanks, hope you know what to do lol

    I'm using VB 3.5.1

    Thanks if anyone knows how to fix this, need to get back up asap


    Well this is what i got from vbulletin support staff


    We can't offer official support for code modifications or for forums running modified code. Please ask for help with this from the author of the plugin.

    Best Regards,
    Colin Frei
    vBulletin Support Team

    So they were no help, couldnt even try and help me to get the forums back to the way they were.

    Anyone know how to atleast get my forums working again, without having to restore my whole database and forums?

    I already totally replaced most files, still no good tho, looking for any help right now, thanks
    Last edited by hornstar6969; Fri 18 Nov '05, 3:08am.
    Selling my BigBoard GamerzNeeds.net/forums Threads: 193 502, Posts: 1 540 045, Members: 718 566 It is listed here http://forums.digitalpoint.com/showt...3#post18297060

  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    To troubleshoot this, the first thing you need to do is remove any hacks or plugins, then see if you still have this problem.

    If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

    Next, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it. Do you have the same problem?
    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.


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