Gossamer Forum
Home : Products : DBMan : Installation :

CGI Error

Quote Reply
CGI Error
Dear Help:

Can someone please tell me what this error means and what do I need to do to correct this problem.
Evidently, the // after cgi-bin and before db.cgi should have only / there.

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : /usr/local/etc/httpd/cgi-bin//db.cgi
Perl Version : 5.00503
Setup File : default.cfg

Also, can I have my database in this area /usr/local/etc/httpd/secure/clicktosubmit/?

Thank you for any help.

Chill
EZ Web Page Designs
Quote Reply
Re: [chill] CGI Error In reply to
Like you noticed there should only be one backslash. Go into default.cfg and erase one of em. If you're still having problems with file locations please post your top area of default.cfg on somebody here will take a look at it for you.

goosd luck

openoffice + gimp + sketch ... Smile
Quote Reply
Re: [chill] CGI Error In reply to
The database can be located in any directory your server will allow but as
mentioned you have an extra slash in the path you are using.

Rather than using the path:

/usr/local/etc/httpd/cgi-bin//db.cgi

You need to define the URL such as:

$db_dir_url = "http://yourserver.com/cgi-bin";

Hope this makes it clear


without the trailing slash.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [QooQ] CGI Error In reply to
Removed duplicate post

Last edited by:

LoisC: Sep 23, 2001, 6:09 PM
Quote Reply
Re: [QooQ] CGI Error In reply to
Dear QooQ:

I finally found out what the problem was. I was calling the script from a regular web site URL (http://www.name.com), forgetting that I had set up my database on the secure part of the server: https://www.name.com. This is what caused the double // slashes to appear. I did make the correction, which caused the double // slashes to disappear, but now the error message is telling me that the error is the location:

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : /usr/local/etc/httpd/secure/clicktosubmit/ctsapm.cgi
Perl Version : 5.00503
Setup File : ctsapm.cfg

It is my understanding that https://name.name.com/name/name.cgi?db=ctsapm&uid= is the same as the script location above. What do you think?

Sincerely,
Charles Hill
Quote Reply
Re: [LoisC] CGI Error In reply to
Dear LoisC:

Please read the post to QooQ.

Sincerely,
Charles Hill

Thank you for your help. Smile
Quote Reply
Re: [chill] CGI Error In reply to
What do you have in your .cfg file as the path to access the script?

It might help to make a text copy of your .cfg file and provide the url so it can be viewed.
There could be something in there causing this that can be spotted by being able to see the .cfg file.



Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] CGI Error In reply to
Dear Lois:

Here is the URL request: http://www.ezwebpagedesigns.com/ctsapm.txt.

I also have been trying to set up the authentication: I want to have
administration priviledges only, and for the member to have viewing priviledges on, and
require them to get an userid and password, so they will only be able to
view their own records. I have read the readme file, browsed the forum, and read JPDenis' tutorial. Maybe is there, but I just didn't see it...

Again, thank you for all your time and help.Wink

Chill
EZ Web Page Designs
Quote Reply
Re: [chill] CGI Error In reply to
The URL provided does not find the file.

In JPDeni's tutorial there is an excellent chart for setting permissions.



Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] CGI Error In reply to
Dear Lois:

Sorry for the delay. I had my hands full with my H.S. Biology students. We have two weeks till the term is over. Also, we have a new baby boy at home...

The web site address is http://www.ezwebpagedesigns.com/ctsapm.txt

I put a (.) at the end of the line, which should not have been used. Almost everything is working well except the signup part. In JPDen's tutorial, she says it should read $auth_signup = 1;*

Everytime I put the asterik in that position, it returns an error. I believe her symbol is a star? But, I do not know how to enter a star in Notepad. Any ideas will be helpful.

Again, thanks for your time and help.

Chill
EZ Web Page Designs


Quote Reply
Re: [chill] CGI Error In reply to
Just off the cuff...

Quote:
Everytime I put the asterik in that position, it returns an error. I believe her symbol is a star? But, I do not know how to enter a star in Notepad. Any ideas will be helpful.

You don't need the asterik (*). I think she was flagging the statement to refer to another comment or something.

I'll admit I didn't take the time to read all of the postsShocked, but that statement just jumped out at me.
Quote Reply
Re: [Watts] CGI Error In reply to
Watts is right the astrix is there to point out that you either change that line or do something with it.

the semicolon ends that code line.

there was a similar post back about a month or 2 ago about this.

good luck

openoffice + gimp + sketch ... Smile