Log in

View Full Version : Help! +rep



The Voice
03-08-2006, 10:46 AM
Hey,

I need a member system for my website so i used the User System Part 1 tut on TechTuts. I copied all the code and changed the database username and password and the database name etc. However, when I ran it It said:


Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/bonxa/public_html/members/config.php on line 7

and;

Table 'bonxa_usersystem.users' doesn't exist

and then on the when you register :
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/bonxa/public_html/members/config.php on line 7

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/bonxa/public_html/members/register.php on line 17

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/bonxa/public_html/members/register.php on line 19
Your registration was successful!

What the hell does this all mean? everytime I code a CMS or Member System stupid MYSQL databases mess up and display things like this and I have no idea what they mean.

+rep for all help.

Flauvo
03-08-2006, 10:49 AM
Either it's fake or you havent entered the correct MySQL details.

The Voice
03-08-2006, 10:53 AM
Take at look for yourself.

http://www.bonxa.com/members

Im lost. How do i write them up if you know what i mean? Like with underscores or what?

Motion
03-08-2006, 10:54 AM
If you still aint done it PM me your MSN and ill do it for you

ClubTime
03-08-2006, 11:06 AM
Post your config file

Jargit
03-08-2006, 11:06 AM
It Says You Havnt made This Table

bonxa_usersystem.users

The Voice
03-08-2006, 11:07 AM
How do I make that table?

Motion
03-08-2006, 11:09 AM
Run the SQL query[s] in PHPMyAdmin in the database you made for the user system.

The Voice
03-08-2006, 11:17 AM
Which SQL queries? The ones that say's on TechTuts?

Motion
03-08-2006, 11:19 AM
Yeah. *Makes Longer*

The Voice
03-08-2006, 11:23 AM
Yes! It works. Thanks Motion. +rep.

Mod please close thread as Ive done it.

the wombats
03-08-2006, 11:26 AM
Ok, thread closed as thread starter requests. As you're VIP, look where it says ''Thread Tools'' and you can close it from there. :) Just thought I'd tell you that.

Want to hide these adverts? Register an account for free!