Fatal error: Database class not found

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Carlostit
    New Member
    • Nov 2014
    • 1
    • 4.2.x

    Fatal error: Database class not found

    I've filled out the config.php area out numerous times, re-uploaded the files, and so much more to ensure I got everything right, yet it STILL shows this. What can I do?
  • donald1234
    Senior Member
    • Oct 2011
    • 1953
    • 4.1.x

    #2
    What text editor are you using? Notepad++ is the one that works with windows.

    Do you have "localhost" for database server?

    Comment

    • kh99
      Senior Member
      • Aug 2009
      • 533

      #3
      In your config.php file, what do you have for $config['Database']['dbtype']? It should be 'mysql' or 'mysqli', like:
      PHP Code:
      $config['Database']['dbtype'] = 'mysql'
      If you have anything else there then you could get that error.

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...