[HELP] Website Login Problem.

11/04/2015 18:21 Bituse#1
Hello Folks
i need your help !!!
I have some error in logininc.php
PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home4/bitusealokin/public_html/inc/loginbar.inc.php on line 30


#Push
11/05/2015 16:13 #-Abuse#2
Its a English Homepage or Germany?
11/11/2015 16:00 Bituse#3
Why does the language methers ?
the loginbar.inc.php show me error...
11/11/2015 16:40 He3o Crysis#4
The mysql query was unsucessful. --> If an SQL query is unsucessful the mysql driver will set $sqlQry to false.

Try to check if the query was sucessful before by checking of $sqlQry is false.
Change "$sqlQry = mysql_query($sqlCmd,$sqlServ);" (line 29) to the following:
Code:
$sqlQry = mysql_query($sqlCmd,$sqlServ) or die(mysql_error());
DON'T DO THAT IF YOUR WEBSITE IS LIVE AND USED BY YOUR PLAYERS!

Come back with the error message you get then and I'll be pleased to help you!

- Crysis