Menu

ADONewConnection: Unable to load database dri

2004-10-07
2013-04-30
  • Stephanie Smith

    Stephanie Smith - 2004-10-07

    I've got a fresh install of phpopenchat-3.0.1.tar.gz. 

    I've followed the instruction in the INSTALL file, and created my MySQL database, as well as a user for the database.

    I've imported the db.schema, and confirmed that my database is now populated with the appropriate tables.

    I've edited config.inc.php (the INSTALL file says it should be config.inc, but when I tried renaming the file I received other errors. So I presume I'm supposed to leave it config.inc.php for now), and entered in my database information. I've also confirmed that the DATABASE_DRIVER is currently defined as 'mysql'.

    I then ran the test.php script, which returns the following error:

    Array ( [0] => stdClass [1] => __PHP_Incomplete_Class [2] => Directory [3] => adofieldobject [4] => adoconnection [5] => adofetchobj [6] => adorecordset_empty [7] => adodb_base_rs [8] => adorecordset [9] => adorecordset_array [10] => poc_chat [11] => poc_language [12] => poc_chatter [13] => poc_logger [14] => poc_translator [15] => poc_template [16] => httpnegotiation [17] => poc_channel [18] => poc_line [19] => poc_channel_buffer ) Syntax error in file: /u2/afs/home/sites/onnafest.com/chat/include/adodb/drivers/adodb-mysql.inc.php

    ADONewConnection: Unable to load database driver ''

    EOF

    index.php, OTOH, returns this error:

    Fatal error: Call to a member function on a non-object in /u2/afs/home/sites/onnafest.com/chat/include/class.Chat.inc on line 1177

    EOF

    At which point, I'm more or less stumped.

    If anyone can suggest a fix, or even a place to start digging, I'd be very grateful.

     
    • ReOrGaNiSaTiOn

      ReOrGaNiSaTiOn - 2004-10-13

      High,

      have had the same problem too.

      I could fix it with the new version adodb 4.53 which is available here on sourceforget.

      Greetings from germany

       
    • Big Al

      Big Al - 2004-12-16

      Hmm. not very useful. I have the same problem too, and have just upadated my version of RH-EL3 so should have the current ver. How can I find out what ver I have? How can I update? How can I fix the problem without any update.

      Stephanie, what linux sys do you use?

       
    • Big Al

      Big Al - 2004-12-20

      Yep, no real hassle in doing required change. Download the respective update adodb, uncompress and copy into includes/adodb. Woked like a charm.

       

Log in to post a comment.