my web site is http://www.moneybux.biz. Does anyone know anything about config.php files? My pages don't work because of it
my web site is http://www.moneybux.biz. Does anyone know anything about config.php files? My pages don't work because of it
Find your config.php file and edit the variables in there to match your server's database info.
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
is the config.php supposed to be in the script folder, public_html or admin folder? I seem to have all the information correct according to the cpanel
In the public_html folder.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
ok, this is what the config.php says:
<?php
$bd_host = "localhost";
$bd_username = "moneybux_admin";
$bd_password = "******
$bd_base = "moneybux_bux";
$con = mysql_connect($bd_host, $bd_username, $bd_password); mysql_select_db($bd_base, $con);
?>
is it correct?
That all depends on your database connection info; but the syntax is correct.
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
what connection info are you talking about?
Forgot the quote:
...and try and see if your username and password is correct. Also see if it's actually "localhost"Code:<?php $bd_host = "localhost"; $bd_username = "moneybux_admin"; $bd_password = "******";$bd_base = "moneybux_bux"; $con = mysql_connect($bd_host, $bd_username, $bd_password); mysql_select_db($bd_base, $con); ?>
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
well, i thought that localhost was the server that the site is being hosted on anyway. but, if you go to http://www.moneybux.biz you will see theh error messages. If someone can tell me anything about those error messages and what should be changed in the config.php I would greatly appreciate it. I know the site needs a facelift. But, that will come when the site is running properly.
well, i confronted my host, and she told me that the script is connecting, but, there is an issue with the script. anyone know anything about ptc scripts?
Bookmarks