Unable to View Forum or Control Panel

  • Time
  • Show
Clear All
new posts
  • WebGuy75903
    • Nov 2009
    • 45
    • 3.8.x

    [Forum] Unable to View Forum or Control Panel

    Upgraded from version 4.0.2 to 4.0.8 yesterday at around Noon, Eastern time. After the upgrade, I re-opened the forum, all the users came back and everything was normal - No problems whatsoever. Things were fine for at least the next 12 hours. Sometime between that 12th hour and the 16th hour of being back online, an error appeared. It reads:
    Parse error: syntax error, unexpected T_STRING in /**EDITED DIRECTORY PATH**/includes/class_core.php(4074) : eval()'d code on line 1
    Unable to add cookies, header already sent.
    File: /**EDITED DIRECTORY PATH**/includes/config.php
    Line: 2
    That is all that appears on the page. The forum doesn't even attempt to continue to render (as one would expect - Just giving all the information I can possibly think of).

    This error, as stated in the thread title, occurs in both the forum files and in the admincp files (though the issue on the AdminCP area includes only the second part of the error, and not the first. All that I see when I try to get to the AdminCP is "Unable to add cookies, header already sent. File: /**EDITED DIRECTORY PATH**/includes/config.php Line: 2".

    I don't believe for a moment that these errors have anything to do with the upgrade, for if that were the case, the error should have been produced immediately. But it is quite the coincidence.

    Any thoughts or ideas on how best to troubleshoot and get the forum back online? I would appreciate any assistance you might be able to provide. Thank you in advance...

  • Trevor Hannant
    vBulletin Support
    • Aug 2002
    • 24196
    • 5.7.X

    To troubleshoot this, first 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. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

    Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

    [Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

    Next, disable all Products except the vBulletin Blog and vBulletin CMS (Admin CP -> Plugins & Products -> Manage Products -> Disable) AND uncheck all the plugins except those related to the vBulletin Blog and vBulletin CMS by (Admin CP -> Plugins & Products -> Plugin Manager). You must do BOTH of those steps in order to disable all non vBulletin Modifications.

    Then if you still have this problem, 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?
    Vote for:

    - Admin Settable Paid Subscription Reminder Timeframe (vB6)
    - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)


    • WebGuy75903
      • Nov 2009
      • 45
      • 3.8.x

      That seemed to do the trick. Doesn't make a lot of sense to me, but as long as it's working, I guess that's all that matters. Thanks, Trevor.


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