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!

Web [Tut] Making Registration Website w/ wamp

Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
FIRST i'd like to say...YES I KNOW THIS GUIDE IS ALREADY OUT...but they suck :D
oh thats it.

First download wampserver 2.0


pretty self explanatory...leave all stuff at DEFAULTS...doesnt really matter.

then download a CMS...i used kakashirocks ...
http://forum.ragezone.com/showthread.php?t=416648
- link to forum -

then when after you download put the CMS FILES, not FOLDER the root files into the WWW folder in your wamp server folder
should b in ur PROGRAM FILE folder usually...or where you keep ur program file folder...

C:\wamp\www <-- mines that.. urs doesnt have to be.
then u should have ALL the files in there...copy + paste

depending on your CMS...it might have multiple config files
in the www folder with ur CMS files it has config2.php

open it

SHOULD LOOK LIKE THIS
<?php
$host['naam'] = 'localhost'; // my host
$host['gebruikersnaam'] = 'root'; // my database username
$host['wachtwoord'] = 'root'; // my database password
$host['databasenaam'] = 'odinms'; // my database name

$db = mysql_connect($host['naam'], $host['gebruikersnaam'], $host['wachtwoord']) OR die ('Cant connect to the database');
mysql_select_db($host['databasenaam'], $db);

$serverip = "5.37.135.47"; //WAN IP , i just put hamachi for EXAMPLE
$loginport = "8484"; //Don't change
$sql_db = "odinms"; //DB Name
$sql_host = "127.0.0.1"; //DB Host
$sql_user = "root"; //DB User
$sql_pass = "root";

then maybe in the INCLUDES / inc folder there should be more config.php files.... just make sure they look the same at the top
pretty simple.

then on the lil wampserver icon...left click on it...go to PHP/PHP settings. make sure short open tag is CHECKED.

then start it up...
it should b FULLY WHITE...NO YELLOW

then go to your site...
should be
WANIP:8484
or for EXAMPLE 71.58.364.720:8484
then your site should pop up :D
then CLICK on ALL the options...like for kakaCMS it had...
registration...rank....etc
click on ALL OF THEM. if it says something like
could not connect to mysql....blah blah blah

it'll say the file that is INCOMPLETE....
go to it...for EXAMPLE
in the ranking it'll say it...then it'll say the file thats wrong
c../programfiles/page/downloads <-- FOR EXAMPLE

then go to that file...it should have something like this at the top

$conn = mysql_connect("127.0.0.1", "root", "") or die ('Error connecting to mysql!');
mysql_select_db("odinms");

on that line..the 1st line... "127.0.0.1", "root", "" <-- between the " " add your mysql password.
so its like
"127.0.0.1", "root", "root". TADAHHHHH....it works now
now look around more and keep correcting the mistakes

also to add the drop rate/meso rate crap look for info.inc (its a php file...but says .inc)

<?php
$config['server_name'] = ''; // Server name
$config['server_ip'] = '--.--.---.---'; // Server IP
$config['server_exp'] = ''; // Server EXP (do not add 'x')
$config['server_drop'] = ''; // Server Drop (do not add 'x')
$config['server_meso'] = ''; // Server meso (do not add 'x')
$config['server_owner'] = ''; // Server owner
?>

for server ip put like..what ur using..for hamachi..use the hamachi ip...for static...use static...etc.
YES THERE IS ONLY ONE ' to end it...so for server meso
$config['server_meso'] = '999'; // Server meso (do not add 'x')

like that.
and ur regis is set up !

Notes:

when fixing the error that you get when loading somethign such as downloads...it'll also tell your the line number thats messed up. usually it just needs to add the password.

to take away a page...or navigation just go to www/navigation.php and delete the one you DONT want then save...and its gone
to add one...you should probably COPY another one and rename it...such as copy www/downloads and rename it...contacts <-- or whatever you wanna name it - make sure its a .php file :D -
then go to www/page and add a file..EXACTLY NAMED the same as the one you renamed... so for contacts... contacts.php
then add w.e. you want...you might wanna look at OTHER .php files in the www/page b4 u add something
also if you do add a page...make sure to change this in www file for the file you MADE...<?php include ("page/contact.php"); ?> make sure you change it to what you named it in the www/page folder.

and also....MAKE SURE YOU ADDED THE DIRECTORY TO THE NAVIGATION.PHP.... if you add contacts... add
<?php include ("page/contact.php"); ?> under something...yes the order where it is, is the spot it'll take...1 home. 2 regis...3 contact...etc common sense ppl okay ? :p

and your done o.o
thats it...dont flame for old topic...cuz i was stuck on exact same things and MAYBE thought some OTHER ppl are too.
 
Last edited:
Skilled Illusionist
Loyal Member
Joined
Jun 23, 2008
Messages
324
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Gratz on your 2nd Guide =D, anyway this guide is already out be4
 
Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

GRRR I SAID THAT CMON READ IT FOO GRRRRRRR jk :p
 
Skilled Illusionist
Loyal Member
Joined
Jun 23, 2008
Messages
324
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Well next time try making a guide that was not released be4 XD
 
Experienced Elementalist
Joined
Apr 15, 2008
Messages
279
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Code:
[B][COLOR="Red"]FIRST[/COLOR][/B] I'd like to say...Yes I know this guide has been already released but they all suck. =D

[B]First download [U]wampserver 2.0[/U][/B]
[url=http://www.wampserver.com/en/download.php]Wamp Server 2.0[/url]

Pretty self explanatory. Leave all the files at "[U]Default[/U]"...Doesn't really matter.

Then download a CMS. I used kakashirocks CMS.
[url=http://forum.ragezone.com/showthread.php?t=416648]Kakashiirocks CMS[/url]
- Link to the thread. - 

Then when after you download put the CMS files in root files of your WWW folder in your wamp server folder
should be in your [B]Program Files[/B] folder usually. Or wherever you keep your program file folder. Which is usually in: C:

C:\wamp\www <-- mine is that directory. Your directory doesn't have to be the exact same.
Then you should have [U]ALL[/U] the files in there. [B]Copy + Paste[/B]

Depending on your CMS. It might have multiple config files
in the www folder. Your CMS files might have [B][U]"config2.php"[/U][/B]

Open it.

[B]It should look somewhat like this:[/B]
[CODE]<?php
$host['naam'] = 'localhost';                // My host.
$host['gebruikersnaam'] = 'root';       // My database username.
$host['wachtwoord'] = 'root';   // My database password.
$host['databasenaam'] = 'odinms';       // My database name.

$db = mysql_connect($host['naam'], $host['gebruikersnaam'], $host['wachtwoord']) OR die ('Cant connect to the database');
mysql_select_db($host['databasenaam'], $db);

$serverip = "5.37.135.47";     //WAN IP , Or hamachi IP.
EXAMPLE
$loginport = "8484"; //Don't change
$sql_db = "odinms"; //DB Name
$sql_host = "127.0.0.1"; //DB Host
$sql_user = "root"; //DB User
$sql_pass = "root";

Then in the INCLUDES / inc folder there should be more config.php files. Just make sure they look the same as the top. It's pretty simple.

Then on the little wampserver icon. Left click on it. Go to PHP/PHP settings. Make sure short open tag is CHECKED.

Then start it up.
It should be FULLY WHITE...NOT YELLOW

Then go to your registration page.
It should be.
WANIP:8484
For EXAMPLE 71.58.364.720:8484
Then your registration page should show up!
Then CLICK on ALL the options. Like for kakaCMS it had,
registration,ranks,etc.
Click on ALL OF THEM if it says something like
could not connect to mysql.

It'll say the file that is INCOMPLETE.
Go to it. For EXAMPLE
in the ranking it'll say it. Then it'll say the file that's wrong
C:/program files/page/downloads <-- FOR EXAMPLE

Then go to that file, It should have something like this at the top

$conn = mysql_connect("127.0.0.1", "root", "") or die ('Error connecting to mysql!');
mysql_select_db("odinms");

On that line, the 1st line. "127.0.0.1", "root", "" <-- Between the " " add your mysql password.
So, Example:
"127.0.0.1", "root", "root". TADA. It should work now.
Now look around more and keep correcting the mistakes.

Also to add the drop/meso/exp rate look for info.inc (It's a php file, but says .inc)

<?php
$config['server_name'] = ''; // Server name
$config['server_ip'] = '--.--.---.---'; // Server IP
$config['server_exp'] = ''; // Server EXP rate (do not add 'x')
$config['server_drop'] = ''; // Server Drop rate (do not add 'x')
$config['server_meso'] = ''; // Server meso rate (do not add 'x')
$config['server_owner'] = ''; // Server owner
?>
For the server ip put, what your using for hamachi use the hamachi ip for static/wan ip get your ip at and put it in.
Yes there is only one ' to end it. So for server meso
$config['server_meso'] = '999'; // Server meso rate (do not add 'x')

like that, and your registration page is up.

Notes:

When fixing the error that you get when loading something such as downloads, it'll also tell you the line number thats messed up. Usually you just needs to add the password.

To take away a page. Or navigation just go to www/navigation.php and delete the one you DON'T want then save, and it's going
to add one. You should probably COPY another one and rename it. Such as copy www/downloads and rename it "contacts" <-- Or whatever you wanna rename it. - Make sure it's a .php file -
Then go to www/page and add a file. Exactly named the same as the one you renamed. For contacts "contacts.php"
Then add whatever you want. You might want to look at OTHERS OF .php files in the www/page before you add something.
Also if you do add a page, make sure to change this in www file for the file you MADE.<
Code:
?php include ("page/[U]contact[/U].php"); ?>
Make sure you change it to what you named it in the www/page folder.

Also, make sure you added the directory to the "navigation.php" if you want to add contacts. Add:
Code:
<?php include ("page/contact.php"); ?>
under something. Yes the order where it is, is the spot it'll take, 1 home, 2 registration,3 contact, etc common sense people...[/CODE]
You could of made this A LOT cleaner. Otherwise nice job I guess I've been trying to look on how to make a registration site with wamp since my abyss webserver was glitched. I couldn't find any so I just added autoregister and now I have like 500 accounts that were made by accidently...I'll even clean your thread up. HAVE YOU EVER HEARD OF A COMMA? " , "
And by the way I that version you saw up there I fixed up and cleaned it because the grammar was HORRIBLE, the punctuation is completely out of WACK, and the "..." after every of your so called "sentance" Why are you adding that? ... is usually waiting or angerly waiting. Other than all of what I wrote which is basicly a lot an a big impact on your english then nice tutorial/guide.
 
Newbie Spellweaver
Joined
Aug 12, 2008
Messages
24
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Uh when i do this, im doing exactly as you say, im even using the same CMS as you and it still says cant find page
 
Newbie Spellweaver
Joined
Aug 11, 2008
Messages
42
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Sweet Thanks!
 
Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

to alpha...use ur WAN IP try that... <-- for ur wan ip..put the WAN ip in configs too :D
 
Newbie Spellweaver
Joined
Jun 30, 2008
Messages
48
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

My wamp server i like 2/3 yellow and 1/3 white. what do i do?
 
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
Re: [Guide] Making Registration Website w/ wamp

My wamp server i like 2/3 yellow and 1/3 white. what do i do?
Try restarting the service, google windows [vista/xp/etc] services
and restart apache or just restart the whoel comp and try, can u show me a screenshot?
 
Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

also if u have some problems...try turning off firewall :D if that doesnt work try adding port 8080 TCP ANDDDD UCP <-- basically both 4got if its called ucp... to ur ports... controlpanel/firewall/exceptions/add port... or...controlpanel/security/firewall/excetions/add port..
 
Newbie Spellweaver
Joined
May 3, 2008
Messages
28
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp



this is what i get when i put my wanIP:8484
 
Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

to xprox... delete all abyss folder files from ur program files folder...and uninstall abyss web server if u have it still...delete ALL files
 
Newbie Spellweaver
Joined
Aug 1, 2008
Messages
26
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

Nice guide but it dosent work for me becus its not giving salt so people cant log in u know how to fix it??

mail me at odinms@live.no
 
Newbie Spellweaver
Joined
Jul 31, 2008
Messages
6
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

ty for guide
 
Newbie Spellweaver
Joined
Aug 23, 2008
Messages
5
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

:scratch:My wamp server is 1/3 white and 2/3 yellow. How can I fix thiss.?
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Aug 17, 2008
Messages
21
Reaction score
0
Re: [Guide] Making Registration Website w/ wamp

to baole...try running the site... . make sure that the tags...r correct..short open tag...etc..
 
Dead & gone...
Joined
Aug 22, 2008
Messages
269
Reaction score
5
Re: [Guide] Making Registration Website w/ wamp

Same here. How do I fix my wamp server? It's mostly yellow and partially white
 
Dead & gone...
Joined
Aug 22, 2008
Messages
269
Reaction score
5
Re: [Guide] Making Registration Website w/ wamp

to baole...try running the site... . make sure that the tags...r correct..short open tag...etc..

When i try that link it takes me to o_O
 
Back
Top