sw3etpinay4o8 Posted December 31, 2003 Posted December 31, 2003 I just installed phpfanbase for a new fanlisting i had approved, but I get warnings like "Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in /admin.php on line 20". this is the first time i've used it, so i'm really confused X___x Quote
Nick_ Posted December 31, 2003 Posted December 31, 2003 You probably used a number as your table name or possibly a reserved word. Try using letters instead, and not any of the reserved words. A list of reserved words is here (scroll down). Quote
sw3etpinay4o8 Posted December 31, 2003 Author Posted December 31, 2003 I changed it, but its still the same... Quote
Nick_ Posted December 31, 2003 Posted December 31, 2003 What name are you using? or which were you using? Quote
sw3etpinay4o8 Posted December 31, 2003 Author Posted December 31, 2003 the table name is called members.. it used to be just a whole bunch of numbers Quote
Nick_ Posted December 31, 2003 Posted December 31, 2003 Hmm...You might need to restart the whole install from fresh. Quote
glassgorilla Posted December 31, 2003 Posted December 31, 2003 If you are getting the same message for line 25 and also a mysql_fetch_array error towards the bottom of admin.php (above the footer), and the message when you login says something like "You have a total of members, of which are approved" (instead of having numbers, i.e. "You have a total of 50 members, 30 of which are approved"), then your table was probably never created, or the table you did create does not match the name given in config.php That's all phpfanbase v 2.1, if you have a different version then this may not apply.. Quote
Lianna Posted January 1, 2004 Posted January 1, 2004 Remember that your tables may have a predefined prefix depending on how the tables were created. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.