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

problem with admin.cgi

Quote Reply
problem with admin.cgi
i installed links on win98 and xitami server.
when i open admin.cgi on the left menu panel it displays all administrative links fine but below it displays cgi eror
Quote:
CGI ERROR
==========================================
Error Message : Done
Script Location : C:\Xitami\cgi-bin\links\admin\admin.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------
display : navigation

Environment Variables
-------------------------------------------
BLASTER : A220 I5 D1 T4
CGI_ROOT : C:/Xitami/cgi-bin
CGI_STDERR : cgierr.log
CGI_STDIN : C:\WINDOWS\TEMP\pipe0009.cgi
CGI_STDOUT : C:\WINDOWS\TEMP\pipe0009.cgo
CGI_URL : /cgi-bin
CMDLINE : WIN
COMSPEC : C:\WINDOWS\COMMAND.COM
CONTENT_LENGTH : 0
CONTENT_TYPE :
DOCUMENT_ROOT : C:/Xitami/webpages
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us,ru;q=0.5
HTTP_CONNECTION : Keep-Alive
HTTP_CONTENT_LENGTH : 0
HTTP_HOST : 127.0.0.1
HTTP_REFERER : http://localhost/cgi-bin/links/admin/admin.cgi
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
PATH : C:\PERL\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
PATH_INFO :
PATH_TRANSLATED : C:/Xitami/webpages
PROMPT : $p$g
QUERY_METHOD : GET
QUERY_STRING : display=navigation
REMOTE_ADDR : 127.0.0.1
REMOTE_HOST : 127.0.0.1
REMOTE_USER : -
REQUEST_METHOD : GET
SCRIPT_NAME : /cgi-bin/links/admin/admin.cgi
SCRIPT_PATH : cgi-bin/links/admin
SERVER_NAME : 127.0.0.1
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SECURITY : -
SERVER_SOFTWARE : Xitami
SERVER_URL : http://127.0.0.1/
SERVER_VERSION : 2.5b1
TEMP : C:\WINDOWS\TEMP
TMP : C:\WINDOWS\TEMP
WINBOOTDIR : C:\WINDOWS
WINDIR : C:\WINDOWS
and if i try to create a category or add a link after filling a form and hitting add category button it opens new admin.cgi full panel inside that frame.
what should i check?

------------------
LLL
Quote Reply
Re: problem with admin.cgi In reply to
1) This is not a bug. To turn of debugging, simply comment out the &cgierr codes in the admin.cgi file.

2) Make sure that you have properly defined $db_script_url to the virtual/relative path in your links.cfg file where your admin.cgi is located.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: problem with admin.cgi In reply to
thanks a lot for replying. i uncommented debugging lines.
and it doesnt display debugging information . the directory for $db_script_url is set correctly i even tried to set it without $db_dir_url but rather
$db_script_url = "http://127.0.0.1/cgi-bin/links/admin/admin.cgi"; # Admin script.
but still the same result every time i try to add category it loads admin.cgi in the frame.( tried using localhost instead of 127.0.0.1)
what possibly could cause this? i mentioned its win98/xitami/latest perl
thanks
Quote Reply
Re: problem with admin.cgi In reply to
I read your post...I know what platform and server you are using...Thanks for the re-cap!

Wink

Anyway, try using the default configurations for the $db_script_url, like the following:

Code:
$db_script_url = $build_root_url . "/admin.cgi"; # Admin script

OR something like that (it's been awhile since I used the original scripts...been modding for the past eight months).

Also, using localhost would not work.

BTW: There are other Threads in the LINKS forums and DBMAN forums that discuss using xitami server. If my advice does not help, then search the forums for Threads relating to this server!

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------









Quote Reply
Re: problem with admin.cgi In reply to
i found those threads that had similar problems with the adding links or categories and that would open another admin.cgi or add.cgi in the frame
http://www.gossamer-threads.com/scripts/forum/resources/Forum2/HTML/001510.html
http://www.gossamer-threads.com/scripts/forum/resources/Forum2/HTML/001513.html
http://www.gossamer-threads.com/scripts/forum/resources/Forum2/HTML/001341.html
i couldnt find anything that would solve the problem. i just wonder why is this occuring.
i will keep digging. appreaciate if you have any suggestions or ideas.
Quote Reply
Re: problem with admin.cgi In reply to
any help?