Menu

Warning: main(DB.php) [function.main]

Help
2008-02-09
2013-04-16
  • Nobody/Anonymous

    I get this error after installation of 1.0.4 over 1.0.3. There is no db.php on my server. How to fix this?

    Warning: main(DB.php) [function.main]: failed to open stream: No such file or directory in /home/vhosts/server.nl/public/www/bugs/include.php on line 48

    Fatal error: main() [function.require]: Failed opening required 'DB.php' (include_path='.:/usr/share/pear') in /home/vhosts/server.nl/public/www/bugs/include.php on line 48

     
    • Nobody/Anonymous

      OK, sorry to bother you. I fixed this by changing this line in config.php:

      define('PEAR_PATH', 'inc/pear/'); // Blank, or path to Pear::DB library directory containing DB.php (See http://pear.php.net/\)

       
    • Nobody/Anonymous

      You (or your Provider) have to install the PEAR-Packet on the Server

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.