datebase error help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • voyger
    Senior Member
    • Jun 2017
    • 381

    datebase error help

    don't know if this is the right section if not pleas move
    hi all i am try to install vb5 on anther server
    i get this error can pleas somebody help what this mean and how to solve

    thanks

    error
    ParseError
    : syntax error, unexpected 'Database' (T_STRING) in
    /home/clients/21143e8b83f7568da4039b68d3d6faa4/web/forum/includes/config.php
    on line
    35
    voyger.: In Almighty God I trust, everyone else has to provide evidence."

    vBulletin Version 5.5.5
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    What is your php version?

    Looks like an error in your editing of the config file though.
    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

    • voyger
      Senior Member
      • Jun 2017
      • 381

      #3
      php version it is 7.1

      thanks for you kindle replay
      voyger.: In Almighty God I trust, everyone else has to provide evidence."

      vBulletin Version 5.5.5

      Comment

      • voyger
        Senior Member
        • Jun 2017
        • 381

        #4
        i get this error

        parse error: syntax error, unexpected 'Database' (T_STRING)
        /* #### TABLE PREFIX ####
        Prefix that your vBulletin tables have in the database. */
        $config['Database']['tableprefix'] = '';

        can you help tell as what word i have to put there?
        as i been try everything nothing work need badly you help

        thanks regards
        voyger.: In Almighty God I trust, everyone else has to provide evidence."

        vBulletin Version 5.5.5

        Comment

        • BirdOPrey5
          Senior Member
          • Jul 2008
          • 9613
          • 5.6.3

          #5
          If this is a new install of a fresh forum you can keep the line
          Code:
          $config['Database']['tableprefix'] = '';
          Exactly how it is.

          The error is probably on the last line of PHP code (not a comment) above this line.

          Probably the line:

          Code:
          $config['Database']['dbname'] = 'forum';
          Did you edit the 'forum' part? make sure single quotes around whatever database name you used and that it ends with a semi-colon ( ; ).

          Comment

          • voyger
            Senior Member
            • Jun 2017
            • 381

            #6
            thanks joe d did solve the prob most appreciated

            regards
            voyger.: In Almighty God I trust, everyone else has to provide evidence."

            vBulletin Version 5.5.5

            Comment

            Related Topics

            Collapse

            Working...