website not working...plzz help me

12/17/2011 03:47 mrlangsi#1
already run the game...but cannot reglster new ld.... already try a lot of web..and edlt alot of conflg.... anyone can help mee...
2 days spend to resolve lt..but stlLL!!!
[Only registered and activated users can see links. Click Here To Register...]
[Only registered and activated users can see links. Click Here To Register...]
12/17/2011 11:45 RyanOtoy01#2
hihihi... Just Edite Your Config.php..

Config Must be Match For Your Database.

User DB :
User Pass :
Account DB :
DB Hosting : 127.0.0.1 ( If Your Host is Local Host. )

hihihi... Just Edite Your Config.php..

Config Must be Match For Your Database.

User DB :
User Pass :
Account DB :
DB Hosting : 127.0.0.1 ( If Your Host is Local Host. )
12/18/2011 04:03 mrlangsi#3
database/gameserver/config.ini


[GameServer]
GAMESERVER_IP =127.0.0.1
GAMESERVER_PORT =5816
SND_SIZE = 64000
RCV_SIZE = 16000


[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_NAME =my


[InternetPort]
MASTER_IP = 127.0.0.1
MASTER_PORT = 8653
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 2



this from C:\xampp\htdocs\config.php

require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="127.0.0.1"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "DemonPower Website Previeuw with Recapcha"; //Put your servername here.
$link = "http://www.DemonPower.com"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);

i think this setting match already...but still access denied...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\config.php on line 16<---eror msg
12/18/2011 18:46 idlemonkey#4
your configs for your game are setup for an offline server not one that connects to other computers but just for you to play, one thing that is very important is that you make sure all of the information matches your mysql user data... which apparently the user and pass is correct server ip is correct (for an offline server) but I seriously doubt your servername is "DemonPower Website Previeuw with Recapcha" (this should be your servers name)and I seriously doubt your website link is "demonpower.com" (try localhost you cant use your dns redirect (if you have one) unless you make a user with that same name
also make sure you followed all the steps to making your server ie: all configs match, all users match, you have set up the hosts file, etc

try using a different user for the website test test is usually the one for this
you shouldnt make your root user for the website anyways .. but if you still insist then make sure your password is correct
12/19/2011 06:31 RyanOtoy01#5
Quote:
Originally Posted by mrlangsi View Post
database/gameserver/config.ini


[GameServer]
GAMESERVER_IP =127.0.0.1
GAMESERVER_PORT =5816
SND_SIZE = 64000
RCV_SIZE = 16000


[Database]
DB_IP =127.0.0.1
DB_USER =root
DB_PW =test
DB_NAME =my


[InternetPort]
MASTER_IP = 127.0.0.1
MASTER_PORT = 8653
PORT_SIZE = 53
LOGIN_KEY = dfkKO23k'[cvK934
CURRENT_PORTID = 2



this from C:\xampp\htdocs\config.php

require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="127.0.0.1"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "DemonPower Website Previeuw with Recapcha"; //Put your servername here.
$link = "http://www.DemonPower.com"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);

i think this setting match already...but still access denied...
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\xampp\htdocs\config.php on line 16<---eror msg
whether it is correct that your user is root?
hihiih... Please Chek Your Navicat ( Manage User )
12/19/2011 07:16 mrlangsi#6
tq vm frend... now web already working.... but how to make that web online... use free domaln Llxe [Only registered and activated users can see links. Click Here To Register...] how to manage that web go true localhost??sory ....noob lol
12/19/2011 15:38 idlemonkey#7
Quote:
Originally Posted by mrlangsi View Post
tq vm frend... now web already working.... but how to make that web online... use free domaln Llxe [Only registered and activated users can see links. Click Here To Register...] how to manage that web go true localhost??sory ....noob lol
localhost= your own computer if you look and follow one of the many guides you will see that they show you how to add a host and while adding the information into your hosts directory you will notice localhost 127.0.0.1
this obviously means that your localhsot will use this ip now when you set up your hosts you will notice they are also writen in the same way so that 127.0.0.1 is (yourdomain).com
insternal network ip is (yourdomain.com)
external ip assigned by your isp is (yourdomain.com)

this obviously means that any time you go to (yourdomain).com it will point to your website either on your local network in your computer or on your local network... now having mentioned in my previous post that you were using the setup for an "offline" server you should unsderstand how to configure it to ocnnect online. everywhere that you have put the localhost instead of your external ip you will need to change. and if you use a router you will need to use port forwarding in your router to configure your router to point your outside ip to the inside ip

I warn you however.. this is jsut the begining and if you find this part difficult you will be very overwhelmed at the things to come
12/20/2011 08:38 mrlangsi#8
its working when localhost..but after upload to web...not working at all.. view this..how to make it worklng? using hamachi.. server done..(l guess) but web not working..
setaneo.site40.net
12/20/2011 09:54 idlemonkey#9
[Only registered and activated users can see links. Click Here To Register...] come on man its not rocket science
12/20/2011 10:02 mrlangsi#10
server done...already try from another pc... but the prob now ls my webslte ... loox
Llxe my web not connected to my sql....try checx thls -----> [Only registered and activated users can see links. Click Here To Register...]

server done...already try from another pc... but the prob now ls my webslte ... loox
Llxe my web not connected to my sql....try checx thls -----> [Only registered and activated users can see links. Click Here To Register...]
12/22/2011 10:17 idlemonkey#11
you have not made the right permissions in your mysql for one thing that says you are using no password at all for mysql from your site...... look its not hard it tells you whats broken in the message
Code:
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'a1290651'@'localhost' (using password: NO) in /home/a1290651/public_html/config.php on line 17
first you are connecting to local host .. if this is your host and not an external ip this is fine
second access is denied which means the same as when you login to your computer and use the wrong password... you do not have permission
third the username doesnt look like a normal username for mysql.. not to say this is bad but it probably doesnt exist already so if you want to connect with it you will have to create it
fourth it says using password NO this means you are not using a password
Note: permissions mean what you are allowed to connect to just creating a user and not giving it any databases to connect to will accomplish nothing.
these are the things you need to fix. it tells you what to look at