[turba] Readonly flag

Michael J Rubinsky mrubinsk at horde.org
Tue Sep 11 16:54:28 UTC 2012


Quoting Claude Tompers <claude.tompers at restena.lu>:

> On 09/11/2012 02:57 PM, Michael J Rubinsky wrote:
>>
>> Quoting Claude Tompers <claude.tompers at restena.lu>:
>>
>>> On 09/11/2012 10:34 AM, Claude Tompers wrote:
>>>> Hi,
>>>>
>>>> I just had a user complaining about an error message : QUERY FAILED:
>>>> INSERT command denied to user ...
>>>>
>>>> backends.local.php sets $cfgSources['restena']['readonly'] = true; for
>>>> this addressbook.
>>>>
>>>> Why is turba still trying to do an insert query with that flag set ?
>>
>> Do you have any other sources defined? In either backends.local.php or
>> backends.php?
> Only the standard 'localsql' Horde Addressbook.

Well, then it's very likely that this is the source that the write is  
being attempted to, and your database's 'horde' user does not have  
INSERT permissions granted. You'll have to get the exact SQL statement  
being performed to be sure.
-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the turba mailing list