ID_user field not updated

R

Rogier

Guest
Okay I got dadabik installed and like it very much. I now would like to use it for a database with a coule hundred entries and something like ten editors.

So I enabled authentication. But now I also want that users cannot delete/udpate eachothers records. This doesn't work for me. I have in included a "ID_user" field of type int(11) in my mysql table and refreshed the Dadabik configuratino afterwards. I have included the field in the details page and have set the field type in Dadabik to ID_user.

However, when I insert a new record, the ID_user field is always "0".

What is wrong, what should I check ?

Thanks,

Rogier Eggers
 
D

Debbie S

Guest
Rogier

When you insert record, are you logged on as one of the users previously set? Users must be set up by logging in as "admin".

Debbie
(Latest version of DaDaBIK when this message was posted: 3.1 Beta)
 
R

Rogier

Guest
Thanks for the quick reply Debbie.

I hda two regular users from which I switched over for testing. I created them with admin account, so no trouble there....

I just found what was the problem. I had to set the field type of ID_user in mysql/phpmyadmin to "text" and not "int(11)". I am now a happy user ;-)
 
Top