New install, error 500

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JohnPBee
    Member
    • Oct 2015
    • 54
    • 5.3.x

    New install, error 500

    I've never had this happen before with vB installation but I can't seem to get past the initial configuration stage of the installation process.
    Upload all files, default folders, run install.php and write config files. Delete config.php.bkp and re-run install.php, get error 500
    Server is running php 5.6.30
  • JohnPBee
    Member
    • Oct 2015
    • 54
    • 5.3.x

    #2
    Okay, so it looks like mysqli wasn't installed under php extensions.
    With that said, I'm now getting the following during the installation process;

    The server returned no response. This is probably due to a timeout setting. Please contact vBulletin Support for assistance

    Script: install
    Step: 6

    Comment

    • vBTube
      Member
      • Sep 2012
      • 52
      • 5.3.x

      #3
      What is your mysql version ?

      (vBulletin 5.3.1+ requires PHP 5.6.0+ and MySQL 5.1.5+. )

      Comment

      • JohnPBee
        Member
        • Oct 2015
        • 54
        • 5.3.x

        #4
        Originally posted by vBTube
        What is your mysql version ?

        (vBulletin 5.3.1+ requires PHP 5.6.0+ and MySQL 5.1.5+. )
        php 5.6.30
        MySQL 5.6.35

        Comment

        • In Omnibus
          Senior Member
          • Apr 2010
          • 2310

          #5
          500 is a general server error, not a vBulletin error.

          As an aside, there is no reason to delete the config.php.bkp file. That is the presentation config file and is used by the makeconfig script to create the config.php file which should be in the same location. vB5.x has two config files, one in the core/includes folder and one in the public_html folder.

          Do the server error logs have any information?

          Often times a page refresh will allow the installation script to continue. Depending on your hosting (cough, GoDaddy, cough) you may have to do this several times.

          Comment

          • JohnPBee
            Member
            • Oct 2015
            • 54
            • 5.3.x

            #6
            Originally posted by In Omnibus
            Do the server error logs have any information?
            Server log shows nothing

            Often times a page refresh will allow the installation script to continue. Depending on your hosting (cough, GoDaddy, cough) you may have to do this several times.
            Yes, I tried that but it only starts the process over again and times-out at the very same place - tried aprox. 10 times in a row - no change.

            Comment

            • vBTube
              Member
              • Sep 2012
              • 52
              • 5.3.x

              #7
              What exactly happens in Script: install
              Step: 6

              Expand the details and copy paste the last action.

              Comment

              • JohnPBee
                Member
                • Oct 2015
                • 54
                • 5.3.x

                #8
                • ...
                • Inserting default data into usertitle
                • Step 5 - General settings saved
                • Step 6 - The server returned no response. This is probably due to a timeout setting. Please contact vBulletin Support for assistance
                • Status: Aborted

                Comment

                • vBTube
                  Member
                  • Sep 2012
                  • 52
                  • 5.3.x

                  #9
                  Maybe it helps when increasing php max execution time ?

                  Comment

                  • JohnPBee
                    Member
                    • Oct 2015
                    • 54
                    • 5.3.x

                    #10
                    Originally posted by vBTube
                    Maybe it helps when increasing php max execution time ?
                    Mine is currently set to 90 seconds.
                    I guess I could try it even higher and see if that makes any difference.

                    Comment

                    • JohnPBee
                      Member
                      • Oct 2015
                      • 54
                      • 5.3.x

                      #11
                      I bumped it up to 180 and still get the error.
                      BTW the error is immediate, the moment the process moves to step 6, it returns the error.

                      Comment

                      • In Omnibus
                        Senior Member
                        • Apr 2010
                        • 2310

                        #12
                        Originally posted by JohnPBee
                        I bumped it up to 180 and still get the error.
                        BTW the error is immediate, the moment the process moves to step 6, it returns the error.
                        Setting the timeout setting that high is only going to cause the server to lock up. It won't resolve the issue.

                        When the script stops try changing it from install.php to upgrade.php and continuing. Refresh the page if necessary.

                        Comment

                        • JohnPBee
                          Member
                          • Oct 2015
                          • 54
                          • 5.3.x

                          #13
                          Originally posted by In Omnibus
                          When the script stops try changing it from install.php to upgrade.php and continuing. Refresh the page if necessary.
                          Same error, though immediately in this particular case;

                          The server returned no response. This is probably due to a timeout setting. Please contact vBulletin Support for assistance

                          Script: final
                          Step: 1

                          PS. vbulletin support have now taken over this matter and will be assisting me from this point forward. Thanks for all the help

                          Comment


                          • In Omnibus
                            In Omnibus commented
                            Editing a comment
                            I think you might need to change a setting in the php.ini file so it's good that vB support is assisting you.
                        • JohnPBee
                          Member
                          • Oct 2015
                          • 54
                          • 5.3.x

                          #14
                          The problem was that JSON was not enabled in my php Extensions
                          I enabled it and everything ran as expected.

                          PS. hope this helps someone else with the same issue. When I checked for php Extensions, I found that the only recommendation was mysqli and xml. But it seems that some configs will require that JSON be manually toggled also.
                          Last edited by JohnPBee; Thu 6 Jul '17, 5:39pm.

                          Comment

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

                            #15
                            You are correct that vBulletin 5 will not work with JSON processing. JSON is a default library compiled into PHP from version 5.2.0 and higher. However, it seems that some linux installations do not follow this standard. JSON Support is listed as required in the vb5readme.html file under Minimum Requirements.
                            Translations provided by Google.

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

                            Comment

                            Related Topics

                            Collapse

                            Working...