Welcome!

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!

[Website] AltairCMS! | Updated with steps to add new page

Status
Not open for further replies.
Junior Spellweaver
Joined
May 7, 2010
Messages
132
Reaction score
18
AuroX - [Website] AltairCMS! | Updated with steps to add new page - RaGEZONE Forums


When I upload the database to phpMyAdmin
 
Initiate Mage
Joined
Aug 4, 2011
Messages
1
Reaction score
0
Can't get past install part even after executing the SQL's and renaming install to install.lock.
 
Legendary Battlemage
Loyal Member
Joined
Sep 28, 2008
Messages
600
Reaction score
291
I'm sure most of you here are using vista/windows 7 users and it will not allow u to change the extension by renaming. So just Open notepad -> Leave it empty and save it as install.lock where type = all files. Put that file in install folder.
 
Newbie Spellweaver
Joined
Jan 14, 2011
Messages
50
Reaction score
11
I'm sure most of you here are using vista/windows 7 users and it will not allow u to change the extension by renaming. So just Open notepad -> Leave it empty and save it as install.lock where type = all files. Put that file in install folder.

I thought changing the extention was going into folder options and un checking the hide known extention types for files or something like that o_O
 
Newbie Spellweaver
Joined
Aug 6, 2008
Messages
8
Reaction score
0
Hey there, i tried changing this to hebrew but when i write somthing in hebrew it appears in an unknown language.
i changed the file's format to UTF8.. any help?
 
Newbie Spellweaver
Joined
Jun 19, 2011
Messages
29
Reaction score
0
help please
this is what happens when I try to register:
 
Joined
Sep 2, 2010
Messages
393
Reaction score
10
There is your answer.*

and not really much of an answer since i tried adding that in MySQL and effing around with it in wampserver -.-. Feenin for post count much?

EDIT: new error Unknown column 'id' in 'order clause'

-.-
 
Last edited:
Newbie Spellweaver
Joined
Aug 18, 2011
Messages
10
Reaction score
2
I like this cms for the code within it, I think that the scripts are clean and great to be used for people making their first own cms. The same goes for Cype, but this one is a bit more recent aka more used. Great job on the coding!
 
Joined
Apr 4, 2010
Messages
3
Reaction score
0
I did everything you said.

Code:
<?php
$host['hostname'] = 'localhost'; // Host name [DEFAULT:Localhost]
$host['user'] = 'root'; // DB Username
$host['password'] = ''; // DB Password
$host['database'] = 'odinms'; // DB Name
$webtitle = 'NakedStory'; // Website Title
$rate['exp'] = '5000x'; // Exp Rate
$rate['meso'] = '5000x'; // Meso Rate
$rate['drop'] = '5000x'; // Drop Rate
$servername = 'NakedStory'; // Server Name
$version = '83'; // Version
$serverip = "localhost"; // Replace with your WAN IP if public
$loginport = "8484"; // LoginPort [DEFAULT: 8484]

//Features (You can put pictures here too)
$features = "
<li>Multi-World Support!</li>
<li>Full Cash Shop</li>
<li>Hired Merchants!</li>
<li>OX Quiz</li>
<li>PVP</li>";
 
//banner/logo/images
$logo = "http://forum.ragezone.com/images/logo.png"; // (800x150)
$vote = "0"; // vote pop-up. 1 = yes/0 = no

//Links
$forum = "http://forum.ragezone.com/f427"; // Your Forum link
$client = "http://forum.ragezone.com/f427"; // Client download link
$gms = "http://forum.ragezone.com/f427"; // Full Maplestory setup download link
$votelink = "http://forum.ragezone.com/f427";

//Scrolling text
$scrollingtext = "Welcome!";
$sidebartitle = "Others";
$sidebar = "Edit this at config.php";

$offline = "<img src=images/offline.png>"; // online message
$online = "<img src=images/online.png>"; // offline 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!");
} 
?>

I edited my config.php


I executed the sql files in my database with no error at all.


I placed the files in the wamp www folder

I edited the file to install.lock (correctly)

When I go on localhost I get the 403 FORBIDDEN error.

My connection is root@localhost:3306/odinms

PORTS 8484 AND 7575

Does anyone know what I did wrong?:grr:




AND WHEN I PAGE SOURCE THE PAGE THIS IS THE SOURCE THAT POPS UP IN PINK ON FIREFOX.
Code:
<?php 

# Import Database&Properties
require_once("config/config.php");
	
# Is AltairCMS installed?
if(!file_exists('install/install.lock')) {
	header("Location: install/install.php");
	exit;
} else {
	$getpage = isset($_GET['page']) ? $_GET['page'] : "";

	switch($getpage){
		case NULL:
			header('Location: ?page=index');
			break;
		case "register":
			$getpage = "pages/register";
			break;
		case "download":
			$getpage = "pages/download";
			break;
		case "vote":
			$getpage = "pages/vote";
			break;
		case "ranking":
			$getpage = "pages/ranking";
			break;
		case "donate":
			$getpage = "pages/donate";
			break;
		case "logfix":
			$getpage = "pages/logfix";
			break;
		case "banned":
			$getpage = "pages/banned";
			break;
		case "fix":
			$getpage = "pages/fix";
			break;
		case "account":
			$getpage = "sources/login/ucp/account";
			break;
		case "charfix":
			$getpage = "sources/login/ucp/charfix";
			break;
		case "notice_manage":
			$getpage = "sources/login/acp/addnotices";
			break;
		case "event_manage":
			$getpage = "sources/login/acp/addevents";
			break;
		case "news":
			$getpage = "pages/news";
			break;
		case "events":
			$getpage = "pages/events";
			break;
		case "logout":
			$getpage = "sources/login/logout";
			break;
		case "index":
		default:
			$getpage = "pages/index";
			break;
	}
	
	include_once('header.php');
	include_once($getpage.".php");
	include_once('footer.php');
}
?>
 
Last edited:
Initiate Mage
Joined
Aug 4, 2011
Messages
1
Reaction score
0
Hey, this is the BEST CMS IMO out there. Just saying lol.
Anyways, is there a way to add tabs? By this I mean sub-tabs I suppose, because I currently want to add Multi Rankings(Rebirth, PvP, etc.) But I want the page to look neater and shorter, so I was wondering if it was possible to make little tabs. Like make it look like this: | Rebirth Ranks | PvP Ranks | , and all that is in the same page under the RANKING Tab. If there IS a way, could you let me know? Thanks and I'm sorry if you couldn't understand cause I'm so bad at explaining. If you still don't understand let me know.
 
Newbie Spellweaver
Joined
Mar 16, 2011
Messages
11
Reaction score
0
I'm getting this error anyone want to help me out or possibly pm me there msn or something so i can ask for live help?

This is in my Core_Class.php file line 37

Code:
trigger_error('Failed to execute MySQL Query - '.mysql_error().'<br />Query: '.$sql_query, E_USER_ERROR);
 
Newbie Spellweaver
Joined
Jul 10, 2008
Messages
63
Reaction score
0
I'm having this error when i try to register an account using your CMS any idea how to fix this ??? I'm using MoopleDEV Source btw
Thanks
 

Attachments

You must be registered for see attachments list
Junior Spellweaver
Joined
Sep 23, 2011
Messages
164
Reaction score
33
go to wamp then click
PHP:
 > [PHP Settings] > [UNCHECK] [Display Errors]
 
Newbie Spellweaver
Joined
Nov 23, 2009
Messages
12
Reaction score
0
I get an "deprecated" message when i register That i would like to get rid of but i cant find a working solution to hiding errors.


Deprecated: Assigning the return value of new by reference is deprecated in N:\xampp\php\PEAR\Config.php on line 80

Deprecated: Assigning the return value of new by reference is deprecated in N:\xampp\php\PEAR\Config.php on line 166

Registration
You have successfully registered to AltairCMS !

could you explain what it means "deprecated" ... cause if i know that i can probably figure it out.


those are errors I cant get them to not show up and its really bothering me.
 
Status
Not open for further replies.
Back
Top