Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
Title says ti all really im getting this error after i create my character i click register to go to the /me page and i get that error http://prntscr.com/2oal9p
I'm using HRP CMS with ObboRP DB
I've tried putting 'field list' in my DB with 'ipaddress_reg' in it but still nothing, could someone help me?
Re: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
What it basically says is that it is trying to insert a value in the field 'ipaddress_reg' but it cannot find that field in your table.
Are you trying to make a RP or just some Phoenix / Butterfly hotel? If so then find the query where it inserts into your table and replace 'ipaddress_reg' with 'ip_reg'
If you want to create a RP you could try running this query:
Code:
ALTER TABLE users ADD ipaddress_reg varchar(15);
Re: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
Quote:
Originally Posted by
HillBilly
What it basically says is that it is trying to insert a value in the field 'ipaddress_reg' but it cannot find that field in your table.
Are you trying to make a RP or just some Phoenix / Butterfly hotel? If so then find the query where it inserts into your table and replace 'ipaddress_reg' with 'ip_reg'
If you want to create a RP you could try running this query:
Code:
ALTER TABLE users ADD ipaddress_reg varchar(15);
Trying to make a v26 RP
Re: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
Well I wish you good luck as it doenst look like you will be able to do that.
These errors are pretty common and if you don't know how to sort out the simple errors I dont think you'll succeed.
But I'd like to get proven wrong :):
Re: Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
Me too :o I got past 2 more error of the same but i'm not getting these errors http://prntscr.com/2oilrn
I have added
Quote:
ALTER TABLE users ADD ipaddress_reg varchar(15)ALTER TABLE users ADD last_online varchar(15)
ALTER TABLE users ADD vip varchar(15)
To my query but now really stuck in the mud