I've uploaded the DB to phpmyadmin, and edited the settings in config.php from htdocs, tried changing XAMPP versions and editing the indexes to the db username,pw,db but I get these errors:
Notice: A session had already been started - ignoring session_start() in C:\xampp\htdocs\includes\global.php on line 104 Notice: Undefined index: sql_host in C:\xampp\htdocs\includes\global.php on line 29 Notice: Undefined index: sql_user in C:\xampp\htdocs\includes\global.php on line 29 Notice: Undefined index: sql_pass in C:\xampp\htdocs\includes\global.php on line 29 Notice: Undefined index: db_name in C:\xampp\htdocs\includes\global.php on line 31 Can't select database
This is a new server that I am setting up. How do I fix these errors? I'm using XAMPP 1.8.3-5 VC11
Line 26-31
function db_connection()
{
global $config,$data_sql;
$data_sql = mysql_connect($config["sql_host"], $config["sql_user"], $config["sql_pass"]);
if (!$data_sql) die("Can't connect to MySql");
mysql_select_db($config["db_name"],$data_sql) or die("Can't select database");