Auth-1.1.1.tgz -- isConnection function not found

From: Date: Sat, 07 Dec 2002 01:40:04 +0000
Subject: Auth-1.1.1.tgz -- isConnection function not found
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-2922@lists.php.net to get a copy of this message
Hello. I am using Debian Unstable. I just downloaded the Auth-1.1.1.tgz to use; and i am using example 2 from the manual for testing. But it returns: Fatal error: Call to undefined function: isconnection() in /usr/share/pear/Auth/Container/DB.php on line 133 In Auth/Container/DB.php
/**
     * Prepare query to the database
     *
     * This function checks if we have already opened a connection to
     * the database. If that's not the case, a new connection is opened.
     * After that the query is passed to the database.
     *
     * @access public
     * @param  string Query string
     * @return True or DB_Error
     */
    function query($query)
    {
        if (!DB::isConnection($this->db)) {               < -- line 133
            $this->_connect($this->options['dsn']);
        }
        return $this->db->query($query);
    }
Please help. Thanks. ~Pat.

« previous php.pear.general (#2922) next »