Install Script Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mithrus
    Member
    • Jun 2007
    • 44
    • 3.6.x

    Install Script Error

    When I go to run the install script, I get this error:

    Parse error: syntax error, unexpected T_STRING in /home/thinkth1/public_html/forums/upload/includes/config.php on line 60

    When I go to config.php, I see that line 60 is around where it asks for the server name and port. I've left the servername as 'localhost' and the port as '3306.'

    Do I need to change this? Also, if it helps any, when I went to do the install script, I typed in this:



    Nothing popped up; it just took me to the main page of my site. Then I realized that I made a folder called forums when I was uploading all the files, and in forums, I included the upload folder and everything in it. So, I typed this URL in:

    http://www.think-theory.com/forums/u...ll/install.php

    This is when I get the error.
  • Steve Machol
    Former Customer Support Manager
    • Jul 2000
    • 154488

    #2
    That error means that you have a typo in your config.php file at or before line 60. You need to fix this typo, possibly a missing ; or '

    You can compare this to config.php.new to see what the error is.
    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

    • Mithrus
      Member
      • Jun 2007
      • 44
      • 3.6.x

      #3
      I just downloaded the config.php.new fill and realised something while looking at it. With the window open all the way on my text editor, I count down to the 60th line and it ends up on this line:

      $config['MasterServer']['password'] = '';

      When I was looking at the config.php file I uploaded to the server, window is only about 1/3 the size of the whole window, so some of the text that would be one line in my text editor is two lines in my online text editor. This causes the 60th line to be this:

      $config['MasterServer']['port'] = 3306;

      I'm thinking I have a problem with the password. But I'm still not sure what password I should be using (and maybe where to find it).

      Comment

      • RattleSnake
        Banned
        • Jun 2005
        • 419
        • 3.6.x

        #4
        If steve is right, try re downloading the config file via members area.

        Comment

        • Mithrus
          Member
          • Jun 2007
          • 44
          • 3.6.x

          #5
          Originally posted by Steve Austin
          If steve is right, try re downloading the config file via members area.
          That's what I did.

          I downloaded the latest version of vB again, went into includes and found the config.php.new file. Then I changed it to config.php and compared it to the one I have uploaded.

          Comment

          • RattleSnake
            Banned
            • Jun 2005
            • 419
            • 3.6.x

            #6
            Did you re put all the SQL database information in there?

            Comment

            • Mithrus
              Member
              • Jun 2007
              • 44
              • 3.6.x

              #7
              I copy and pasted the new config.php in and I got the pop up. Hopefully all goes smoothly now.

              Comment

              • RattleSnake
                Banned
                • Jun 2005
                • 419
                • 3.6.x

                #8
                It should if you did the process correctly.

                Keep me updated.

                Comment

                • Mithrus
                  Member
                  • Jun 2007
                  • 44
                  • 3.6.x

                  #9
                  It worked!

                  I got it all installed and it looks like it works. However, I didn't realise that I shouldn't have included the upload folder when I was uploading. Like, I should have only uploaded the stuff inside it, but to replace upload with forums, if you know what I mean.

                  So anyway, to get to my forum, you have to type:



                  Basically, I want to take out the upload folder. However, I was wonder if I'll have to reinstall to do this? And if I do, how do I uninstall, if I have to?

                  Comment

                  • RattleSnake
                    Banned
                    • Jun 2005
                    • 419
                    • 3.6.x

                    #10
                    No you wont. Just download the contents of the upload folder. Make sure you save it, delete the upload, and upload the contents you downloaded to forums.

                    If its a forum from scratch, then no worries, delete upload and reupload everything in the upload folder.

                    Comment

                    • Floris
                      Senior Member
                      • Dec 2001
                      • 37767

                      #11
                      Yes, you have to upload the full content of the upload/ folder to the web server with your ftp client. Leaving the directory structure and files as they are.

                      Our online manual has detailed instructions on how to do a first time installation. http://www.vbulletin.com/docs/html

                      Comment

                      • Mithrus
                        Member
                        • Jun 2007
                        • 44
                        • 3.6.x

                        #12
                        I got it al installed fine. Now my main concern is importing everything from my phpBB2 forum to this new, fresh vBulletin one.

                        Is this an easy process?

                        Comment

                        • RattleSnake
                          Banned
                          • Jun 2005
                          • 419
                          • 3.6.x

                          #13
                          Using ImpEx?

                          Depends how big the forum is.

                          Comment

                          • Mithrus
                            Member
                            • Jun 2007
                            • 44
                            • 3.6.x

                            #14
                            Yes, using ImpEx.

                            This is the current forum:



                            It has about 16,500 posts and 80 members.

                            Comment

                            • RattleSnake
                              Banned
                              • Jun 2005
                              • 419
                              • 3.6.x

                              #15
                              Yeah it wont be too bad.
                              Go ahead and try to do it.

                              Comment

                              Related Topics

                              Collapse

                              Working...
                              😀
                              😂
                              🥰
                              😘
                              🤢
                              😎
                              😞
                              😡
                              👍
                              👎