Jump to content

Recommended Posts

Posted

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 :blink:

Posted

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).

Posted

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..

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...