Syntax error on install.php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • leon.henriques
    New Member
    • Dec 2017
    • 6
    • 5.3.x

    Syntax error on install.php

    Hi, just bought the Vbulletin 5 and I have followed all of the recommended procedures to prepare for the install, but instead going to the installation page I get the following error

    Parse error: syntax error, unexpected T_FUNCTION in /home/storage/3/ec/a1/portalbigtrails/public_html/forum5/core/install/includes/class_upgrade.php on line 854

    Any ideas that can help me solve this?
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24286
    • 6.0.X

    #2
    Looks like you may have made a mistake in editing the /core/includes/config.php file. Deleting a quote mark ' or semi-colon ; can cause this.
    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

    • bootsie1
      Senior Member
      • Jun 2017
      • 150
      • 5.3.x

      #3
      What version of php are you using
      Cometbar

      DartsLeague

      Comment

      • leon.henriques
        New Member
        • Dec 2017
        • 6
        • 5.3.x

        #4
        I'm using the last one, vBulletin 5.3.4

        Comment

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

          #5
          Originally posted by leon.henriques
          I'm using the last one, vBulletin 5.3.4
          We need the php version please, not the vBulletin version.

          vB5 needs a minimum of php 5.6.
          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

          • leon.henriques
            New Member
            • Dec 2017
            • 6
            • 5.3.x

            #6
            Originally posted by Mark.B
            Looks like you may have made a mistake in editing the /core/includes/config.php file. Deleting a quote mark ' or semi-colon ; can cause this.
            Hi Mark.B,
            I Double checked now, and there is nothing wrong with the file,
            Can't be anything else?

            Comment

            • leon.henriques
              New Member
              • Dec 2017
              • 6
              • 5.3.x

              #7
              Ops haha

              I just checked now, it is PHP Version 5.2.17 according my VB4 Forum PHP Info.
              Thank's! I'm shamed for not checking that, forgot that I was on an old server.

              Comment

              • leon.henriques
                New Member
                • Dec 2017
                • 6
                • 5.3.x

                #8
                Ok, i configured a new server now, this time running php 7.
                But now I'm getting an HTTP ERROR 500 everywhere. That makes impossible to run the install.php
                Any ideias what that could be now?

                Comment

                • In Omnibus
                  Senior Member
                  • Apr 2010
                  • 2310

                  #9
                  Originally posted by leon.henriques
                  Ok, i configured a new server now, this time running php 7.
                  But now I'm getting an HTTP ERROR 500 everywhere. That makes impossible to run the install.php
                  Any ideias what that could be now?
                  You need the server logs to determine the cause of a 500 error.

                  Comment

                  • Wayne Luke
                    vBulletin Technical Support Lead
                    • Aug 2000
                    • 73986

                    #10
                    Originally posted by leon.henriques
                    Ok, i configured a new server now, this time running php 7.
                    But now I'm getting an HTTP ERROR 500 everywhere. That makes impossible to run the install.php
                    Any ideias what that could be now?
                    You need to review your HTTP and PHP Error logs and determine what the error is. We can help.

                    A common issue is that the iconv library isn't installed in PHP.
                    Translations provided by Google.

                    Wayne Luke
                    The Rabid Badger - a vBulletin Cloud demonstration site.
                    vBulletin 5 API

                    Comment

                    Related Topics

                    Collapse

                    Working...