A while ago, the website was working, but now, the whole mysql stopped working, I mean, the website oppens, doesnt not show any connection errors, but I can't make any querry.
If I try to login, I get back to the same login form page, if I try to make a query, I get an error inside the website field "Query was empty".
It happened after I had moved the website to a domain folde, I configured everything correct, so I dont know what's going on...
The connection file:
The configuration file:
If I try to login, I get back to the same login form page, if I try to make a query, I get an error inside the website field "Query was empty".
It happened after I had moved the website to a domain folde, I configured everything correct, so I dont know what's going on...
The connection file:
Code:
<?
// 'server' 'database_username' 'database_password'
$connection = mysql_connect("localhost", "mcempreg_mcdb", "I wont show it here on the forum")
or die (mysql_error()); // 'database_name'
$db = mysql_select_db("mcempreg_mc", $connection) or die (mysql_error());
?>
The configuration file:
Code:
<?
include ('lang/portuguese.php'); // don't change it
$fullurl = "balcaocerto.com.br"; // dirctory where the system is going to be installed, leave blank for installing on the root
$sitename = "Mister Cursos - Empregos"; // Name of the website
$sitenameheading = "Balcão Certo";
$sitenamefooter = "Mister Cursos";
$myemail = "mxxxxxxxxx.com"; // admin e-mail
$contactemail = "mxxxxxxxxxx.com"; // contact e-mail
$mydomain = "balcaocerto.com.br"; // website domain, please don't use http://
$myurl = "balcaocerto.com.br"; // domains where the system is going to be installed, please don't use o http://
$twocoid = ""; // leave it how it is.
$twoco = "disable"; // leave it how it is.
include ('style.php'); // leave it how it is.
?>
Comment