[horde] Can not create additional address books

Daniel Carrasco Marín d.carrasco at ttu.es
Fri Jul 3 11:10:46 UTC 2015



El 03/07/15 a las 12:27, Daniel Carrasco Marín escribió:
>
>
> El 03/07/15 a las 09:16, Daniel Carrasco Marín escribió:
>> El 30/06/15 a las 00:10, Bjoern Voigt escribió:
>>> My Horde Groupware Webmail 5.2.7 setup currently does not show the
>>> "plus" icon to create additional address books. Each user has only
>>> one address book. But creating new calendars works.
>>>
>>> My Setup
>>> o Horde Groupware Webmail 5.2.7
>>> o Turba backend configuration horde/turba/config/backends.local.php
>>>
>>> <?php
>>> $cfgSources['localsql']['use_shares'] = true;
>>> $cfgSources['localldap']['use_shares'] = false;
>>> $cfgSources['localldap']['disabled'] = false;
>>> $cfgSources['localldap']['title'] = 'My LDAP global address book';
>>> //...
>>> ?>
>>>
>>> o Turba configuration  horde/turba/config/conf.php
>>> <?php
>>> $conf['menu']['import_export'] = true;
>>> $conf['gal']['addressbook'] = '<a-long-id>';
>>> $conf['shares']['source'] = 'localsql';
>>> $conf['comments']['allow'] = true;
>>> $conf['documents']['type'] = 'horde';
>>> $conf['tags']['enabled'] = true;
>>> ?>
>>>
>>> What could be the cause?
>>>
>>> Greetings,
>>> Björn
>>
>> Hi,
>>
>> Same problem here with two different servers. One of them was working 
>> until i've upgraded the horde to latest version, and the other is a 
>> new installation with latest horde version.
>>
>> Is there any way to downgrade the Horde version?
>>
>> Thanks!!
>
> I'm starting to be confused... I've installed the 5.2.2 and 5.2.6 (the 
> same as demo webpage), and same behaviour... Is strange because i was 
> able to create 4 address books before.
>
> For now we can use the link to that function:
> turba/addressbooks/create.php
>
> Greetings!!

Hi again,

I've found that in my case fails because *$conf['shares']['source']* is 
an empty variable and then the if *!empty($conf['shares']['source'])* 
returns false.

I've checked that variable and is configured correctly:
*$conf['shares']['source'] = 'localsql';

*For now can be temporary fixed changing on turba/lib/Application.php:
         if ($GLOBALS['registry']->getAuth() &&
             $GLOBALS['session']->get('turba', 'has_share') &&
             !empty($conf['shares']['source'])) {

with:
         if ($GLOBALS['registry']->getAuth() &&
                $GLOBALS['session']->get('turba', 'has_share')) {

But can be a bigger problem because some/all variables stored on 
"turba/config/conf.php" are not loaded (at least in this script).

Greetings!!




More information about the horde mailing list