Gossamer Forum
Home : Products : Others : Fileman :

Really studip newbie - output may help

Quote Reply
Really studip newbie - output may help
I'm just trying the basic demo install following the example @ http://www.jpdeni.com/dbman/

My ISP says the following:

to refer to your cgi scripts from within a html document you should use:
http://cgi.www.yourdomain.co.uk/cgi-bin/www.yourdomain.co.uk/your-script.pl
If you need to reference your docs directory from your script then use:

/docs/www.yourdomain.co.uk/your-file

I think I've done that.

When I try to acces the DB the browser says:

CGI ERROR
==========================================
Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate http://www.e-em.com/cgi-bin/dbman/db.cgiwww.e-em.com/cgi-bin/www.e-em.com/dbman/html.pl in @INC (@INC contains: http://www.e-em.com/cgi-bin/dbman/db.cgi /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/sun4-solaris /usr/local/lib/perl5/site_perl .) at default.cfg line 50.

Script Location : /www/cgi-bin/www.e-em.com/dbman/db.cgi
Perl Version : 5.00404
Setup File : default.cfg

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /www/docs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/xbm, image/x-jg, */*
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_EXTENSION : Security/Remote-Passphrase
HTTP_HOST : cgi.www.e-em.com
HTTP_IF_MODIFIED_SINCE: Sun, 05 Dec 1999 20:44:20 GMT
HTTP_UA_CPU : PPC
HTTP_UA_OS : MacOS
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.5; Mac_PowerPC)
PATH : /usr/sbin:/usr/bin
QUERY_STRING :
REMOTE_ADDR : 194.222.86.35
REMOTE_HOST :
REMOTE_PORT : 2084
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/www.e-em.com/dbman/db.cgi
SCRIPT_FILENAME : /www/cgi-bin/www.e-em.com/dbman/db.cgi
SCRIPT_NAME : /cgi-bin/www.e-em.com/dbman/db.cgi
SERVER_ADMIN : websupport@demon.net
SERVER_NAME : uk-0.www.demon.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3b3
TZ : GB

Is this obvious to anyone?

TIA

Huw



Quote Reply
Re: Really studip newbie - output may help In reply to
Hi Huw:

Reason: Can't locate http://www.e-em.com/cgi-bin/dbman/db.cgiwww.e-em.com/cgi-bin/www.e-em.com/dbman/html.pl in @INC

This line gives me the hint that you might have set your $db_script_path in db.cgi improperly. You have set $db_script_path to some URL when you should have set it to the directory where your dbman is.

Another thing is that this is really the fileman installation forum and not the dbman forum. If you post your problem in DBMan forum you will get help a lot faster since that is where the people in charge usually answers questions. On the other hand, FileMan forum is not as widely used and your questions may not get answered in a timely manner.

Cheers
Sun