Webmastersite.net
Register Log In

Validation error
approving an entry leads to a blank page

Comments on Validation error

debodle
Beginner

Usergroup: Member
Joined: Feb 18, 2007

Total Topics: 1
Total Comments: 2
debodle
Posted Feb 18, 2007 - 7:56 PM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 20, 2007 - 4:33 AM:

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

Usergroup: Member
Joined: Feb 18, 2007

Total Topics: 1
Total Comments: 2
debodle
Posted Feb 20, 2007 - 5:21 PM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Feb 24, 2007 - 2:23 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.