Website Problems!

Status
Not open for further replies.
Newbie Spellweaver
Joined
Jan 13, 2008
Messages
6
Reaction score
0
Yo! Ok, i have followed the MEGA GUIDE to setting up a server, and im almost there. The Website is the only one left.

This are my problems:

* find the file named "config.php" and edit the Database settings inside there. So follow this pattern


It doesnt explain where exactly to put it! I dont know where, somebody show me a screenshot of there config.php please, so i know where to put it >.<

* I see al kinds of MySQl codes on my site, i red this between them:

Warning: mysql_connect() [ ]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampplite\htdocs\modules\alogin.php on line 24

Warning: mysql_select_db() [ ]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampplite\htdocs\modules\alogin.php on line 25

Warning: mysql_select_db() [ ]: A link to the server could not be established in C:\xampplite\htdocs\modules\alogin.php on line 25

Warning: mysql_query() [ ]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\xampplite\htdocs\modules\alogin.php on line 28

Warning: mysql_query() [ ]: A link to the server could not be established in C:\xampplite\htdocs\modules\alogin.php on line 28

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\xampplite\htdocs\modules\alogin.php on line 31
Account does not exsit!


Please help me, i will be gratefull :D
 
BUMP

Xinj - Website Problems! - RaGEZONE Forums


See?
This is when i try to Register, or login as Admin
 
Access denied for user 'ODBC'@'localhost' (using password: NO)
Access denied? got it?
just insert $mysq_db = 'yourdb'; and the other connection data -_-
 
just simple ...!

open _inc/config.php
then change like below <br />
PHP:
// Database
$cms['db']['host'] 			= 		'localhost'; // Database Host
$cms['db']['user'] 			= 		'[COLOR="Red"]root[/COLOR]'; // Database User
$cms['db']['pass'] 			= 		''; // Database Pass [I][COLOR="Gray"]leave blank :wink_5:[/COLOR][/I]
$cms['db']['name'] 			= 		'roseon'; // Database Name

make sure this config for private use only :wink_5:
coz your db isn't at a safe configuration and security :thumbsup:
 
config is wrong -.-
can't you just go to the fricken page

C:\xampplite\htdocs\modules\alogin.php on line 25

and check o.O

PHP is really easy..
 
Status
Not open for further replies.
Back