HTTP Error 500 even renamed htaccess.txt to .htaccess

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pjk
    Member
    • Apr 2002
    • 41

    HTTP Error 500 even renamed htaccess.txt to .htaccess

    Dear who may concern,

    Just bought new license and install new site from scratch on new server.

    But after finish create config.php and delete makeconfig.php I got HTTP Error 500 and in error log said
    PHP Fatal error: Cannot redeclare class vB_dB_Assertor in /home/myautofour/domains/myautofourthirds.com/public_html/forum/core/vb/db/assertor.php on line 18 I searched and try to rename htaccess.txt to .htaccess or even delete it but I still get HTTP ERROR 500

    run vb_test.php the result just fine as show in the attachment.

    What should I do next?

    The error site URL is : https://www.myautofourthirds.com/forum/

    Server : CentOS 6
    Apache 2.0
    PHP 5.6.32
    MariaDB 10.2.11

    Thank you
    Attached Files
    Last edited by pjk; Sun 10 Dec '17, 10:02pm.
  • delicjous
    Senior Member
    • Mar 2014
    • 499
    • 6.X

    #2
    You must have the .htaccess file in your root forum folder. If you delete the file the forum could not work correctly.
    If you have a htaccess.txt file you have to rename it to .htaccess. If you allready delete it, upload it again and rename it to .htaccess if necessary.

    Comment

    • pjk
      Member
      • Apr 2002
      • 41

      #3
      Thanks you.

      Now the file were there (forum root folder) as name of ".htaccess" but still got http error 500. anything else I could do?

      Comment

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

        #4
        A 500 error is a server error and it doesn't tell us anything more than that. You will need to check your server error logs and find the real error behind this, and post back so we can assist.
        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

        • pjk
          Member
          • Apr 2002
          • 41

          #5
          The error log said

          PHP Fatal error: Cannot redeclare class vB_dB_Assertor in /home/myautofour/domains/myautofourthirds.com/public_html/forum/core/vb/db/assertor.php on line 18 I

          Comment

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

            #6
            Make sure you have deleted all vBulletin 3 and 4 files. We recommend that vBulletin 5 is installed in its own empty directory. The only folders that should be moved over are attachments (if stored in the file system) and customavatars (if stored in the file system).
            Translations provided by Google.

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

            Comment

            • pjk
              Member
              • Apr 2002
              • 41

              #7
              Finally I found out,

              when making config.php I though mysqli is default so I just leave database type as blank, I just edited config.php by fullfill the database type to "sqli" and it work.

              Thanks you for your help.

              Comment

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

                #8
                mysqli is default on new installations. That is why it is in the file the way it is. Actually, mysqli is the only class supported by vBulletin at this time since none of the minimum required versions of PHP support the mysql class anymore.
                Translations provided by Google.

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

                Comment

                Related Topics

                Collapse

                Working...