Gossamer Forum
Home : Products : DBMan : Installation :

Error Message

Quote Reply
Error Message
Hello

I get an error when the db.cgi file is loaded
http://www.emdgroupinc.com/cgi-bin/dbman/db.cgi

I have loaded the db.cgi and the default.cfg
at
http://www.emdgroupinc.com/db.cgi.txt
http://www.emdgroupinc.com/default.cfg.txt

and what would be the ABSOLUTE path to the dbman directory

------------------
Thanks
stovpipe :)
Quote Reply
Re: Error Message In reply to
Like I mentioned before, you need to have the absolute path (which is defined in docs at perl.com and also should be documented in your Hosting Company's web pages) for the following variable:

Code:
$db_script_path

LIKE THE FOLLOWING:

Code:
$db_script_path = "/usr/local/apache/htdocs/www.emdgroupinc.com/cgi-bin/dbman";

WITH NO TRAILING SLASH

You can also try the following configurations of that variable if the above does not work:

Code:
$db_script_path = ".";

OR

Code:
$db_script_path = "";

I hope this helps.

Regards,


------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Error Message In reply to
hmm well now this happen

http://www.emdgroupinc.com/cgi-
bin/dbman/db.cgi

and ohh here is the html.pl

http://www.emdgroupinc.com/html.pl.txt



------------------
Thanks
stovpipe :)
Quote Reply
Re: Error Message In reply to
Did you by chance use the Configurator to set up your database? If so, that is the problem.

I would recommend using the ORIGINAL DBMAN files before you configure your database.

Also, BTW: You can use vi in telnet to look at that line of code with the following command lines:

1)

Code:
cd cgi-bin/dbman


2)

Code:
perl -c db.cgi

3)

Code:
:184

If this line is near the end of a sub-routine, just add a a right bracket } and the script should work.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Error Message In reply to
WOW somebuggy script or is it just me..?

http://www.emdgroupinc.com/cgi-bin/dbman/db.cgi

------------------
Thanks
stovpipe :)
Quote Reply
Re: Error Message In reply to
Please use the original files to get your script operating! Do not custom your database until you have gotten the script up and running!

The original files DO work.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
http://www.anthrotech.com
Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
----------------------





Quote Reply
Re: Error Message In reply to
I downloaded another set of files and the same thing happen to it
I didnt modify anypart of the script except the $db_script_path part of it

http://www.emdgroupinc.com/cgi-bin/dbman/db.cgi



------------------
Thanks
stovpipe :)
Quote Reply
Re: Error Message In reply to
Ok I found the problem
it was the html.pl what was incomplete
I guess this happen when downloading

the last part of the script is missing
A-OK now

Thanks for the help



------------------
Thanks
stovpipe :)
Quote Reply
Re: Error Message In reply to
Good.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
http://www.anthrotech.com
Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
----------------------