Gossamer Forum
Home : Products : DBMan : Installation :

DBMan Internal Error.

Quote Reply
DBMan Internal Error.
Hello,

I'm in desperate need of some help by an experienced CGI Scripter. I'm pretty basic with Scripts. I know how to install CGI scripts but this one has been mind boggin. I work for a First Person Shooter game that will be released soon. Hostile Intent, a Mod for Half-Life. Everytime I try to access my db script via www, I get the Internal Error. IT tells me to set debug to 0, but that never gives me any information. I have not edited any part of the script other then default.cfg. I'm positive all the paths are right and everything. What should I check? I've read this forum and have found various amounts of the same problem. What is the common fix? Thanks.

[Fullwave]
ClanCom Administrator
Hostile Intent Network
http://clancom.hostileintent.net

Quote Reply
Re: DBMan Internal Error. In reply to
That is the default bug message that is shown if you have the $db_debug variable turned on (1). You need to set the $db_debug variable to 0 in your default.cfg file, like the following:

Code:

$db_debug = 0;


This has been discussed before...search for debug and you will find many Threads in this forum that address this problem.

Regards,

Eliot Lee

Quote Reply
Re: DBMan Internal Error. In reply to
The debug is set to 0 and I still receive the error. Any other ideas.
I also experience the problem on the Hypermart Servers. It must be with the script then.
Quote Reply
Re: DBMan Internal Error. In reply to
The first thing to always check are your file (chmod) permissions, then make sure you uploaded in ASCII mode.

If default.cfg is the only you have made changes to, you can post it somewhere for us to look at and we would be happy to check it out.

Good luck!

- Mark

PS: Looking forward to HI Smile

Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: DBMan Internal Error. In reply to
Hi fullwave, the most common error (IMO) made when someone modifies the config file is omitting a needed comma or placing a comma somewhere it doesn't belong.

If you have added fields to your file, make sure that each field except the last field has a comma after it.

The second most common error would be a duplicated field number. Again, if you have added fields to your config, make sure you have incremented the field numbers properly.

ID => [0, 'numer', 5, 8, 1, '', ''],
Title => [1, 'alpha', 40, 255, 1, '', '']no comma if last field



Quote Reply
Re: DBMan Internal Error. In reply to
http://clancom.hostileintent.net/default.txt Take a look, I'm in desperate need of some help.

Quote Reply
Re: DBMan Internal Error. In reply to
Hi fullwave,

The paths you have identified are inaccurate and need to be corrected. I've tried to "color-code" things a bit to give you an idea what is needed. You'll need to correct all the paths.

Code:
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://clancom.hostileintent.net/database";
# URL of dbman.
$db_script_url = $db_dir_url . "d:\reload\hosted\hostileintent\clancom\database/db.cgi";
From this url http://clancom.hostileintent.net/database - what is the rest of the filepath needed to get to the db.cgi file?



Quote Reply
Re: DBMan Internal Error. In reply to
Thank you soo much, please check your email Karen.

Quote Reply
Re: DBMan Internal Error. In reply to
You're welcome fullwave, I'm pleased to know you were able to locate the problem. Color could be a "good thing" on these boards to help explain things visually. Good luck!