Hi!
I am quitenew to the world of CGI and Perl. I am trying to install Links at my Virtual Ave account (imemily.virtualave.net), but I keep running into error messages! For example, when trying to run admin.cgi, I would get an error message saying that it could not find links.cgi, etc. I was able to solve the first few by changing the path names (by simply making the requirement "links.cgi"), and I arrived at the Links Administration page. When I try to click the links, however, I get the following error message.
********************************************************
CGI ERROR
==========================================
Error Message : fatal error: Can't locate /home/imemily/cgi-bin/links/admin/links.def in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at admin.cgi line 55.
Script Location : admin.cgi
Perl Version : 5.00404
Form Variables
-------------------------------------------
db : links
view_search : 1
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/imemily/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : imemily.virtualave.net
HTTP_REFERER : http://imemily.virtualave.net/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.05 (Macintosh; I; PPC, Nav)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=links&view_search=1
REMOTE_ADDR : 152.174.89.166
REMOTE_HOST : 152.174.89.166
REMOTE_PORT : 1674
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/admin.cgi?db=links&view_search=1
SCRIPT_FILENAME : /u/imemily/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SCRIPT_URI : http://imemily.virtualave.net/cgi-bin/links/admin/admin.cgi
SCRIPT_URL : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@virtualave.net
SERVER_NAME : imemily.virtualave.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6
************************************************************
How can I fix it? If you would like to see any of my scripts they are under the directory
http://imemily.virtualave.net/cgi-bin/links/admin/
or I can post whatever you need to see here. I would also appreciate any additional information about similar installation problems. Thanks!
I am quitenew to the world of CGI and Perl. I am trying to install Links at my Virtual Ave account (imemily.virtualave.net), but I keep running into error messages! For example, when trying to run admin.cgi, I would get an error message saying that it could not find links.cgi, etc. I was able to solve the first few by changing the path names (by simply making the requirement "links.cgi"), and I arrived at the Links Administration page. When I try to click the links, however, I get the following error message.
********************************************************
CGI ERROR
==========================================
Error Message : fatal error: Can't locate /home/imemily/cgi-bin/links/admin/links.def in @INC (@INC contains: /usr/local/lib/perl5/i386-freebsd/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-freebsd /usr/local/lib/perl5/site_perl .) at admin.cgi line 55.
Script Location : admin.cgi
Perl Version : 5.00404
Form Variables
-------------------------------------------
db : links
view_search : 1
Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/imemily/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : imemily.virtualave.net
HTTP_REFERER : http://imemily.virtualave.net/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.05 (Macintosh; I; PPC, Nav)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=links&view_search=1
REMOTE_ADDR : 152.174.89.166
REMOTE_HOST : 152.174.89.166
REMOTE_PORT : 1674
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/admin.cgi?db=links&view_search=1
SCRIPT_FILENAME : /u/imemily/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SCRIPT_URI : http://imemily.virtualave.net/cgi-bin/links/admin/admin.cgi
SCRIPT_URL : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@virtualave.net
SERVER_NAME : imemily.virtualave.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.2.6
************************************************************
How can I fix it? If you would like to see any of my scripts they are under the directory
http://imemily.virtualave.net/cgi-bin/links/admin/
or I can post whatever you need to see here. I would also appreciate any additional information about similar installation problems. Thanks!