Gossamer Forum
Home : Products : DBMan : Customization :

CGI Error Message on Active Site! SOS!

Quote Reply
CGI Error Message on Active Site! SOS!
I'm getting this when I search a section in my DB! It just started happening.

I can't figure out what it means. My URL is

www.tasteofbrooklyn.com/main6.html

Look up "fort Greene"

CGI ERROR==========================================
Error Message : Debug InformationScript Location : db.cgi
Perl Version : 5.00502Setup File : default.cfg
User ID : defaultSession ID : defaultForm Variables
-------------------------------------------Name :
Neighborhood : Fort Greenedb : default
sb : 0so : ascenduid : default
view_records : SearchEnvironment Variables
-------------------------------------------
DOCUMENT_ROOT : /virtual/home/cyborgny/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint, */*
HTTP_ACCEPT_ENCODING: gzip, deflateHTTP_ACCEPT_LANGUAGE: en-us
HTTP_HOST : www.tasteofbrooklyn.comHTTP_PRAGMA : No-Cache
HTTP_REFERER : http://www.tasteofbrooklyn.com/main6.html
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=default&uid=default&sb=0&so=ascend&Name=&Neighborhood=Fort+Greene&Cuisine=---&Price=---&view_records=Search
REMOTE_ADDR : 207.122.69.66
REMOTE_HOST : emimusic-bh.emimusicpub.comREMOTE_PORT : 48259
REQUEST_METHOD : GET
SCRIPT_FILENAME : /virtual/home/cyborgny/public_html/tob/cgi-bin/dbman/db.cgi
SCRIPT_NAME : /tob/cgi-bin/dbman/db.cgi
SERVER_ADMIN : webmaster@tasteofbrooklyn.com
SERVER_NAME : www.tasteofbrooklyn.comSERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0SERVER_SOFTWARE : Apache/1.3.4 (Unix)
Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
The clue is here:

Error Message : Debug Information

Did you possibly turn on the debugger in the .cfg file?



------------------
JPD





Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
Yes, the debugger was on, but I can't tell what the error is.

Now when I try to go to the second page of the "Fort Greene" results, I get:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@tasteofbrooklyn.com and inform them of the time the error occurred, and anything you might have done that may have caused the
error.

More information about this error may be available in the server error log.


Any further ideas? TIA!
Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
First off, turn off the debugger. The information you're getting is the debug information, not a CGI error.

You seem to be mixing your files. The first page uses

...cgi-bin/dbman/db.cgi?db=default&uid=default...

The link to the second page uses

.../cgi-bin/dbman/dbman2/db.cgi?db=default&uid=default...

I think you may have a problem with the files in your dbman2 directory -- possibly the db.cgi file.

Go back to where you were before you started working on the short/long display mod. Make sure that your .cfg file points to the correct directory. Then we'll start looking at your other problems.


------------------
JPD





Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
Yes, I think that's interesting...

I created a NEW directory dbman2, to start working on the short_long.mod and just made copies of all my files to that directory, now for some reason, the second page still wants to point to dbman2 even though I didnt' change any of the files in the original dbman directory.

Any idea how that could have happened? How can I make sure the .cfg is pointing to the right directory? When I looked at it, it says /db.cgi (just I like I thought it was supposed to)?? TIA.
Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
Delete the dbman2 directory. If you're still having problems, look again at your .cfg file.

When you get all this fixed, instead of doing your testing in a subdirectory, create a directory at the same level as your dbman directory and call it something like "test." Sometimes the names we choose can end up to be confusing.


------------------
JPD





Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
For testing purposes, set up your cgi-bin like this:

Code:
cgi-bin (dir)
dbman (dir)
[all of your working dbman files]
test (dir)
[copies of all of the files, replacing the html.pl file with the short/long display file]

Once you get the "test" html.pl file exactly as you want it, move the html file from the test directory to the dbman directory and delete the test directory.


------------------
JPD





Quote Reply
Re: CGI Error Message on Active Site! SOS! In reply to
But, once again...if I put this on the same level as my dbman directory do I need to change the name of the db.cgi and default.cfg files?

I'm a bit confused.

TIA.