Menu

Hi PHP Report doesn´t work, no found DB.php

Help
2006-09-29
2013-05-28
  • Nelson Peña

    Nelson Peña - 2006-09-29

    require_once 'DB.php'; // especificando o DSN (Data Source Name)

    Warning: Conexao::require_once(DB.php) [function.Conexao-require-once]: failed to open stream: No such file or directory in C:\Apache\htdocs\phpreport-v1.0\classes\Class_Conexao.php on line 14

    Fatal error: Conexao::require_once() [function.require]: Failed opening required 'DB.php' (include_path='.;C:\php5\pear') in C:\Apache\htdocs\phpreport-v1.0\classes\Class_Conexao.php on line 14

     
    • Eric

      Eric - 2006-11-22

      yup, I'm seeing the same error.

      This means that you don't have the DB module which you can get from PEAR.  Just place it at your root includes path.

      @ http://pear.php.net/package/DB

       
    • Pablo Olmos

      Pablo Olmos - 2007-02-06

      Hello,

      I had the same problem and places the Pear DB module inside the classes directory of php-report. The error is gone, but the shown page is empty, not even any html tags are present.

      What is the correct way of installing the DB module?

      Thanks

       
    • Eduardo Llaguno Velasco

      I have the same unsolved blank screen after copying DB files inside the class directory (DB.php + DB directory), it seems to be an unactive but promising project.

       

Log in to post a comment.