Errors when opening forum...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Steel9561
    New Member
    • Feb 2008
    • 16

    Errors when opening forum...

    I get the following errors when trying to open my forum:


    Parse error: syntax error, unexpected T_STRING in /hermes/bosweb10/web069/b690/my.serveroneonone/public_html/community/global.php(834) : eval()'d code on line 58

    Parse error: syntax error, unexpected '=' in /hermes/bosweb10/web069/b690/my.serveroneonone/public_html/community/index.php(596) : eval()'d code on line 12

    Parse error: syntax error, unexpected '=' in /hermes/bosweb10/web069/b690/my.serveroneonone/public_html/community/index.php(597) : eval()'d code on line 50


    Please help!
  • dodgeboard.com
    Senior Member
    • Nov 2005
    • 941
    • 4.0.x

    #2
    Is this after a fresh install?

    Have you installed any modifications. If so disable them.

    If the problem persists, 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.

    Comment

    • cellarius
      Senior Member
      • Aug 2005
      • 4586
      • 3.8.x

      #3
      This is
      from a modification/plugin you have installed. Try disabling them by adding
      Code:
      define('DISABLE_HOOKS', true);
      to your includes/config.php file.

      Ah, dogde was faster.

      Comment

      • dodgeboard.com
        Senior Member
        • Nov 2005
        • 941
        • 4.0.x

        #4
        are we racing?

        Comment

        • Steel9561
          New Member
          • Feb 2008
          • 16

          #5
          No luck...

          Hi everyone, I tried both of your suggestions and I am still getting the errors. I uploaded the original vbulletin files and I added the define HOOK line of code. Any other suggestions?

          Comment

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

            #6
            There are problems with your custom footer, navbar and FORUMHOME templates:

            line 834 of global.php:
            eval('$footer = "' . fetch_template('footer') . '";');

            lines 596 and 597 of index.php
            eval('$navbar = "' . fetch_template('navbar') . '";');
            eval('print_output("' . fetch_template('FORUMHOME') . '");');


            To fix this, revert those templates.
            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

            • ChopSuey
              Senior Member
              • Apr 2009
              • 1164
              • 4.0.0

              #7
              Looks like your missing some template and php file edits for some modification

              Comment

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