Gossamer Forum
Home : Products : DBMan : Installation :

Error Message : Debug Information

Quote Reply
Error Message : Debug Information
Crazy I have installed the dbman in .../cgi-bib/dbman

After, from the net I will tried to call the db.cgi

I will tried to log a lot of times but I did not any
I delete the data (except first line) from default.pass
and I added these (kostas:k100157k:1:1:1:1:1) .. but when I will tried again to login with these.. nothing again..



This is the messagge



DBMan encountered an internal error. CGI ERROR==========================================Error Message : Debug InformationScript Location : db.cgiPerl Version : 5.006Setup File : default.cfg--------But I switched in 1 the debugging ?? Unsure How can to work dbman? These are the urls & paths.. Are correct? # File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.hellenic-schools.gr/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";
Quote Reply
Re: [kinisi] Error Message : Debug Information In reply to
Hello Kinisi, it looks like your database is working properly. I was able to login and access the database with no problem. Saw users gousias & petros added.

The message at the bottom of your databse screens (the environmentals etc) can be disabled by making the following change in your default.cfg file:

# Display Debugging Information (1 = Yes, 0 = No).
$db_debug = 0;


~ Karen
Quote Reply
Re: [Karen] Error Message : Debug Information In reply to
BlushYes,now its working-But I don't Know how its happen!!!Crazy

I want to add one e-mail field.By which code, how and where can to add it?



Also, could you suggest me a website which it use Dbman (in simple form) to see some details about dbman in work?

Thankyou
Quote Reply
Re: [kinisi] Error Message : Debug Information In reply to
You would add a new field to your database:

Userid => [9, 'alpha', -2, 15, 0, '', ''],
Email => [10, 'alpha', 40, 255, 0, '', '.+@.+..+']
);

-- If you already have records in your database, you'll need to add an additional | (pipe) at the end of each record for the new field.

In html.pl, you'll need to add a new row to your add record form:

In sub html_record_form add:

<TR><TD ALIGN="Right" VALIGN="TOP"><$font>Email:</FONT></TD>
<TD VALIGN="TOP">&nbsp;<INPUT TYPE="TEXT" NAME="Email" VALUE="$rec{'Email'}"" SIZE="40" MAXLENGTH="255"></TD></TR>

In sub html_record you'll need to add a new row for the display of the field:

<TR><TD ALIGN="Right" VALIGN="TOP"><$font_color>Email:</FONT></TD>
<TD>&nbsp;<$font>$rec{'Email'}</Font></TD></TR>

- - - - -



For the sites using DBMan, I believe there are several listed in the Resources area under "Sites in Action". You can access the Resources area by taking the "Support" link at top of this page, after the page loads, there will be a link in the left column for the Resources.

~ Karen
Quote Reply
Re: [Karen] Error Message : Debug Information In reply to
I found (from some article in this forum) ... this website
http://www.jpdeni.com/...figurator/config.cgi
and the configurator it is the best choice for a newbie ...
It is a very good tool.



Now I am thinking... is it any good as this site for modify the html - to make more beutifull...

Are there any good templates?

Do you know any?

Thank you
Quote Reply
Re: [Karen] Error Message : Debug Information In reply to
Remember that dots need to be escaped to be taken literally in regex so you'd want:

Email => [10, 'alpha', 40, 255, 0, '', '.+@.+\..+']