I'm using php4 and I'm having this problem with phplib.

Fatal error: Class hordedb: Cannot inherit from undefined class db_sql in
/usr/local/apache/phplib/local.inc on line 30

I've checked local.inc, the one causing the error is the ff class:

#class HordeDB extends DB_Sql {
#  var $Host = 'localhost';
#  var $Database = 'horde';
#  var $User = 'hordemgr';
#  var $Password = 'hordemgr';
#  var $Port = '3306';

#  function halt($msg) {
#    // Printing here causes race condition trouble, so don't.
#    //printf("<b>Database error (HordeDB):</b> %s<br>\n", $msg);
#  }
#}

Do i need to revert to php3?

class DB_Sql is clearly defined in the preceding inc which is
db_mysql.inc.

Anyone experienced this before?


-- 
Mike

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to