Quote:
Warning: mysql_connect() [function.mysql-connect]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://localhost:3306) in C:\AppServ\www\config.php on line 30
Warning: mysql_connect() [function.mysql-connect]: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:\AppServ\www\config.php on line 30
Fatal error: Maximum execution time of 60 seconds exceeded in C:\AppServ\www\config.php on line 30
|
thats the error i get when im trying to acces, and this is how config.php looks like:
Quote:
<?php
//require_once './inc/class.captcha.php';
// Configurations
$myhost='localhost'; // MySQL database address
$mypass='1234'; // MySQL server login
$myuser='root'; // MySQL server pass
$accdb='coSXserver'; //your server account database
//$accdb='account'; //your server account database
$gamedb='coSXserver'; //your server game database
//register.php
$passhash=false; // set to true if u wish to save hash of pass instead of plain text pass
//status.php
$serveraddress='5.94.42.0'; //your server ip
$serverport=5816; //your server connection port
$servername='SupremacyCo'; //your server name
//ranks.php
$tableSet=' width="440" border="1" align="center"'; // rank tables settings html code
$limit=33; //records[lines/rows] limit for ranks table
$limit2=13; //records[lines/rows] limit for half of an rank table guilds
// DON'T CHANGE ANYTHING BELOW THIS LINE
// // // // // // // // // // // // // // // // // // // //
// even more if u dont know what u r doing !!!
$MySQL=mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($gamedb);
|
If somebody has the files to make the register page working, itll be great. no need of a complex page, just 2 boxes to fill acc and password!