Gossamer Forum
Quote Reply
404 issue
Hi,

in addition to this post:
http://www.gossamer-threads.com//perl/gforum/gforum.cgi?post=295935#p295935
I stumbled over another 404 issue:

In Page.pm : sub generate_category_page
there are several checks for a valid category but it looks like a random number does not lead to a 404 error so I added:
Code:
$id = $cat_db->select(ID => GT::SQL::Condition->new("ID" => LIKE => $id))->fetchrow || undef;
before

Code:
# Check for valid sort order.
Maybe there s a more elegant way but at least it works.

Regards

n||i||k||o

Last edited by:

el noe: Jun 24, 2008, 3:20 PM
Subject Author Views Date
Thread 404 issue el noe 3984 Jun 24, 2008, 3:03 PM
Thread Re: [el noe] 404 issue
brewt 3894 Jun 25, 2008, 12:25 AM
Thread Re: [brewt] 404 issue
el noe 3900 Jun 25, 2008, 12:50 AM
Thread Re: [el noe] 404 issue
brewt 3893 Jun 25, 2008, 1:05 AM
Post Re: [brewt] 404 issue
el noe 3863 Jun 25, 2008, 2:13 AM