• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

ADODB is causing me to go prenaturally grey.

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Elif Tymes

Member
Joined
Dec 8, 2004
Heres the error: Call to undefined function: newadoconnection() in C:\webdocs\lan\common.php on line 10

heres the common.php file...

Code:
<?

include('config.php');
require_once(include_path.'adodb/adodb.inc.php');

error_reporting(E_ALL);

global $dbname, $dbuser, $dbpasswd;
//connect to the database
$db = &newADOconnection(db_type) or trigger_error('Unable to connect to the '.db_type.' database!');
$db->Connect(db_server,$dbuser, $dbpasswd, $dbname);
?>

yes, the include points to the correct file, and no its not a broken link.

adodb can be found here...

I am using Apache 2, MySQL, and PHP 4.3.11
 
Yea, it is case sensitive, but from the error its generating, it looks like its dropping everything to lower case.

(BTW, I was doing NewADOConnectio, I just was trying different ways of typing it, to see if that was the problem)
 
Back