|  | Posted by Mike Martin on 02/25/06 16:09 
When I try to startup Torrentflux I get the following error.
 Fatal error: Call to undefined function mysql_connect() in
 C:\public_html\TF2\html\adodb\drivers\adodb-mysql.inc.php on line 338
 
 Line 338 of that file is the one that starts with $this-> (the fifth one
 down from here:
 // returns true or false
 function _connect($argHostname, $argUsername, $argPassword,
 $argDatabasename) {
 if (ADODB_PHPVER >= 0x4300)
 $this->_connectionID =			mysql_connect($argHostname,$argUsername,$argPassword,
 $this->forceNewConnect,$this->clientFlags);
 else if (ADODB_PHPVER >= 0x4200)
 $this->_connectionID =
 mysql_connect($argHostname,$argUsername,$argPassword,
 $this->forceNewConnect);
 else
 $this->_connectionID =
 mysql_connect($argHostname,$argUsername,$argPassword);
 
 if ($this->_connectionID === false) return false; if ($argDatabasename)
 return $this->SelectDB($argDatabasename); return true;
 }
 
 Can anyone help me with this?
 
 Thanks in advance,
 Mike
  Navigation: [Reply to this message] |