Gossamer Forum
Home : Products : DBMan : Customization :

"default" entries

Quote Reply
"default" entries
My problem is that in one special field (called "Zimmer") the script writes constantly the word "default" in the database - whatever I tell it to write in the html_add_form. Even using a direct call by URL didn't help me. The field is defined like this:
[..]
Zimmer => [9,'alpha',40,40,0,'',''],
[..]
My direct call was:
[..]db.cgi?db=wbg&uid=default&add_record=1&Zimmer=3[..]

Can someone solve this problem or tell me, in which case the script writes an entry as "default"?
Quote Reply
Re: "default" entries In reply to
You have not changed the $auth_user_field variable in the .cfg file.

Since it appears that you aren't using a userid field, set

$auth_user_field = -1;

in your .cfg file.


------------------
JPD






Quote Reply
Re: "default" entries In reply to
Thank you 100 times. Simply thing, I'm a little bit annoyed that I didn't find the reason for myself ;-)
Quote Reply
Re: "default" entries In reply to
Don't feel too bad. It is the most common error that people make.

I'm glad I could help.


------------------
JPD