Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Two Problems...1 cause?

Quote Reply
Two Problems...1 cause?
Hiya. First let me say, what a great looking script. I bought it 'cause my friend uses it. (He already poked me in the eye and said he won't help me. LOL)

Anyway, I bought the extended version and I have noticed two problems. First, if I do a search for a link I know is not listed, I get a "no match found" message...that is as it should be. But if I search for a link that is there, I get this:

CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::build_sorthit_new called at search.cgi line 301.

Script Location : search.cgi
Perl Version : 5.006

Form Variables
-------------------------------------------
bool : and
mh : 25
query : trevyn
type : keyword

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/entheoge/entheogen-www
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : Herb+&+Psychedelic+Q+&+A=name::&email::&listtype::&listtime::&lastmessage::991&lastvisit::987986498&thismessage::993&thisvisit::988001322&timestamp::988001322&wantnotice::&linkurl::&linkname::&imageurl::&password::
HTTP_HOST : entheogen.st
HTTP_REFERER : http://entheogen.st/cgi-bin/links/search.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; AIRF)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : query=trevyn&mh=25&type=keyword&bool=and
REMOTE_ADDR : 63.14.193.50
REMOTE_PORT : 1262
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/search.cgi?query=trevyn&mh=25&type=keyword&bool=and
SCRIPT_FILENAME : /home/entheoge/entheogen-www/cgi-bin/links/search.cgi
SCRIPT_NAME : /cgi-bin/links/search.cgi
SERVER_ADMIN : webmaster@entheogen.st
SERVER_NAME : entheogen.st
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.12 (Unix) ApacheJServ/1.1.2 Rewrit/1.1a FrontPage/4.0.4.3 PHP/4.0.3pl1

Also, to put up a new link from the front page..you can get to the form and fill it out, but once you are ready to submit it, it gives me this:

CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::check_valid_category called at add.cgi line 96.

Script Location : add.cgi
Perl Version : 5.006

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
CONTENT_LENGTH : 138
CONTENT_TYPE : application/x-www-form-urlencoded
DOCUMENT_ROOT : /home/entheoge/entheogen-www
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CACHE_CONTROL : no-cache
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : Herb+&+Psychedelic+Q+&+A=name::&email::&listtype::&listtime::&lastmessage::991&lastvisit::987986498&thismessage::993&thisvisit::988001322&timestamp::988001322&wantnotice::&linkurl::&linkname::&imageurl::&password::
HTTP_HOST : entheogen.st
HTTP_REFERER : http://entheogen.st/cgi-bin/links/add.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; AIRF)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 63.14.193.50
REMOTE_PORT : 1266
REQUEST_METHOD : POST
REQUEST_URI : /cgi-bin/links/add.cgi
SCRIPT_FILENAME : /home/entheoge/entheogen-www/cgi-bin/links/add.cgi
SCRIPT_NAME : /cgi-bin/links/add.cgi
SERVER_ADMIN : webmaster@entheogen.st
SERVER_NAME : entheogen.st
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.12 (Unix) ApacheJServ/1.1.2 Rewrit/1.1a FrontPage/4.0.4.3 PHP/4.0.3pl1

I made sure both the add.cgi and the search.cgi are using the full path and they were all uploaded in ASCII mode. I also deleted those two files and upped them again, complete with full paths defined, and I re-chmoded them (755) just to make extra sure. **shrug** I don't know where to go from here.

You can check it out for yourself here: www.entheogen.st
I can get links up there, but only from the admin script. (Guess I did something right, huh? **chuckle**)

Thanks

Subject Author Views Date
Thread Two Problems...1 cause? Trevyn 2686 Apr 22, 2001, 11:34 PM
Post Re: Two Problems...1 cause?
glennu 2615 Apr 23, 2001, 1:01 AM
Thread Re: Two Problems...1 cause?
Paul 2645 Apr 23, 2001, 6:24 AM
Thread Re: Two Problems...1 cause?
Stealth 2633 Apr 23, 2001, 7:56 AM
Thread Re: Two Problems...1 cause?
glennu 2618 Apr 23, 2001, 9:40 AM
Post Re: Two Problems...1 cause?
Trevyn 2618 Apr 23, 2001, 6:01 PM