Arkadaşlar merhaba,
Benim oyun sitemde kullanıcı yaptığında aşağıdaki gibi hatalar oluşuyor. Nasıl çözebilirim.
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 321
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): A link to the server could not be established in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 321
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 323
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): A link to the server could not be established in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 323
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 325
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): A link to the server could not be established in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 325
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 327
[18-Jan-2017 06:05:54 UTC] PHP Warning:  mysql_real_escape_string(): A link to the server could not be established in /home/sampiyonoyun/public_html/wp-content/themes/sampiyonoyun_v2/footer.php on line 327
Tema içerisinde ki kod ksımı
$formGoster = true;

			$kayitDevam = true;		

			$aye_username = mysql_real_escape_string($_POST['username']);

			$aye_sifre = mysql_real_escape_string($_POST['sifre1']);

			$aye_sifre2 = mysql_real_escape_string($_POST['sifre2']);

			$aye_mail = mysql_real_escape_string($_POST['mail']);