[turba] problem sharing address book

Bartek Krajnik bartek at bmk-it.com
Wed Sep 5 14:42:25 UTC 2012


Hi,
I have Horde-4.0.15, groupware-4.0.8 and turba-3.0.15 (from pear).
Settings for localsql:
	'all_shares' => true.

I created address book TEST on account BARTEK and shared it:
All Authenticated Users 	Show 	Read
Guest Permissions 	Show 	Read


Now I login to account DEFAULT and clicking for address books I can not see address book TEST.

In mysql logs i see proper select which returns back proper address book TEST while nothing in www interface.

Is it better to use:
$conf['share']['driver'] = 'Sql';
or:
$conf['share']['driver'] = 'Sqlng';
?

Using sqlng in mysql logs I found 1 error at mysql syntax:
We have:
SELECT DISTINCT * FROM turba_sharesng s  WHERE (share_owner = 'default' OR perm_creator_4 = 1 OR perm_default_4 = 1) AND share_owner = 'default' ORDER BY share_id ASC

And it should be:
SELECT DISTINCT * FROM turba_sharesng s  WHERE (share_owner = 'default' OR perm_creator_4 = 1 OR perm_default_4 = 1) ORDER BY share_id ASC

Best regards,
	Bartek.


More information about the turba mailing list