Junior Spellweaver
- Joined
- Jan 14, 2011
- Messages
- 131
- Reaction score
- 13
Thanks for posting this, I was searching a tutorial to show my friend that setting up a CMS is Simple and EASY.
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today!I have the same problem, cannot find the site you were talking about.There is no config.php though.... I'm using ExiledsMS source and turn it into v117.2. And the database.php says this:Post your config.php
<?php
/*
Copyright (C) 2009 Murad <Murawd>
Josh L. <Josho192837>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if(basename($_SERVER["PHP_SELF"]) == "database.php"){
die("403 - Access Forbidden");
}
/* MySQL Connection Information */
// Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost"
$host = "localhost";
// Database Username - Usually "root"
$user = "root";
// Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank.
$pass = "";
// Database Name - Usually "odinms"
$database = "odinms";
// What is the server`s Wan IP
$serverip = "25.141.191.222";
// What is your server`s log in port - Don`t change if you aren`t sure.
$loginport = "8585";
// What is your server`s world port - Don`t change if you aren`t sure.
$worldport = "8484";
/* Don`t touch. */
$conn = mysql_connect($host,$user,$pass);
$db = mysql_select_db($database, $conn) or die(mysql_error());
?>
I'm surprised people are still looking at this, hahaI have the same problem, cannot find the site you were talking about.There is no config.php though.... I'm using ExiledsMS source and turn it into v117.2. And the database.php says this:I'm guessing the login port is that, but it used to say 7575 but changed it.Code:<?php /* Copyright (C) 2009 Murad <Murawd> Josh L. <Josho192837> This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ if(basename($_SERVER["PHP_SELF"]) == "database.php"){ die("403 - Access Forbidden"); } /* MySQL Connection Information */ // Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost" $host = "localhost"; // Database Username - Usually "root" $user = "root"; // Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank. $pass = ""; // Database Name - Usually "odinms" $database = "odinms"; // What is the server`s Wan IP $serverip = "25.141.191.222"; // What is your server`s log in port - Don`t change if you aren`t sure. $loginport = "8585"; // What is your server`s world port - Don`t change if you aren`t sure. $worldport = "8484"; /* Don`t touch. */ $conn = mysql_connect($host,$user,$pass); $db = mysql_select_db($database, $conn) or die(mysql_error()); ?>
I'll show you a picture of what my problem looks like, pretty similar to the other person. (I changed the file thing the 1kb one into a lock and still didn't work) the picture:You must be registered to see linksIf I don't see your reply, please tell me on my skype: ellie.liu4 Thanks!
<?php
/*
Copyright (C) 2009 Murad <Murawd>
Josh L. <Josho192837>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
if(basename($_SERVER["PHP_SELF"]) == "database.php"){
die("403 - Access Forbidden");
}
/* MySQL Connection Information */
// Where is MySQL Hosted? If you aren`t sure, just leave it as "localhost"
$host = "localhost";
// Database Username - Usually "root"
$user = "root";
// Database Password - Usually "root". If you don`t have a password, or are not sure, leave it blank.
$pass = "";
// Database Name - Usually "odinms"
$database = "odinms";
// What is the server`s Wan IP
$serverip = "localhost";
// What is your server`s log in port - Don`t change if you aren`t sure.
$loginport = "7575";
// What is your server`s world port - Don`t change if you aren`t sure.
$worldport = "8484";
/* Don`t touch. */
$conn = mysql_connect($host,$user,$pass);
$db = mysql_select_db($database, $conn) or die(mysql_error());
?>