James
|
| Posted: 08/07/2002, 10:54 PM |
|
Dear Support,
I am trying to install BugTrack on mysql php4. I have created the tables and made the changes to common.php
yet I get the error below and can not log into Bugtracker. Please help.
James
<?php
/*********************************************************************************
* Filename: common.php
* Generated with CodeCharge 1.1.18
* PHP & Templates build 03/28/2001
*********************************************************************************/
error_reporting (E_ALL ^ E_NOTICE);
include("./template.php");
// Database Parameters
include("./db_odbc.inc");
define("DATABASE_NAME","bugtracker1");
define("DATABASE_USER","bugtracker1");
define("DATABASE_PASSWORD","bugtracker1");
define("DATABASE_HOST","localhost");
// Database Initialize
$db = new DB_Sql();
$db->Database = DATABASE_NAME;
$db->User = DATABASE_USER;
$db->Password = DATABASE_PASSWORD;
$db->Host = DATABASE_HOST;
This is the erroer message I get.
Warning: SQL error: [unixODBC][Driver Manager]Data source name not found, and no default driver specified, SQL state IM002 in SQLConnect in /home/web/www.galaxyserver.co.uk/html/bugtracker/db_odbc.inc on line 35
Database error: Link-ID == false, odbc_pconnect failed
ODBC Error: 0 ()
Session halted.
|
|
|
 |
Ron
|
| Posted: 08/08/2002, 6:00 AM |
|
James,
the error means that you haven't created "bugtracker1" DSN on the server where the site is running. Please check it.
|
|
|
 |
James
|
| Posted: 08/08/2002, 6:49 AM |
|
do you know whereI can get info on how to set this up?
thanks
|
|
|
 |
|