[turba] Unable to create new share. Missing source type

Michael Rubinsky mike at theupstairsroom.com
Fri Jun 30 08:25:51 PDT 2006


Quoting carlos maca <macacohorde at gmail.com>:

> When i try to create a new address book i got this message: Unable to create
> new share. Missing source type.
> i know that is because i have to specify a source type, but where i specify
> this and what type is it.

In order for users to create new addressbooks you must:

1) In sources.php set 'use_shares' => true for the source that you are using.

2) Administration->Setup->Address Books(turba)-> Name of source for  
creating new shares: Set this to the source you set up for shares in  
sources.php ('localsql' if you are using the 'stock' sources.php.dist  
file)


It sounds to me like you have a broken configuration. Make sure that  
the value you put in the 'Name of source for creating new shares'  
matches the key into $cfgSources[] that you set up for shares. (Again,  
'localsql' in the example sources.php.dist file).



> i try it in the sources.php, but i dont know what to type, when i change it
> in sources.php ( i put sql, where was localsql) i get another message error
> : *N*otice: Undefined index: sql:f94995ff51dfca045b688eaba4801398 in
> /home/webmaster/www/horde/turba/addressbooks.php on line 115. the address
> book was created, but this error still appear and the address book do not
> appears, only a empty line.


This is because you changed localsql->sql.  The address book was  
created in the datatree as a 'localsql' source so turba cannot find it  
when it looks for a 'sql' source.

Thanks,
mike

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



More information about the turba mailing list