Gossamer Forum
Home : Products : DBMan : Installation :

Adding second database probs

Quote Reply
Adding second database probs
I got a single database up and running, I've now tried to add a second database and when I try to access the log in screens I get the infamous internal server error, although Ican still access test records in the original database using the links on my homepage.

The error comes up when I try either

http://www.langamingcentral.co.uk/...dbman/db.cgi?default

or
http://www.langamingcentral.co.uk/...dbman/db.cgi?members

If I remove the $in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'members'); line in db.cgi everything is back to normal with the original database.

I've uploaded cfg and html files here:

http://www.langamingcentral.co.uk/members.cfg
http://www.langamingcentral.co.uk/memhtml.pl

I've started over a number of times and can't see what the prob is, any help would be appreciated (I hope it's not something extremely obvious so that I feel really stoopid;))

Thanks in advance,

Chas


http://www.langamingcentral.co.uk
Quote Reply
Re: Adding second database probs In reply to
You're just missing a bit off your query string:

http://www.langamingcentral.co.uk/cgi-local/dbman/db.cgi?db=members

- Mark


Astro-Boy!!
http://www.zip.com.au/~astroboy/
Quote Reply
Re: Adding second database probs In reply to
Oops, thanks, that sorted out the problem with me not being able to access the original database, but I've still got the internal server error on the members database.

http://www.langamingcentral.co.uk
Quote Reply
Re: Adding second database probs In reply to
Woow, I found the problems, a missing } and |;

http://www.langamingcentral.co.uk