Install issue 4.2.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • drbandkgb
    Member
    • Oct 2011
    • 37
    • 4.0.x

    Install issue 4.2.2

    Im installing a new forum and this error popped up once I uploaded to the server.


    Parse error: syntax error, unexpected T_STRING in /home/content/24/8066124/html/frontiernation/includes/config.php on line 35


    I have checked this line of code against an older site thats 4.1.7 and I do not see and difference...

    This is the code

    // ****** TABLE PREFIX ******
    // Prefix that your vBulletin tables have in the database.
    $config['Database']['tableprefix'] = '';
  • BirdOPrey5
    Senior Member
    • Jul 2008
    • 9613
    • 5.6.3

    #2
    put a // in front of the $config['Database']['tableprefix'] = ''; line so it's

    Code:
    //$config['Database']['tableprefix'] = '';
    And try again. Make sure you are using a good text editor like Notepad2 or Notepad++ and not the default Windows Notepad.

    Comment

    • drbandkgb
      Member
      • Oct 2011
      • 37
      • 4.0.x

      #3
      Still same error


      // ****** DATABASE NAME ******
      // This is the name of the database where your vBulletin will be located.
      // This must be created by your webhost.
      $config['Database']['dbname'] = 'frontiernation’;

      // ****** TABLE PREFIX ******
      // Prefix that your vBulletin tables have in the database.
      //$config['Database']['tableprefix'] = '';

      // ****** TECHNICAL EMAIL ADDRESS ******
      // If any database errors occur, they will be emailed to the address specified here.
      // Leave this blank to not send any emails when there is a database error.
      $config['Database']['technicalemail


      here is a little more of the code and Im using Mac if that helps

      Comment

      • donald1234
        Senior Member
        • Oct 2011
        • 1953
        • 4.1.x

        #4
        Yea the email part is incomplete, it should be.

        Code:
        //  ****** TECHNICAL EMAIL ADDRESS ******
            //    If any database errors occur, they will be emailed to the address specified here.
            //    Leave this blank to not send any emails when there is a database error.
        $config['Database']['technicalemail'] = '[email protected]';

        Comment

        • drbandkgb
          Member
          • Oct 2011
          • 37
          • 4.0.x

          #5
          Yeah I left that out on purpose

          Ok so i deleted this on the server and started over...

          I keep getting line by line errors.

          NEW: line 69
          // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
          // This option allows you to turn persistent connections to MySQL on or off.
          // The difference in performance is negligible for all but the largest boards.
          // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
          $config['MasterServer']['usepconnect'] = 0;



          What I do not understand is these are lines of code I haven't touched.

          Comment

          • BirdOPrey5
            Senior Member
            • Jul 2008
            • 9613
            • 5.6.3

            #6
            Code:
            $config['Database']['technicalemail
            If this is how you left the line it would likely cause an error ion the next real line of code. If you want to leave the database email empty it needs to be a complete line:

            Code:
            $config['Database']['technicalemail'] = '';

            Comment

            • drbandkgb
              Member
              • Oct 2011
              • 37
              • 4.0.x

              #7
              No that is not how I left it.

              I have erased this off my server and reloaded many times and I keep getting line errors and many are in lines of code that I haven't done anything with.

              Its very odd.. I installed 4.1.7 2 years ago with zero issues. And now I can't get 4.2.2 to do anything

              I have paid for a pro install from VB and haven't got anything back from them either.. This has been a bummer exp

              Comment

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