Gossamer Forum
Home : Products : DBMan : Installation :

Help- More Internal Error Problems

Quote Reply
Help- More Internal Error Problems
I am trying to set up a strategy database for my clan site, and am stuck. The test database worked fine, so I'm sure it isn't a problem in permissions, and I uploaded the files as ascii.

My script is located at :

http://tlf.net-games.com/cgi-bin/dbman/db.cgi

(Debug is on, you can see the error there.

and copies of my cfg file (strat.cfg) and html file (html.pl) can be found at :

http://tlf.net-games.com/dbman/strat.txt

and

http://tlf.net-games.com/dbman/html.txt

Respectively.

Any help is greatly appreciated.

Quote Reply
Re: Help- More Internal Error Problems In reply to
I looked at your files and I don't see any red flags...

Do the following:

1) Check your Perl Error Log.
2) Check the syntax of the file (db.cgi):

a) Connect to directory where db.cgi is located:

Code:

cd cgi-bin/dbman/
Code:


b) Check the syntax of the file:

Code:

perl -c db.cgi


Then post the exact error message you receive.

Also, the error could be caused by the following factors:

1) Wrong Perl path in the db.cgi file.
2) Wrong ABSOLUTE path in the $db_script_path variable in the db.cgi file.

It would be very helpful if you also save your db.cgi as a TEXT file, upload the file to a publicly accessible directory in your web server, and post the URL to the text file as you have done with the other files.


Regards,

Eliot Lee
Quote Reply
Re: Help- More Internal Error Problems In reply to
Hello Kamp, the error I am receiving is:
Reason: strat.cfg did not return a true value at db.cgi line 52.

Line 52 of an unmoddified db.cgi file is:
require "auth.pl";

You might want to double check files involved with with the authorization routines (auth.pl, default.log, default.pass and the /auth directory)

Check the Readme.txt file for permission settings and even though you believe the files have been transferred in ascii format, double check that they actually have been.
(Been a rash lately of ftp clients using binary transfer even though people thought the settings were accurate in the ftp program.)



Quote Reply
Re: Help- More Internal Error Problems In reply to
Karen: I have double checked permissions, and checked I uploaded in ASCII again. The 52nd line in mine requires the file "strat.cfg", so my file must be modified. Thanks for helping.

AnthroRules: I do not know where the perl error log is located, and I do not have shell access, so I'm sorry I can't complete the steps in your post.

However, I have uploaded db.cgi as:

http://tlf.net-games.com/dbman/db.txt

Thank you for the help, and I hope I can fix this!

Quote Reply
Re: Help- More Internal Error Problems In reply to
For some reason, the database is working now. What I did to make it work must have been simple, but I do not know exactly what. I double checked that I was uploading in ASCII, saw that I was, then re-uploaded (is that a word?) all of the files again. You can see the results of my database at:

http://tlf.net-games.com/cgi-bin/dbman/db.cgi

Thanks for all of your help.

Quote Reply
Re: Help- More Internal Error Problems In reply to
Looks like you've a great start on your db Kamp - pleased to hear it is now working for you.

Quote Reply
Re: Help- More Internal Error Problems In reply to
Enter challenge 2; working with multiple databases ;). Thanks again all.