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

Quote Reply
Re: Two Problems...1 cause? In reply to
: fatal error: Undefined subroutine &main::build_sorthit_new called at search.cgi line 301.


fatal error: Undefined subroutine &main::check_valid_category called at add.cgi line 96.

These 2 errors are basically caused because in those files they're referring to sub routines which don't exist. I would seek help from the person who did the 'extended' version as it doesn't sound like it's completely installed.


Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Two Problems...1 cause? In reply to
I don't recommend using the "Extended" version at all.

It wasn't put together by a programmer, but someone who took everyone elses mods and mushed them together into the Links2 code.

You may want to take a look here........

http://www.gossamer-threads.com/...ew=&sb=&vc=1

Paul
Installations:http://wiredon.net/gt/
Support: http://wiredon.net/forum/

Quote Reply
Re: Two Problems...1 cause? In reply to
Yea...I agree...I think that the EXTENDED version is a waste of money...

Regards,

Eliot Lee
Quote Reply
Re: Two Problems...1 cause? In reply to
Yep for $100 you could prob get an installer to install most of those 'extras' for you. Seeing that over 90% of the 'extras' it offers are already available for free in the resources center or in the forum.

Good Luck!

Glenn
Host Links
http://cgi-resource.co.uk/links
Quote Reply
Re: Two Problems...1 cause? In reply to
Ak! Well, it sounded too good to be true. LOL I went to his site from a link in the resources area, then he was selling a combined license, so it looked pretty legit. If he is selling trash with Gossamer's name plastered on it, Gossamer should put a stop to it. I mean, if the "latest release" is missing subroutines....that is just insane. What is he doing trying to drum up instalation fees?