Gossamer Forum
Home : Products : DBMan : Installation :

Unable to add records

Quote Reply
Unable to add records
When I try and add a record to my database, it just takes back to the login page. I can modify listings, but I can't add new ones. The permissions for default.db is 777.
Quote Reply
Re: [shalom777] Unable to add records In reply to
The default.db file should be set to 666.

I'm wondering if there is a problem in your .cfg file, could you post an attachment so it can be viewed.

Are you allowing default users to post? Are you trying to post as a registered user without being logged in?

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Unable to add records In reply to
I changed the .db file to 666.

Default users aren't allowed to post, however when I was trying to add a record I was logged in as the admin user.

I've included the .cfg file. Maybe I'm missing something in the setup.

I would like it so that users can browse the records without having to login - only authorized users should be able to add/modify/delete records.
Quote Reply
Re: [shalom777] Unable to add records In reply to
Opps, you forgot to attach a copy of your .cfg file or provide a url to where a .txt copy of it can be viewed on your server :)

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/
Quote Reply
Re: [LoisC] Unable to add records In reply to
Oops. I attached the file, but didn't click the "upload attachment" button. If it still doesn't work, here is a link to a txt version of the cfg file.

http://www.fraasfineart.com/default.txt
Quote Reply
Re: [shalom777] Unable to add records In reply to
The only thing I saw in your .cfg file is not setting it up so registered users can add, modify and delete records.

$auth_signup = 1;
@auth_signup_permissions = (1,1,1,0,0);

Are you sure you have the /auth directory added to your cgi-bin directory and have the chmod set at 777?

Unoffical DBMan FAQ

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