Gossamer Forum
Quote Reply
Help
When staggering I get this error when it gets to my US section
Error Message : Unkown Category: Churches/North_America/US/Tennessee.
Script Location : nph-build.cgi
Perl Version : 5.008001

Can anyone help

Quote Reply
Re: [LordStryfe] Help In reply to
I may have found the problem. Is their a certain length that the category names can be? If so how do I change that?
Quote Reply
Re: [LordStryfe] Help In reply to
The change you need is in category.def, on this line:

Name => [1, 'alpha', 40, 75, 1, '', '^[\w\d/_-]+$'],

The red number (75) determines the max length, change it to whatever you need.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Help In reply to
Ok I fixed that but I still get


CGI ERROR
==========================================
Error Message : Unkown Category: Churches/North_America/United_States/Tennessee.
Script Location : nph-build.cgi
Perl Version : 5.008001

Form Variables
-------------------------------------------
auto : 1
limit : 20
offset : 100
staggered : 1
step : 2

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /home/ldstryfe/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : lastactivity=1082603225; lastvisit=1082584821; iBPassWord=cfcc27e3d2d1c78fc4dc859594e2d1fc; iBMemberID=74-1078365884; lang=en; bbmode=ezmode; fPrefs=2%3A30%3ATOPIC_LAST_DATE%3AZ-A%3A0; iBSessionID=01f582d70beddb8e8e310b009e574d89; LPid=1082603176; phpbb2mysql_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%22ba066c1241d4e5ec66c817e43430568a%22%3Bs%3A6%3A%22userid%22%3Bi%3A2%3B%7D
HTTP_HOST : www.wespreadtheword.net
HTTP_REFERER : http://www.wespreadtheword.net/cgi-bin/admin/admin.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; {3992B7DB-7553-4640-9892-A3CADF1AB27F}; .NET CLR 1.1.4322)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : staggered=1&step=2&limit=20&offset=100&auto=1
REMOTE_ADDR : 68.52.246.43
REMOTE_PORT : 2424
REMOTE_USER : ldstryfe
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/admin/nph-build.cgi?staggered=1&step=2&limit=20&offset=100&auto=1
SCRIPT_FILENAME : /home/ldstryfe/public_html/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/admin/nph-build.cgi
SERVER_ADDR : 64.91.253.189
SERVER_ADMIN : webmaster@wespreadtheword.net
SERVER_NAME : www.wespreadtheword.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a
Quote Reply
Re: [LordStryfe] Help In reply to
Looking at your site, I see you have these categories:

Churches/North_America

Have you created the proper sequence for the one you're having trouble with?

Churches/North_America/United_States/Tennessee

Means you need these categories:

Churches
Churches/North_America
Churches/North_America/United_States
Churches/North_America/United_States/Tennessee

You cannot get to Tennessee without having the proper structure ahead of it.Wink

Also, do you have a period after Tennessee, or is that coming from ther error notice?


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Apr 21, 2004, 10:23 PM