Announcement

Collapse
No announcement yet.

HTTP Error 500 even renamed htaccess.txt to .htaccess

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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 10th Dec '17, 10:02pm.

  • #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.
    vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
    Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters, FavIcon Notifications, Memberlist-Name-Search, New&Free: vB5 MemberMap

    Comment


    • #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


      • #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

        TalkNewsUK - My vBulletin 5.5.2 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #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


          • #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 customization and demonstration site.
            vBulletin 5 Documentation - Updated every Friday. Report issues here.
            vBulletin 5 API - Full / Mobile
            I am not currently available for vB Messenger Chats.

            Comment


            • #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


              • #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 customization and demonstration site.
                vBulletin 5 Documentation - Updated every Friday. Report issues here.
                vBulletin 5 API - Full / Mobile
                I am not currently available for vB Messenger Chats.

                Comment

                Related Topics

                Collapse

                Working...
                X