- Joined
- Mar 5, 2011
- Messages
- 48
- Reaction score
- 3
i need a screenie
Is it working also in V62?
Undefined index: hostname in C:\wamp\www\inc\config.php on line 37
Undefined index: user in C:\wamp\www\inc\config.php on line 37
Undefined index: password in C:\wamp\www\inc\config.php on line 37
Undefined index: database in C:\wamp\www\inc\config.php on line 38
Cannot select DB
How To Fix?
Select your database? .__. and edit your config.php
<?php
$host['Localhost'] = 'Localhost'; // Host name [DEFAULT:Localhost]
$host['root'] = 'root'; // DB Username
$host[''] = ''; // DB Password
$host['gms'] = 'eterionmsv83'; // DB Name
$rate['50'] = '40x'; // Exp Rate
$rate['100'] = '20x'; // Meso Rate
$rate['5'] = '3x'; // Drop Rate
$servername = 'GenesisMs'; // Server Name
$version = '83'; // Version
$serverip = "99.236.113.173"; // Replace with your WAN IP if public
$loginport = "8484"; // LoginPort [DEFAULT: 8484]
$timezone = "2010/1/1"; // Timezone for vote (Search at: http://php.net/manual/en/timezones.php)
//banner/logo/images
$logo = "images/logo.png"; // (800x150)
$vote = "0"; // vote pop-up. 1 = yes/0 = no
//Links
$forum = ""; // Your Forum link
$CLIENT_MF = "http://www.sendspace.com/file/n81260";
$CLIENT_RS = "http://www.sendspace.com/file/n81260";
$gms83 = "http://download3.nexon.net/maplestory/fullversion/MSSetupv83.exe"; // Full Maplestory setup download link
$votelink = "";
//Scrolling text
$scrollingtext = "Welcome To GenesisMs Happy Mapling";
$offline = "<img src=images/login/offline.png>"; // online message
$online = "<img src=images/login/online.png>"; // offline message
$news =
"Welcome to GenesisMs, Low/High Rate Server. <br />Happy Mapling.";
$date_editted = "14/4/2011"; // The date which you last edited the news message
// Opens connection to mysql server [DO NOT TOUCH THIS]
mysql_connect($host['hostname'],$host['user'],$host['password']) OR die("Can't connect to server");
mysql_select_db($host['database']) OR die("Cannot select DB");
if(basename($_SERVER["PHP_SELF"]) == "config.php"){
die("Error!");
}
?>