Set up FlyCMS

Status
Not open for further replies.
i get this:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES)

and i have the correct settings in my config.php, i dont know the problem please help!
 
i get that when i didnt edit the config.php properly,check your database name and the password,i think you made a mistake in that area.
 
Here's my config.php

<?php

/*******************************************/
/* FlyCMS */
/* Credits : Syntax12/Shirls of RageZone */
/*******************************************/
/* EDIT THE DETAILS BELOW */
/* TO MAKE THIS CMS WORK */
/*******************************************/

//error_reporting(E_ALL);

// Server Information
// Name of the server
$name = "Fly For Kills";
// A slogan
$slogan = "Fly For Kills!";
// Exp rate
$exprate = "1000";
// Drop rate
$droprate = "100";
// Quest drop rate
$questdroprate = "100";
// Penya rate
$penyarate = "100";
// Link to the forum
$forum = "http://flyforkills.n-stars.org";

// MySQL Information
// Host
$db_host = "localhost";
// Database User
$db_user = "root";
// Database Password
$db_pass = "root";
// Database; flyff by default
$database = "flyff";

// Connect Information
// Server IP
$serverip = "5.249.255.216";
// Login server port; 23000 by default
$loginport = "23000";
// Char server port; 28000 by default
$charport = "28000";
// World server port; 15400 by default
$worldport = "15400";

// Style Information
// You can change the style here. Possible styles: green, blue, flyff.
$site_style = "flyff";
// Left menu image
// Here you can set the left menu image. Possible images: 1 and 2. Just put "" if you want no image.
$left_image = "2";

// Register Information
// Do you want a captcha or question method at register? Just change it to captcha or question. You can change questions in includes/reg_questions.php n_n
$register_method = "question";

// Rank Information
// This makes the ranks show either players only or players, GMs and Admins. Blocked users are never shown!
$show_players = 1; // Change to 0 to show GMs and Admins aswel.
// How many characters should it show per page?
$rank_limit = 100;

// Scrolling Message
// This message appears at the top of the site below the banner and moves from right to left. HTML applies.
$scrollMessage = "Welcome to <b>".$name."</b>! Enjoy your stay!";

// Enable the latest news features? (Disable this if you don't want to add the extra database table.
$show_news = 0; // Make 0 to disable.
// How many news messages to show?
$news_limit = 3;
// Order them by newest(DESC) or oldest(ASC)?
$news_order = "DESC";
// If you disable the latest news, you can set a standard welcome message here.
$welcomeMessage = "Welcome to <b>".$name."</b>! We hope you enjoy your stay. Do not forget to check out the many features this server has to offer!";

// Sidebar Links
// Fill in accordingly for each link to show up on the sidebar. The number in the brackets is the link number.
// Keep increasing the number to add more links. Link's url can also be on the site like the registration page.
$link[1]["text"] = "RageZone";
$link[1]["url"] = "http://www.ragezone.com";

$link[2]["text"] = "FlyCMS";
$link[2]["url"] = "http://forum.ragezone.com/f457/flycms-479079/";

// Client Downloads
// These work the same like the links, just add another number for a new client.

$client[1]["text"] = "FlyffUsaSetup_11th_xfire.exe";
$client[1]["url"] = "http://files.filefront.com/FlyffUsaSetup+11th+xfireexe/;9621674;/fileinfo.html";

// Patch Downloads
// These work the same like the links, just add another number for a new patch.

$patch[1]["text"] = "Flyforkills files";
$patch[1]["url"] = "http://www.turboupload.com/files/get/EF4lxADr6w/flyff.rar";

// Connect to the database
mysql_connect($db_host, $db_user, $db_pass) or die("Failed to connect to the database. Wrong host, user or password entered.");
mysql_select_db($database) or die ("Could not find the database named <b>".$database."</b>.");
?>


And Heres my database:
Connection Name: New Connection
Port: 3306
User Name: root
Password: **** = root
 
maybe your password is wrong,because i got that when i entered the wrong password,make sure your database and the password is correct
 
having another problem... :(

<?php

/*******************************************/
/* FlyCMS */
/* Credits : Syntax12/Shirls of RageZone */
/*******************************************/
/* EDIT THE DETAILS BELOW */
/* TO MAKE THIS CMS WORK */
/*******************************************/

//error_reporting(E_ALL);

// Server Information
// Name of the server
$name = "Molma's Flyff";
// A slogan
$slogan = "Molma will be known EVERYWHERE!";
// Exp rate
$exprate = "250";
// Drop rate
$droprate = "300";
// Quest drop rate
$questdroprate = "300";
// Penya rate
$penyarate = "1 for sum reason";
// Link to the forum
$forum = "http://molmaflyff.pro-forums.com";

// MySQL Information
// Host
$db_host = "localhost";
// Database User
$db_user = "root";
// Database Password
$db_pass = "molma";
// Database; flyff by default
$database = "flyff";

// Connect Information
// Server IP
$serverip = "127.0.0.1";
// Login server port; 23000 by default
$loginport = "23000";
// Char server port; 28000 by default
$charport = "28000";
// World server port; 15400 by default
$worldport = "15400";

// Style Information
// You can change the style here. Possible styles: green, blue, flyff.
$site_style = "flyff";
// Left menu image
// Here you can set the left menu image. Possible images: 1 and 2. Just put "" if you want no image.
$left_image = "1";

// Register Information
// Do you want a captcha or question method at register? Just change it to captcha or question. You can change questions in includes/reg_questions.php n_n
$register_method = "captcha";

// Rank Information
// This makes the ranks show either players only or players, GMs and Admins. Blocked users are never shown!
$show_players = 0; // Change to 0 to show GMs and Admins aswel.
// How many characters should it show per page?
$rank_limit = 30;

// Scrolling Message
// This message appears at the top of the site below the banner and moves from right to left. HTML applies.
$scrollMessage = "Welcome to <b>".$name."</b>! Enjoy your stay!";

// Enable the latest news features? (Disable this if you don't want to add the extra database table.
$show_news = 1; // Make 0 to disable.
// How many news messages to show?
$news_limit = 10;
// Order them by newest(DESC) or oldest(ASC)?
$news_order = "DESC";
// If you disable the latest news, you can set a standard welcome message here.
$welcomeMessage = "Welcome to <b>".$name."</b>! We hope you enjoy your stay. Do not forget to check out the many features this server has to offer!";

// Sidebar Links
// Fill in accordingly for each link to show up on the sidebar. The number in the brackets is the link number.
// Keep increasing the number to add more links. Link's url can also be on the site like the registration page.
$link[1]["text"] = "Download";
$link[1]["url"] = "http://rapidshare.com/files/151919108/Neuz_no_GG.exe";

$link[2]["text"] = "Another Forum Link";
$link[2]["url"] = "http://molmaflyff.pro-forums.com";

// Client Downloads
// These work the same like the links, just add another number for a new client.

$client[1]["text"] = "FlyffUsaSetup_11th_xfire.exe";
$client[1]["url"] = "http://files.filefront.com/FlyffUsaSetup+11th+xfireexe/;9621674;/fileinfo.html";

// Patch Downloads
// These work the same like the links, just add another number for a new patch.

$patch[1]["text"] = "Our Patch";
$patch[1]["url"] = "http://rapidshare.com/files/151919108/Neuz_no_GG.exe";

// Connect to the database
mysql_connect($db_host, $db_user, $db_pass) or die("Failed to connect to the database. Wrong host, user or password entered.");
mysql_select_db($database) or die ("Could not find the database named <b>".$database."</b>.");
?>


the webiste just stopped working for some reason the only thing that hapopend is that i had to turn off the cpu
 
Hmm, i've got a question im new to PHP. :laugh:

howto add downloads? cause i tried to put the links into the download.php but it failed.

Thanks for awnser. Tijm3n
 
when i try to conect to login server it has error it says "Could not connect to MySql" mysql status is running.. can u help me?
 
wow :*:

no matter wut u do i cant get apache working

i really wanna setup this site but it just doesnt wanna work

i got it before (forgot how)

but i tried just about everything

please help me solve this problem :*:
 
Last edited:
Status
Not open for further replies.
Back