Announcement

Collapse
No announcement yet.

Parse error: syntax error, unexpected

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

  • [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

  • #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

    TalkNewsUK - My vBulletin 5.5.6 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #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


      • #4
        Originally posted by Mark.B View Post
        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


        • #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

          TalkNewsUK - My vBulletin 5.5.6 Demo
          AdminAmmo - My Cloud Demo

          Comment


          • #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


            • #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


              • #8
                Originally posted by Thunderbird View Post
                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


                • #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

                  TalkNewsUK - My vBulletin 5.5.6 Demo
                  AdminAmmo - My Cloud Demo

                  Comment


                  • #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...
                    X