Fatal error: Database class not found during Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Verdemis
    New Member
    • Jul 2014
    • 6
    • 5.0.X

    Fatal error: Database class not found during Installation

    Hello,

    i'm trying to install vBulletin, but during the installation i get this message:

    Fatal error: Database class not found

    I uploaded everything from the upload folder on my webserver. Then i started the installtion process. I entered the database connection data an the config file was generated. Then i was told to delete the makeconfig file. After i deleted it, i returned to the installation and got the error message above. I deleted everything and tryed it again... same problem again.

    Does anyone know what i did wrong?

    Best,
    Verdemis
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24288
    • 6.0.X

    #2
    Open up this file:
    /core/includes/config.php

    Check line 34 (approx).

    It should say:
    PHP Code:
    $config['Database']['dbtype'] = 'mysqli'

    If not, change it to that, save and upload.
    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

    • Verdemis
      New Member
      • Jul 2014
      • 6
      • 5.0.X

      #3
      EDIT: Damn... ok that was to soon... when i go back to the install.php i had to enter my member code again and after that, i get a blank page...

      Finally... thank you so much
      Now i can finally install and hopefully don't run into other errors ^^
      Last edited by Verdemis; Mon 7 Jul '14, 4:47am.

      Comment

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

        #4
        Blank page usually means the database credentials are incorrect in the same file as mentioned above.
        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

        • Verdemis
          New Member
          • Jul 2014
          • 6
          • 5.0.X

          #5
          I checked the database credentials and they are correct.
          Any idea what it can be else?

          Comment

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

            #6
            Please submit a support ticket so we can have a look at your set up.
            We'll need ftp access so we can upload a test file and check your database credentials, php version etc.

            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

            • Verdemis
              New Member
              • Jul 2014
              • 6
              • 5.0.X

              #7
              I found another error in the apache logs: PHP Fatal error: Class 'vB' not found

              Do you know what i can do?

              Comment

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

                #8
                Have you submitted a support ticket? We will need to have a look at your setup.
                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

                • Verdemis
                  New Member
                  • Jul 2014
                  • 6
                  • 5.0.X

                  #9
                  Ok i will submit a ticket later the day. thx

                  Comment

                  • Lynne
                    Former vBulletin Support
                    • Oct 2004
                    • 26255

                    #10
                    What version of PHP and MySQL is on your server? For vB5, you must have PHP5.3.7 or greater and MySQL 5.1.5 or greater and also requires that you have cURL installed. It is recommended to use PHP 5.4, or later and MySQL 5.5 or later.

                    Please don't PM or VM me for support - I only help out in the threads.
                    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                    Want help modifying your vbulletin forum? Head on over to vbulletin.org
                    If I post CSS and you don't know where it goes, throw it into the additional.css template.

                    W3Schools <- awesome site for html/css help

                    Comment

                    • Idawg
                      New Member
                      • Nov 2007
                      • 25
                      • 4.2.x

                      #11
                      Originally posted by Mark.B
                      Open up this file:
                      /core/includes/config.php

                      Check line 34 (approx).

                      It should say:
                      PHP Code:
                      $config['Database']['dbtype'] = 'mysqli'

                      If not, change it to that, save and upload.
                      In order for me to get my upgrade to start. I had to use mysql rather than mysqli ....
                      "Democracy is two wolves and a lamb voting on what to have for lunch.
                      Liberty is a well-armed lamb contesting the vote."
                      Benjamin Franklin, 1759

                      Comment

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

                        #12
                        Originally posted by Idawg

                        In order for me to get my upgrade to start. I had to use mysql rather than mysqli ....
                        The advice I gave was specific to the thread starter.

                        If you are having the same issue, please start your own thread with full details of the problem.
                        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

                        Related Topics

                        Collapse

                        Working...