Gossamer Forum
Home : Products : DBMan : Customization :

Record Added Problem

Quote Reply
Record Added Problem
With Admin permissions the 'Record Added' screen comes up great after adding a record with all the info present. With anything less than Admin permissions the 'Record Added' screen comes up without info yet the info is in the database and the authed user who put in the info does not appear to be connected to that record for modification, delete etc. Weird or what? Thanks for any help.
Quote Reply
Re: Record Added Problem In reply to
My guess is the problem is in your .cfg file. A couple of things to look for (because these are mistakes I've made that have had similar results)--
make sure your field definitions have consecutive numbers. Sometimes if I have two fields that are similar, I copy the definition and make a few changes. The one thing I forget to change is the field number.

check your $db_key field and make sure it is set to the exact field name that you want your key to be.

check to be sure that your $auth_user_field is set to the right number. I noticed that this isn't working either, since I couldn't modify a record I had entered with the author/author login. There's definitely a problem.

I would really suggest that you make your .cfg file available, if none of these things seems to fix it.

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

All my advice is offered on the basis of kindness-ware. If I've helped you to solve a problem, go out of your way to be kind to someone today.

Quote Reply
Re: Record Added Problem In reply to
Can you give us the URL for your database and passwords for admin access? Also, you might see if you can make a text version of your .cfg file and html.pl file available on the web so we can look at that.


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

All my advice is offered on the basis of kindness-ware. If I've helped you to solve a problem, go out of your way to be kind to someone today.

Quote Reply
Re: Record Added Problem In reply to
Thanks for the reply.
url
http://www.pine-strawberry-az.com/cgi-bin/dbman/db.cgi?db=realestate2

admin/admin (no problem adding)
author/author (check out Record Added)

Thanks

Will get up copy of cfg & html.pl
Quote Reply
Re: Record Added Problem In reply to
Thanks JPDeni

Will get back to you.

Quote Reply
Re: Record Added Problem In reply to
Figured it out. Inadvertantly deleted the Userid field in the cfg file.

Thanks a bunch.