Code:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\xampp2\xampp\htdocs\forum\config.php on line 25
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in D:\xampp2\xampp\htdocs\forum\config.php on line 26
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in D:\xampp2\xampp\htdocs\forum\config.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at D:\xampp2\xampp\htdocs\forum\config.php:25) in D:\xampp2\xampp\htdocs\forum\common.php on line 161
When I try to enter the forum.
This is my config.php file.
Code:
<?
//Host of your database
$dbhost = "".$config['server']['sqlHost']."";
//Login yo your database
$dblogin = "".$config['server']['sqlUser']."";
//Password to your database
$dbpass = "".$config['server']['sqlPass']."";
//Name of your dataabse
$dbname = "".$config['server']['sqlDatabase']."";
//Set to true when you configure everything, the forum will start working.
$install = false;
//Max amount of threads per page
$max_threads = 10;
//Max amount of posts per page
$max_posts = 10;
//Name of the server
$world_name = "".$config['server']['serverName']."";
//Login to admin
$admin_login = "".$config['forum']['AdminName']."";
//Password to admin
$admin_password = "".$config['forum']['AdminPass']."";
//Dont touch
mysql_connect($dbhost, $dblogin, $dbpass);
mysql_select_db($dbname);
?>
Helpers gets +rep ofcourse