Parse error: syntax error, unexpected

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • webasker
    Member
    • Dec 2011
    • 82

    [Forum] Parse error: syntax error, unexpected

    i have that error..!
    PHP Code:
    Parse errorsyntax errorunexpected T_ENCAPSED_AND_WHITESPACEexpecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/webasker/public_html/includes/class_core.php(4637) : eval()'d code on line 32 
    what i need to doo.!!

    please help step to step.. don´t say refresh or reupload you file i have do all that, after to day come this error again..!


    PLESE HELP MY
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    Disable all your plugins and see if that fixes it.

    The error you are getting is from a modification.

    Sent from my iPhone using Forum Runner
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Abdulla Ashoor
      Senior Member
      • Feb 2005
      • 628
      • 5.6.4

      #3
      Yes as what Mark.B said, disable plugins to do that:

      To disable the plugin system, edit config.php and add this line right under <?php

      PHP Code:
      define('DISABLE_HOOKS'true); 
      Please feel free to contact me if you have any questions or concerns

      Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
      vBulletin 5 Connect: Extensions - Articles - Features - Purchases

      Comment

      • webasker
        Member
        • Dec 2011
        • 82

        #4
        Originally posted by Mark.B
        Disable all your plugins and see if that fixes it.

        The error you are getting is from a modification.

        Sent from my iPhone using Forum Runner
        how can i disable all my plugins.!

        and i have try add that code..>>

        PHP Code:
        define('DISABLE_HOOKS'true); 
        is dont workit..!

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24286
          • 6.0.X

          #5
          You need to edit the file /includes/config.php, at the very top you will see this:
          PHP Code:
          <?php
          Immediately below it add this:
          PHP Code:
          define('DISABLE_HOOKS'true); 
          Save and upload that.

          If the problem has gone away, then you know that one of your plugins is causing the error.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • webasker
            Member
            • Dec 2011
            • 82

            #6
            mark.b my problem is stile the same.. is dont workit i have try that..!

            i can go to admincp/index.php but not ind forum.php

            Comment

            • Thunderbird
              Senior Member
              • Jan 2010
              • 128
              • 4.2.X

              #7
              Actually, line 4637 in class_core.php isn't a hook call. It looks like a template thing.

              eval('$final_rendered = "' . $template_code . '";');

              Comment

              • webasker
                Member
                • Dec 2011
                • 82

                #8
                Originally posted by Thunderbird
                Actually, line 4637 in class_core.php isn't a hook call. It looks like a template thing.

                what is it exacly i need to do

                Comment

                • Mark.B
                  vBulletin Support
                  • Feb 2004
                  • 24286
                  • 6.0.X

                  #9
                  If you can get into th admincp, go into the style manager and create a new style with no parent.
                  Make a note of the styleid number of that style (should be displayed after you create it, if not go into the settings for that new style afterwards).

                  Then visit your forum like this:

                  www.yourdomain.com/whatever/forum.php?styleid=x

                  Where x is the id of your new style.

                  This should display the forum in the default style. Does the problem still occur?
                  MARK.B
                  vBulletin Support
                  ------------
                  My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                  My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                  Comment

                  • webasker
                    Member
                    • Dec 2011
                    • 82

                    #10
                    i have only problem ind my forum.php iff i go under http://webasker.net/forumdisplay.php...er-Yar%FD%FEma or other so is working..

                    but if i go to homepage forum.php so come that error..

                    i cant not go ind to admincp rigth know, becuse i have enter my password wrong, so i banned 15 minuts

                    Comment

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