Menu

Failed opening required 'MDB.php'

Help
knford
2005-04-20
2013-03-22
  • knford

    knford - 2005-04-20

    sessions.php is looking for the file mdb.php which is not included in the download. Anybody know where I can get this file?
    thanks,

     
    • Justin Koivisto

      Justin Koivisto - 2005-04-20

      Make sure that the server has Pear available and the MDB package is installed as well as having the Pear directory in the include path.

       
      • sjheinz

        sjheinz - 2005-07-26

        where can i found the MDB package

        and how must i install this package

        cann you please explain Pear directory include path?? where must this path be specified

        thanks a lot

         
        • Justin Koivisto

          Justin Koivisto - 2005-07-26

          Pear is something that is installed with PHP on the server. Your server administrator will likely need to install the MDB package themselves. This usually is done by simply typing "pear install MDB" at a shell prompt on the server. The include_path is set in php.ini.

          Alternatively, you can install the necessary files in your document root and use a .htaccess file to set your include path if you are running php as an apache module.

           
    • simplesoul

      simplesoul - 2005-07-15

      MDB error.
      Well I got the complete class downloaded, can I do some thing with it. If not how to check if mdb package is installed in the system as am new to PHP could you please advise or suggest how to make this work.
      whats that "Pear".
      Suggest how to install MDB package if its not available and how to include the path in the pear directory.

       
      • Justin Koivisto

        Justin Koivisto - 2005-07-26

        This is pear: http://pear.php.net

        In most configurations, installing MDB is just a matter of using "pear install MDB" from a shell prompt (usually done as an administrator - either windows or unix). You could also install the files in your document root of the site that uses them. You would have to also download any of the package dependencies as well like the main PEAR package.

        To include the PEAR directory in the include_path, you can edit the value in the php.ini file. Or, if you are running php as an apache module, you can set it there using a statement like:

        php_value include_path ".:/home/usrename/www/pear"

         

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.