[Help] website

04/05/2010 19:15 Crazy123456#1
im having problems with my website says in config.php line 16 theres something wrong
Quote:
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
04/05/2010 20:10 King_Arthur#2
Show us the error.

What you have quoted says your website is trying to connect to the mysql server using (host,username,password)
Then its trying to select the correct db (databasename).
04/05/2010 20:23 Crazy123456#3
yeh thats the error says it has a error in those lines and i do not know at all how to do it
04/05/2010 20:55 PraDevil[ELITE]#4
show the error here:facepalm: so we can check
04/06/2010 03:33 Crazy123456#5
i did ... on the website it says there is a error in config.php line 16 thats it
04/06/2010 04:01 .Ash#6
SS of it might help..
04/06/2010 05:55 King_Arthur#7
Quote:
Originally Posted by Crazy123456 View Post
i did ... on the website it says there is a error in config.php line 16 thats it
It is going to say more important stuff before that that is going to give us more of a clue at exactly what the problem is. Give us the whole line or SS it if you have to as suggested above.
04/06/2010 17:05 .Ash#8
Quote:
Originally Posted by SpongeBox View Post
SS of it might help..
Quote:
Originally Posted by King_Arthur View Post
It is going to say more important stuff before that that is going to give us more of a clue at exactly what the problem is. Give us the whole line or SS it if you have to as suggested above.
I Just said that.....
04/06/2010 18:56 King_Arthur#9
Quote:
Originally Posted by SpongeBox View Post
Quote:
Originally Posted by King_Arthur View Post
Quote:
Originally Posted by SpongeBox View Post
SS of it might help..
It is going to say more important stuff before that that is going to give us more of a clue at exactly what the problem is. Give us the whole line or SS it if you have to as suggested above.
I Just said that.....
Really?
04/09/2010 21:31 Crazy123456#10
hahaha here u go [Only registered and activated users can see links. Click Here To Register...]
04/09/2010 22:12 .Ash#11
You put your pass where you put userid..
04/09/2010 22:22 Crazy123456#12
Quote:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="root"; //your server login password
$myuser="rufeng"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="173.27.234.190"; //your server ip
$serverport=3306; //your server connection port
$mydb="my"; //your server my database
$servername = "DemonsBeast"; //Put your servername here.
$link = "http://demonsbeast.servegame.org/"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
this is my config.php
04/09/2010 22:24 .Ash#13
Quote:
Originally Posted by Crazy123456 View Post
this is my config.php
i just said that you put your password where you supposed to put your UserID :D lol

PHP Code:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="rufeng"//your server login password
$myuser="root"//your server login username
$mydbacc="account"//your server account database
$mydbdata="my"//your server my database name
$serveraddress="173.27.234.190"//your server ip
$serverport=3306//your server connection port
$mydb="my"//your server my database
$servername "DemonsBeast"//Put your servername here.
$link "http://demonsbeast.servegame.org/"//Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
There copy and paste that
04/09/2010 22:43 Crazy123456#14
its still not connecting .... idk whats wrong


but the error was fixed
04/09/2010 23:25 .Ash#15
Quote:
Originally Posted by Crazy123456 View Post
its still not connecting .... idk whats wrong


but the error was fixed
Something is wrong with his page, Not sure what it is But there is an Error on News & Announcements and Events. Maybe MySql is old? anyone got an idea what wrong?