Log in

View Full Version : config issue



moneybux
03-09-2008, 11:49 PM
my web site is http://www.moneybux.biz. Does anyone know anything about config.php files? My pages don't work because of it

thetestingsite
03-10-2008, 12:24 AM
Find your config.php file and edit the variables in there to match your server's database info.

Hope this helps.

moneybux
03-10-2008, 01:00 AM
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

tech_support
03-10-2008, 06:35 AM
In the public_html folder.

moneybux
03-11-2008, 01:03 AM
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?

thetestingsite
03-11-2008, 01:08 AM
That all depends on your database connection info; but the syntax is correct.

Hope this helps.

moneybux
03-11-2008, 04:10 AM
what connection info are you talking about?

tech_support
03-11-2008, 08:00 AM
Forgot the quote:


<?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);

?>
...and try and see if your username and password is correct. Also see if it's actually "localhost"

moneybux
03-12-2008, 01:19 AM
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.

moneybux
03-12-2008, 10:21 PM
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?