WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

Error trying to custom reject member

Version: 3.12
printPrint


Error trying to custom reject member
Animal
Member

Usergroup: Customer
Joined: Jan 08, 2005
Total Topics: 6
Total Posts: 12
Posted 02/17/05 - 01:17 PM:
quote post
#1
I'm having a small problem with my MEMBER custom reject field. When someone signs up and I wanted to custom reject them, I enter my reason into the text box then submit. Then I get this error:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home3/awmhock/animalwellnessmagazine-www/awa/dir/classes/database.php on line 72

And the item is not removed from the validated list and my test recipient (me) won't receive a rejection email.

I also tested this on the custom reject for LINKS and it works smoothly.

I can't figure out why it is doing this... Is this a bug?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5929
Posted 02/17/05 - 01:22 PM:
quote post
#2
It is... once I actually discovered last night in WSN Forum.

Open admin/index.php and replace
if (($customreject != 'yes') || ($message != ''))
with
if (($customreject != 'yes') || ($reason != ''))

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.