Hi , i just download here from the forum "YourOwnBox Script v3.2" Which is bux script. I did every thing ok , i modiefed the config.php with the same settings, What i did i created new mysql , then go to th phpmyadmin and then i did import the sql i got from the script to the database thet i created , i write the same database name + pass on the config.php , and i get massive error's u can see it here : <?php // Database configuration $bd_host = "localhost"; $bd_usuario = "xyde2k2_xyde"; $bd_password = "123456"; $bd_base = "xyde2k2_xyde"; $url = "http://localhost/"; $con = mysql_connect($bd_host, $bd_usuario, $bd_password); mysql_select_db($bd_base, $con); ?> Code (markup): This my config.php , u can see its the same settings ... I created the same database name + username and the same pass.. and i did edit every config.php file on my script i have 3 config.php files.. seems every things ok .. the website to see the error's : http://steam4you.free240.com/ what wrong here and why its not working ?
Double check your username, host and password...thats really common to see when you aren't connected to the database.
Actually test like this to see if you are getting a connection first.... <?php mysql_connect("server", "user", "pass") or die(mysql_error()); echo "Got a connection"; ?> replacing server, user, pass of course heh
Is your url correct? YOu have: $url = "http://localhost/"; Try replacing the localhost with http://steam4you.free240.com
If someone setup a script to connect to the config file for the database by url that would have to be the dumbest thing I ever saw. I mean needing a reference to an actual url to find the connection script. I assume that the $url is just for other pages to use...The connection script should still work he is getting to the page.
<?php // Database configuration $bd_host = "localhost"; $bd_usuario = "xyde2k2_xyde"; $bd_password = "123456"; $bd_base = "xyde2k2_xyde"; $url = "http://localhost/"; $con = mysql_connect($bd_host, $bd_usuario, $bd_password); mysql_select_db($bd_base, $con); ?> get rid of the red bit