Gossamer Forum
Home : Products : DBMan : Customization :

Re: Relational database not working

Quote Reply
Re: Relational database not working In reply to
> Your auth_user_field is the same field number for both databases, right?

Yes, 0.

> Do you have $auth_view_own = 1; set in your .cfg file?

Yes, in both databases.

I've tried adding
$rec{$db_key} =~ s/<.?B>//g;
but didn't work.

If I modify this:
$in{'Identificador'} = "jpdeni";
it nearly works as if I had the fields in the wrong order: user jpdeni sees it's own products, the rest of the users can't see any of their products (normal, as the userid is fixed) and the admin sees that everyuser owns the products of jpdeni.

OK, now it nearly works putting the fields in the correct order and specifying the username.
Subject Author Views Date
Thread Relational database not working Andres 4088 Aug 1, 2000, 4:15 AM
Thread Re: Relational database not working
JPDeni 3997 Aug 1, 2000, 5:18 AM
Thread Re: Relational database not working
Andres 3987 Aug 1, 2000, 10:37 AM
Thread Re: Relational database not working
JPDeni 3989 Aug 1, 2000, 2:54 PM
Thread Re: Relational database not working
Andres 3986 Aug 2, 2000, 12:38 AM
Thread Re: Relational database not working
JPDeni 4017 Aug 2, 2000, 12:46 AM
Thread Re: Relational database not working
Andres 4029 Aug 2, 2000, 1:25 AM
Thread Re: Relational database not working
JPDeni 4002 Aug 2, 2000, 1:34 AM
Thread Re: Relational database not working
Andres 4045 Aug 2, 2000, 1:51 AM
Thread Re: Relational database not working
JPDeni 3991 Aug 2, 2000, 3:49 AM
Thread Re: Relational database not working
Andres 3975 Aug 2, 2000, 4:14 AM
Thread Re: Relational database not working
JPDeni 4020 Aug 2, 2000, 4:30 AM
Thread Re: Relational database not working
Andres 3999 Aug 2, 2000, 5:10 AM
Thread Re: Relational database not working
JPDeni 3977 Aug 2, 2000, 3:28 PM
Thread Re: Relational database not working
Andres 3893 Aug 4, 2000, 12:09 PM
Thread Re: Relational database not working
JPDeni 3873 Aug 4, 2000, 3:57 PM
Post Re: Relational database not working
JPDeni 3876 Aug 4, 2000, 4:02 PM