Gossamer Forum
Home : Products : DBMan : Installation :

Cannot Add Records, Radio Button Unchecks...

Quote Reply
Cannot Add Records, Radio Button Unchecks...
Hello there! Long-time listener, first-time caller. Wink

I just finished a ten-round brawl with DBMan, and DBMan won. I've searched this forum looking for answers, because I'm not a dummy and I like to figure things out for myself, but I've failed miserably. And I really thought I could do it!

But I'm not giving up, because DBMan looks to be the best database manager out there, and if working properly, it should do just what I need it to.

So here's the deal. I installed everything and the default database works perfectly, so I went into default.cfg and added all of my own fields (leaving html.pl alone and letting DBMan create its own forum from my .cfg). So all appears to be fine until I try to add my first record. The one of my radio-button fields kicks back as unable to add record, claiming that it's "Too long - max length 3". And to boot, the radio button is now unchecked!

So I tried deleting that field altogether, and the next radio button inherited the problem!

I've tried starting from scratch, and had no success. Hopefully one of you DBMan wizards can enlighten me.

You can access my DBMan at: http://www.mikeweather.com/linkdatabase/db.cgi

Login: admin/admin (I know, I know -- I'll remove this security hole once I get the darn thing running!)

Also, you can find my .cfg file at:

http://www.mikeweather.com/...database/default.cfg

Thanks in advance for any help that you can offer!

(Added: I just turned on debugging again and noticed that one of my radio-button fields is being given the value, "admin" instead of Yes/No. Yikes!)

:::::::::::::::::::::::::::::: Dimensioneer

Last edited by:

Dimensioneer: Feb 22, 2002, 2:16 PM
Quote Reply
Re: [Dimensioneer] Cannot Add Records, Radio Button Unchecks... In reply to
The problem could be with:

# Auth user field. This is the field position in the database used for storing the userid who owns the record. Set to -1 if not used.
$auth_user_field = 9;

If you don't have a userid field set this to -1

If you are going to have people signup and provide a userid to associate them to their records, you should create a userid field to hold their username.

I would highly suggest your visiting JPDeni's tutorial site and using her configurator to setup your cfg and html.pl files. Seeing how the output is will really help you to see how it all comes together. You can then just modify the output to suit your formatting needs, etc.

http://www.jpdeni.com/dbman/

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Cannot Add Records, Radio Button Unchecks... In reply to
I hate being a dummy, and love you, LoisC!

That one simple thing, that I somehow overlooked time and time again was the whole problem!

Thanks for taking the time to reply -- you've made a frustrated DBMan'er very happy. Smile

:::::::::::::::::::::::::::::: Dimensioneer
Quote Reply
Re: [Dimensioneer] Cannot Add Records, Radio Button Unchecks... In reply to
Hey, we've all been there ... gives us a chance to laugh at ourselves once we figure out what we did wrong.

I can't count the times one little thing had me stumped for days till i found it :)

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/