Gossamer Forum
Home : Products : DBMan : Installation :

Please help - Internal Error

Quote Reply
Please help - Internal Error
Okay, I'm very very new at DBMan, but I've learned alot. When I was in the process of installing my scripts, I figured I was finished and so I went to my site (http://wwreggy.virtualave.net/cgi-bin/db.cgi) to try and view it. I then got this message:

DBMan has encountered an eternal error. Please enable debugging to view.

So I went to my default.cfg file and edited my debugging to being:

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

But now I don't have a clue of what to do. If anyone thinks they can help then please post a reply!

Quote Reply
Re: Please help - Internal Error In reply to
What does the debugging info say?

Paul Wilson.
http://www.wiredon.net
Quote Reply
Re: Please help - Internal Error In reply to
Erin, doublecheck that you have a comma after each field definition except the last one.

Such as:

Available1 => [22, 'alpha', 0,255, 0,'',''],
Available2 => [23, 'alpha', 0,255, 0,'',''] <<< no comma after last field

And then, doublecheck that you have a form field in html.pl for each of your database fields. Some fields, as needed, may be hidden, but each of the fields need to be identified in the form.

Check those items and let me know if the error resolves.

Quote Reply
Re: Please help - Internal Error In reply to
After I enabled it on the default.cfg file and I reviewed the page.. well, nothing happens. Am I doing something wrong? Is there something more I need to do to view the debugging information?

Quote Reply
Re: Please help - Internal Error In reply to
Karen--

I checked it and that is fine, I have the commas, and the form is right. You can view my default.cfg file if it would help...

Quote Reply
Re: Please help - Internal Error In reply to
Erin, try correcting this item first:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://wwreggy.virtualave.net/cgi-bin/";

Let me know if removing the trailing slash from the uRL corrects the problem.

Quote Reply
Re: Please help - Internal Error In reply to
Karen -

Tried but still no good :( Would it help if you could have access to my files and see yourself and edit whatever might be wrong? Let me know, thanks :)

Erin

Quote Reply
Re: Please help - Internal Error In reply to
Erin, can you save your html.pl file as a text file (html.pl.txt) and upload it to an area where it can be viewed (not in the cgi-bin)? Post the url where the file can be accessed and I'd be happy to take a look at it.

~ Karen

Quote Reply
Re: Please help - Internal Error In reply to
Erin, not sure what the difference is but, just checked on a sample config which I have built and the date default is different from what you have.

Can you try changing your date field as indicated and see if that works?

'Date_Purchased' => [ 7, 'date', 20,255, 1, &get_date, ''],




Quote Reply
Re: Please help - Internal Error In reply to
In Reply To:
After I enabled it on the default.cfg file and I reviewed the page.. well, nothing happens. Am I doing something wrong? Is there something more I need to do to view the debugging information?
Open up db.cgi and add $db_debug = 1; under the line $db_script_path = ".";

That should deliver a more descriptive error message.

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Please help - Internal Error In reply to
Mark-

I did what you said and now I'm making progress, see the page-

http://wwreggy.virtualave.net/cgi-bin/db.cgi

Well, now it shows the errors but I *ahem* still can't figure out what to do..

Erin Anderson
~.~Beginner CGI~.~
Quote Reply
Re: Please help - Internal Error In reply to
Well according to the error message you have an unescaped @ symbol.

Most liekly you've used it as part of an email address somewhere in html.pl.

What you'll need to do is escape that, and any other occurances of an @ symbol, by placing a backslash before it. ie: \@

Good luck!

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Please help - Internal Error In reply to
Erin, check the private messages for my reply to your note.