Gossamer Forum
Home : Products : DBMan : Installation :

debugging error

Quote Reply
debugging error
I set $db_debug to 1 in the cfg, but when i goto run the script it still tells me to turn debugging on.

Im running this on an NT server if that helps.

Quote Reply
Re: debugging error In reply to
De-bugging option is used for installing your script. If it is set-up correctly, you can turn off the $db_debug variable by setting it to 0, like the following:

Code:

$db_debug = 0;


If it is set to 1, then the debug report will appear on all your db.cgi pages.

Regards,

Eliot

Quote Reply
Re: debugging error In reply to
Even if you have $db_debug=1; in your .cfg file, if there is a problem with your .cfg file, you won't get the debugging information. This is because, if there is a problem in a file, none of the variables are defined.

You could move $db_debug=1; to the db.cgi file, just after

$db_script_path = ".";

and then the debugging would work for problems in the .cfg file.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: debugging error In reply to
I got it. Thanks.
I put the db_debug in the db.cgi and changed the db_script_path from . to the full path.