Announcement

Collapse
No announcement yet.

Error in classcore.php

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Error in classcore.php

    Hi
    suddenly I got the following error on my site, at the top of main page

    Parse error: syntax error, unexpected '<' in C:\.......\VbForum\includes\class_core.php(4010) : eval()'d code on line 126
    and if I try to read a post ..

    Unable to add cookies, header already sent.
    File: C:\......\VbForum\includes\class_core.php(4010) : eval()'d code
    Line: 126
    Someone can help me ?
    Thanks

    cu
    May the force be with you.
    http://www.satnews.tv.it

  • #2
    This error is from a plugin you've installed. You need to disable each of your plugins then turn one at a time to see which one is causing this.

    If you cannot log into the Admin CP then to disable the plugin system, edit config.php and add this line right under <?php

    define('DISABLE_HOOKS', true);

    This will disable all hooks and allow you to log in properly with no hooks running.

    http://www.vbulletin.com/docs/html/disable_plugins
    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.


    Comment


    • #3
      Hi Steve
      thanks for the answer.
      Regardless of the fact that I' ve not installed any plugin from days and I'm the only one with admin access I' disabled all plugin present in the list from admin CP but the error is still there

      Thanks

      cu
      May the force be with you.
      http://www.satnews.tv.it

      Comment


      • #4
        Eval() error are alwasy from modification.

        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 vB Blog and vB CMS if you are running the Suite.)

        Admin CP -> Plugins & Products -> Manage Products -> Disable

        Then manually uncheck all plugins that are not for 'vBulletin Blog' and vBulletin CMS' here:

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


        Comment


        • #5
          Hi Steve
          I'll perform the first step of you post as soon as possibl. Thes trange is that I cannot change style and If I set a diffeent default style from Admin CP this does not work and I've always same style, even
          creating a new one

          cu
          May the force be with you.
          http://www.satnews.tv.it

          Comment


          • #6
            What version of vBulletin are you running?

            Comment


            • #7
              Hi Zachery
              the version is 4.0.2patch level 4. To make my forum work I had to delete all styles and then IƬve install only one. All directory on styles were wrong !!!
              I don't know what happened...

              cu
              May the force be with you.
              http://www.satnews.tv.it

              Comment

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