Gossamer Forum
Home : Products : DBMan : Customization :

Need help with my db.cgi - please

Quote Reply
Need help with my db.cgi - please
I am trying to add JPDeni's mod "Universal date translator" - But I get "500 Internal Server error.

My error.txt file says: "Undefined subroutine &main::parse_form called at db.cgi line 43."

The text "Line 43:" is added to show what line is line 43.

Code:


Line 42: # Load the form information and set the config file and userid.
Line 43: local(%in) = &parse_form;
Line 44: $in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
Line 45: $in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');
Is there anyone who can help me?

Jan Peter
Quote Reply
Re: [JPWiese] Need help with my db.cgi - please In reply to
I would first look to be sure the sub:

sub parse_form

is actually in your db.cgi file. That error usually means that the sub in question is missing.

Unoffical DBMan FAQ
http://redundantcartridge.com/dbman/
Quote Reply
Re: [LoisC] Need help with my db.cgi - please In reply to
It was missing!

I reinstalled it and now my DBMan is up and working again - Till the next modinstall :-)

Thank you

Jan Peter