[turba] "Create Address Book" Error

Michael Rubinsky mike at theupstairsroom.com
Fri Mar 10 18:16:16 PST 2006


My only idea is for you to dig further.... look in the datatree display 
under horde.shares.turba and see what's there.  If shares are set up 
properly you should at least see a few entries under the 'localsql' folder. 
(Assuming that you have your source named 'localsql').  The user's default 
shares will be named by username (there will be one for each user who has 
accessed Turba at least once since the upgrade).  Shares created by users 
will have unique ids.

I would also try double or triple checking all permissions related to Turba.

You can also try this on a fresh database if you haven't done that already. 
Is this database from an existing install?

Finally, step through the code and set break points to find out exactly 
where it is getting redirected to the login page.  Start with 
addressbooks.php somewhere in the 'add' stanza.  I can't reproduce this, so 
you'll have to do the digging.


Mike
--On Friday, March 10, 2006 7:42 PM -0500 "S. Petty" <spetty01 at gmail.com> 
wrote:

> Michael Rubinsky wrote:
> >
> > --On Friday, March 10, 2006 3:49 PM -0700 Craig White
> > <craigwhite at azapple.com> wrote:
> >> No - each different address book must have it's own array - just as the
> >> localsql is one address book, you can create another sql addressbook as
> >> long as it has a different name - but using the same table is OK I 
think
> >> - I only use multiple LDAP address books so I am not entirely certain 
of
> >> the last issue.
> >>
> >> Craig
> >
> >
> > Just to make this clearer - using shares in Turba with a SQL source:
> >
> > Create *one* cfgSources entry for the SQL source - the 'localsql' 
example
> > should suffice.
> >
> > Set the 'use_shares' value within that cfgSources entry  to true.
> >
> > In the Turba configuration, in the 'Name of source for creating new 
shares'
> > entry, type in the name of the cfgSources entry for the SQL source. (In
> > this example, 'localsql')
> >
> > This will create one 'My Address Book' entry for each user and allow 
the
> > user to share this address book with other users as well as allow the 
user
> > to create  new address books.
> >
> > You don't need a separate SQL source set up in cfgSources for this, 
only if
> > you wish to create a *totally* separate source, with a separate SQL 
table
> > (perhaps to have a source with different fields).
> >
>
> Mike -
>
> Thanks for that.  That's actually what I did today, and the problem
> persists.  Just to re-iterate, I put 'localsql' in the "Name of source
> for creating new shares" field, I also verified that this line is in
> sources.php:
>
>   'use_shares' => true,
>
> However users still cannot create new address books, and get kicked out
> to a login prompt after clicking "Create"  I've tried with admin users,
> and regular users, the problem persists.
>
> I'm running 3.0.9 w/ Turba 2.1, freshly installed this morning.  Adding
> entries to existing address books is fine, searching is fine, just
> creating new address books doesn't work.
>
> Any ideas?
>
> --
> Turba mailing list - Join the hunt: http://horde.org/bounties/#turba
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: turba-unsubscribe at lists.horde.org
>




--
Michael Rubinsky
TheUpstairsRoom Consulting
www.theupstairsroom.com
mike at theupstairsroom.com


More information about the turba mailing list