Set up FlyCMS

Status
Not open for further replies.
Experienced Elementalist
Joined
Aug 30, 2008
Messages
272
Reaction score
5
Hello ragezoner's and welcome to my new guide! Today, I show you how to set up FlyCMS! It's really easy, you just have to read the guide exactly :P

So, let's begin!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Step 1: Download FlyCMS

Download the newest, awesome version of FlyCMS, created by SyNTaX12:

FlyCMS


Step 2: Download Xampp

Download Xampp Lite, Xampp Lite is a portable version of Xampp. But what is meant with "portable"? Portable programs are better than the "installer" programs, you can run portable programs without an installation, so you may put it on a flash drive or something like that. Awesome, eh? And btw, I prefer the .ZIP version of Xampp Lite:




Step 3: Download Navicat Lite

Navicat Lite is a freeware, Navicat is a MySQL manager, Navicat does its job really good! I only can suggest you to use Navicat to manage your Flyff database and and and... You'll need Navicat to execute the news-table for the FlyCMS.




Step 4: Get Xampp working
  1. First of all, create a new folder on your desktop (*), for example "Xampp". Now, extract the downloaded .ZIP file to the Xampp folder on your desktop. Done? Alright!
  2. Be sure that you have closed all the processes like MySQL, Apache, FileZilla-Server and and and... This is important, if you forget to close a process, your Xampp installation will fail! So please check again, are all the processes closed now? Yes?
  3. Please be sure that your computer has the ports 80 (for Apache) and 3306 (for MySQL) open. You can use the xampp-portcheck.exe to check the ports.
    If you're a vista-user, you should open the Data Execute Prevention (more informations and ) and there you should add xampp-portcheck.exe to the list there, after adding the application to the list, you should restart your computer.
  4. Alright, now you should start the setup_xampp.bat file. Now you must wait some seconds, after these seconds, you should get a message in the setup: "DONE!". Did you see this message? Yes? You're really good man!
  5. Now you can start the application "xampp-control.exe". You should see now a window like this:


  6. Now please click onetime (!) on the "Start"-button next to Apache, the "Start"-button should be now a "Stop"-button and you should see a message "Apache started [Port 80]"
    And now click onetime (!) on the "Start"-button next to MySQL and you should see a message like this: "MySQL started [Port 3306]"
  7. Congratulations, your Xampp is now ready for use :]

    * = Only for Vista-users: Please don't put the Xampp folder to C:/Xampp/ or to C:/Program Files/Xampp/, don't ask why, it's a bit complicate.
    Read this for more informations about this vista-fail


Step 5: Config FlyCMS

First of all, extract please the FlyCMS. You should get now a folder named "FlyCMS", there should be 4 folders:

/FlyCMS/readme/
/FlyCMS/images/
/FlyCMS/includes/
/FlyCMS/sql/

and 3 .php files:

config.php
index.php
style.php

Now, open your Navicat and click on the big button "Connections" ( ), fill the fields out please and test your connection. Done? Alright, now go to your flyff database ( ) and execute the .sql file in the .sql folder of FlyCMS (path = /FlyCMS/sql/). If you reload the database on the right side of Navicat, you should see a new table called cms_news.

Now, a little tutorial, written by SyNTaX12:

Getting the site work

Well, here's the steps to get this CMS to work:

Step 1.

Edit the config.php in the main folder to whatever you desire.
Make sure you fill out the database information correctly!
Other than that, just read what everything does and edit them.

Step 2.

Upload/move the folder to your web directory/web host and try to
access it. Encountered a problem? Report it in the FlyCMS thread :)

Step 3.

Enjoy your CMS! It was as easy as that ;]

**************************************************************************************

Getting news to work

So, you want the news system, then? That's fairly easy..

Step 1.

Make sure you $show_news value is set to 1 in the config.php!

Step 2.

Go to the sql folder and execute the cms_news.sql script in there.

Step 3.

Log in to the CMS, navigate to the Admin CP and click on 'News'.
Then simply click on 'Add news' and you're ready to start!

Credits to: SyNTaX12 of RageZone

Done? Alright, now you should read the next step!


Step 6: Set up FlyCMS

Now, open your Xampp folder please, then go to the folder "htdocs" (this is the path: /Xampp/htdocs/), create there a new folder, for example "home" (this is the new path: /Xampp/htdocs/home/).
Drag and drop all the FlyCMS files in this new created folder, it should look now like .


Final Step

Start your webbrowser and type this in the URL:



You should see now the site, congratulations man, your FlyCMS is working!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Frequently Asked Questions:

Question: Why the new created accounts get banned after register?

Answer: There was a little issue with the accounts table, download this accounts table, make a backup of your old ones, delete your old accounts table and use mine, it should work. I recommend you to use mine accounts, characters & guilds tables, with these tables all should work correctly.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Questions? Don't hesitate to ask!

Credits:

- Thanks to SyNTaX12 for her FlyCMS, awesome work!
- Thanks to GlaphanKing for the little note :P
- Thanks to yanami99 for a little bug reporting :]
- Thanks to lolipopp for a little note to fix something at the characters table :]
- Thanks to me for writing this guide :P

 
Last edited:
i have a web .net, i try to conect the web to the db and i cant :S.

because the web have db, but i want conect the data base of the website to the db of the flyff

Can you help me please ?

Thanks
 
i use Wamp server and i cant see the code of register and the questions don't work (always said wrong answer). i can't fix that. i edit all and don't see any problem...
 
evel,

The CMS doesn't work well with wamp the best thing to do is switch to xampp...Everthing works fine with xampp.
 
Evel,

The answer to that is yes I was having the same problem with registering and when I switched to xampp it worked fine.
 
Yeah,I had Wamp and when I switched to Xamp it fixed everything :]
And I like Xamp better o:
It lets us put any name after our IP so it looks like an actual website instead of just numbers xD
 
Links here's the result of the TUT for registration of my website.. PLease help

<?php

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

//error_reporting(E_ALL);

// Server Information
// Name of the server
$name = "Flyffhokage";
// A slogan
$slogan = "Okie :3";
// Exp rate
$exprate = "1";
// Drop rate
$droprate = "1";
// Quest drop rate
$questdroprate = "1";
// Penya rate
$penyarate = "1";
// Link to the forum
$forum = "freewebs.com/flyffhokage";

// MySQL Information
// Host
$db_host = "127.0.0.1";<<<<<<this is the sql host
// Database User
$db_user = "root"; <<<<<here's the user name
// Database Password
$db_pass = ""; <<<<<<<the pass i dont put it
// Database; flyff by default
$database = "flyff"; <<<<<<<and flyff i name in db.

// Connect Information
// Server IP
$serverip = "127.0.0.1"; <<<< i have question here can i put here hamachi?
// 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";

// 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>".$flyffhokage."</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>".$flyffhokage."</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"] = "";

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

$patch[1]["text"] = "Your patch";
$patch[1]["url"] = "index.php";

// 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>.");
 
I see some error's in your config.php. You mustn't edit the $part of a line:

$scrollMessage = "Welcome to <b>".$flyffhokage."</b>! Enjoy your stay!";

That must be different:

$scrollMessage = "Welcome to <b>".$name."</b>! Enjoy your stay!";
 
i got this shown on my page


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Users\Oli\Desktop\Xampp\xampplite\htdocs\Home\includes\idx.php on line 5


what that mean???
 
@ zedawg: You forgot to execute the .sql file. Read step 5 please.

@ yanami99: Check your "accounts"-table (the ID's), there must be a little issue.
 
no it nothing wrong here and i make ah account in table then it say's wrong iD.
and i have question can i put the IP of hamachi in the localhost or not?
and if not wer can i get IP?
 
no it nothing wrong here and i make ah account in table then it say's wrong iD.

Which database are you using?

and i have question can i put the IP of hamachi in the localhost or not?
and if not wer can i get IP?

Uhrm, I don't understand you really, if you put your hamachi IP in the URL (for example: ), then it will redirect you to your localhost ( ).
 
The accesslevel? Click on the menu bar in your FlyCMS on RANKING, there you should see all the users, for example:

# | Name | Level | Job | Gender
1 | Link404 (GM) | 120 | Jester (H) | Male
2 | Link505 (GM) | 120 | Jester (H) | Male

(GM) = accesslevel 1000 = admin
(GM) = accesslevel 800 = GM
 
No in the sql if i register then i log in it say's block account. bec. it will automaticaly 0 acceslevel. not in the
website in the files in flyCmS
 
Status
Not open for further replies.
Back