Hi
I have installed IRSIM, however when I try to register a
user I get the following error:
Warning: mysql_num_rows(): supplied argument is not a
valid MySQL result resource
in /home/w5xcom/public_html/messenger/register.php on
line 82
Registration successful !
Continue to register another user.
It said 'Registration successful', so I Tried to login, using
the newly created account, and recieved the error
shown below:
Warning: mysql_num_rows(): supplied argument is not a
valid MySQL result resource
in /home/w5xcom/public_html/messenger/login.php on
line 45
Warning: mysql_num_rows(): supplied argument is not a
valid MySQL result resource
in /home/w5xcom/public_html/messenger/login.php on
line 55
ERROR !
Invalid username - password
OR
Username already in use (logging it out, now).
I have checked the code, re-installed the program, tried
all the fixes I could think of!
Any Ideas, I would love to get this working but have hit
a brick wall now!
Thanks
Stuart
Logged In: NO
Stuart Lawes
Logged In: YES
user_id=912261
This is the first time that we have run across this problem.
Based upon the supplied information it looks like the MySQL
DB contains the account name and password. Please check to
see if the account name and password are in the "chat_user"
table to verify the fact.
It also looks like when the software is retrieving the
account/pasword/status fields the database is telliing the
sotware "there is something wrong".
Out of the blue I would suspect that the database is not
allowing you to read the fields or the data being retrieved
from the fields is not appropriate for this particular MySQL
inplementation.
Check to see if the database "connect" needs some special
permissions that are not being provided (like READ and WRITE
permissions.)
The problem certainly seems to be particular to your
PHP/MySQL environment for some reason.
That's all I could come up with so far.
id