Gossamer Forum
Home : Products : DBMan : Installation :

"Internal error" message - text files on server for review

Quote Reply
"Internal error" message - text files on server for review
Hello. I keep getting the following error message when I try to go to the DBMan program:

DBMan encountered an internal error.

I've checked the file permissions and ensured they were uploaded in ASCII format. I've uploaded the db.cgi and newspapers.cfg files ('newspapers' because that's the database I'm trying to access) to my server so someone in the know can look them over, please, and tell me what I've done wrong. Here are the URLs to these files:

http://www.lifeafter91101.org/cgi-bin/dbman/db.txt
http://www.lifeafter91101.org/...dbman/newspapers.txt

The URL that produces the aforementioned error message:
http://www.lifeafter91101.org/cgi-bin/dbman/db.cgi?db=newspapers

Thank you for your assistance.
Eric G.
Quote Reply
Re: [geric] "Internal error" message - text files on server for review In reply to
If you are going to use your Newspaper field as the key field as use this for tracking you should set this to a numer field like this:

'Newspaper' => [ 0,'numer',25,75,1,'',''],

Your $auth_user_field = 9;

should be set to:

$auth_user_field = 7;

which is your userid field.

You may also want to remove the defaults for the checkboxes, radio, and select fields as you are not using them in your database.

In the FAQ noted below there is a great little snippet of code under the section Troubleshooting called "Debugging - Useful Error Messages" this snippet of code can save hours of time finding errors within the script.

There is also some notes for setting up your .cfg file to be able to catch errors there. Bascially moving $db_debug = 0; to above the
# File and URL's section.

Hope this helps

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/