Gossamer Forum
Home : Products : DBMan : Customization :

relation mod problems

Quote Reply
relation mod problems
Major problems !

I've woerked through the JPDeni Relational Database Mob but am having some problems renaming the databases.

Basically when I rename the database and alter the config file to select all the new files it all works fine - until I remove from the cgi-bin the default.cfg, then when I try to access the database it simply returns a message which says "Internal error - bla bla"

I've checked the Unofficial site and can't find alot of information on working with multiple databases.

Please help !

Quote Reply
Re: relation mod problems In reply to
The scripts will always try accessing default.cfg unless a specific database configuration is identified in the call.

yourdomain.cgi-bin/dbman/db.cgi <<<always looks for default.cfg

yourdomain.cgi-bin/dbman/db.cgi?db=myunique <<< looks for a configuration file named myunique.cfg

When calling a specific database, you include only the filename, not the .cfg extension. DBMan looks for the extension by default.