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

error running admin.cgi

Quote Reply
error running admin.cgi
when i run my admin.cgi, i get the following error:

CGI ERROR
==========================================
Error Message : fatal error: Undefined subroutine &main::html_home called at admin.cgi line 91.

Script Location : admin.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-2,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: sl
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : p_go2id=ImXj9m/fpNekifHqz3Wc7Q
HTTP_HOST : iskalnik.hypermart.net
HTTP_USER_AGENT : Mozilla/4.51 [sl] (Win95; I)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 195.246.0.71
REMOTE_PORT : 1666
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/admin.cgi
SCRIPT_FILENAME : /data1/hypermart.net/iskalnik/cgi-bin/links/admin/admin.cgi
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SCRIPT_URI : http://iskalnik.hypermart.net/cgi-bin/links/admin/admin.cgi
SCRIPT_URL : /cgi-bin/links/admin/admin.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : iskalnik.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

I have searched all the forums, tried to edit files from the beginning several times, tried to use the script on 3 different servers (hypermart, virtualave and mycgiserver.com) w no success.
Please somebody help me urgently cause i simlpy don't have any idea what to do.

Thanks,
arkan
Quote Reply
Re: error running admin.cgi In reply to
What changes have you made in the admin.cgi or admin_html.pl files?

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: error running admin.cgi In reply to
Now that you mentioned that admin_html.pl file, i found out what was wrong.
There was no admin_html.pl file at all. That happened because i unzipped the zip package with an old zip program that doesn't support long filenames. It means that any file with name longer than 8 chars wasn't unzipped.

I'm really sorry for wasting your time with such a stupid problem. Now it all works properly and I can't tell you how happy i am.

Thanks anyway for the clue.

you can close this thread now.
Quote Reply
Re: error running admin.cgi In reply to
You're welcome.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums