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

Register | Forgot Password

Validation error
approving an entry leads to a blank page

Version: 1.20
printPrint


Validation error
debodle
Beginner

Usergroup: Member
Joined: Feb 18, 2007
Total Topics: 1
Total Posts: 2
Posted 02/18/07 - 05:56 PM:
quote post
#1
We are trying to take advantage of the validation feature for entries to the guestbook. From the admin panel, when you check off an entry waiting for validation and click the Go button, it leads to a blank page and the entry is not validated. Any ideas?
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 02/20/07 - 02:33 AM:
quote post
#2
I can't reproduce that (using PHP 5.2.1), it approves and shows. Can you get any output on the blank page when you turn debug mode on in the settings?

"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
debodle
Beginner

Usergroup: Member
Joined: Feb 18, 2007
Total Topics: 1
Total Posts: 2
Posted 02/20/07 - 03:21 PM:
quote post
#3
I have a lot of entries in my error log...here is a portion:
[client 72.45.57.144] PHP Notice: Undefined offset: 1 in /home/silverclub/www/wsnguest2/commonfuncs.php on line 94, referer: http://www.silvertonclub.com/$
[client 72.45.57.144] PHP Notice: Undefined offset: 2 in /home/silverclub/www/wsnguest2/commonfuncs.php on line 95, referer: http://www.silvertonclub.com/$
[client 72.45.57.144] PHP Notice: Undefined offset: 3 in /home/silverclub/www/wsnguest2/commonfuncs.php on line 96, referer: http://www.silvertonclub.com/$
[client 72.45.57.144] PHP Notice: Undefined offset: 4 in /home/silverclub/www/wsnguest2/commonfuncs.php on line 97, referer: http://www.silvertonclub.com/$
[client 72.45.57.144] PHP Notice: Undefined offset: 5 in /home/silverclub/www/wsnguest2/commonfuncs.php on line 98, referer: http://www.silvertonclub.com/$
[client 72.45.57.144] PHP Notice: Undefined variable: isadmin in /home/silverclub/www/wsnguest2/classes/member.php on line 250, referer: http://www.silver$
[client 72.45.57.144] PHP Notice: Undefined variable: leaveencoded in /home/silverclub/www/wsnguest2/admin/adminend.php on line 136, referer: http://www.s$
[client 72.45.57.144] PHP Notice: Undefined variable: text in /home/silverclub/www/wsnguest2/commonfuncs.php on line 65, referer: http://www.silvertonclub$
[client 72.45.57.144] PHP Notice: Undefined variable: text in /home/silverclub/www/wsnguest2/commonfuncs.php on line 65, referer: http://www.silvertonclub$
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Here is the bottom portion of what I get when I turn on debug to print the queries. This is from the page that comes up blank:

Fetching row for Resource id #18...

Performing query: SELECT id FROM wsnguest_members WHERE id>0 ORDER BY id DESC LIMIT 0,1;


Fetching row for Resource id #23... row 0 is 5...

Performing query: SELECT id FROM wsnguest_comments WHERE id>0 ORDER BY id DESC LIMIT 0,1;


Fetching row for Resource id #24... row 0 is ...

Performing query: SELECT id FROM wsnguest_entries WHERE id>0 ORDER BY id DESC LIMIT 0,1;


Fetching row for Resource id #25... row 0 is 2...

Performing query: SELECT name,email,country,city,message,ip,title,url,aim,icq,msn,yahoo,numcomments,birthdate,id,ownerid,validated,time,hide,lastedit,birthday,birthmonth,birthyear,state FROM wsnguest_entries WHERE id=2 ;


Fetching row for Resource id #26...

Performing query: SELECT name,email,country,city,message,ip,title,url,aim,icq,msn,yahoo,numcomments,birthdate,id,ownerid,validated,time,hide,lastedit,birthday,birthmonth,birthyear,state FROM wsnguest_entries WHERE id=2 ;


Fetching row for Resource id #27...
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6022
Posted 02/24/07 - 12:23 PM:
quote post
#4
Finally duplicated it, seems it only happened once filling in all the fields on the submission. Will be fixed in a 1.21 update planned for today.

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