logo
WSN Links PHP Directory Software
Features Showcase Reviews Demos Purchase Manual Support
 

MySql error showing only to members
Error appears only to members (not admin)

Version: 3.12
Example URL: http://www.wahmsunited.com/links/suggest.php?action=addlink&filled=1


MySql error showing only to members
wahmsunited
Beginner

Usergroup: Member
Joined: Apr 21, 2004
Total Topics: 2
Total Posts: 2
Posted 09/16/04 - 10:01 AM:
quote post
#1
I'm getting the Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/def9508/public_html/links/classes/database.php on line 72

Two spots I've found this happening are:

1. Registered Member clicks on Get Title and Description when adding a new link

2. If that button is not used, the error appears after submission - the link then doesn't make it to admin for validation.

Everything else that I've run through so far seems to be working great. And these errors only appear to members - everything functions great as Admin.

One note: In the link submission template, I have LinkType hidden as I only want reciprocal links - maybe I did something wrong there?

http://www.wahmsunited.com/links/

Thanks in advance for your help Paul!

Dianne
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5703
Posted 09/17/04 - 01:56 AM:
quote post
#2
1. I registered a regular user account, used the button, and it simply added the title as requested.

2. Went back and tried not using the button, no errors on submit.

You'll need to post the debug info. See the manual entry on mysql error.s
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

Admin Control Panel

   
Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support
© 2008 Paul Knierim. All rights reserved.