[horde] CVS: You must configure a DataTree backend to use Shares.

Bill Graham grahamcw at hurleybulldogs.com
Tue Dec 5 07:41:47 PST 2006


I have had this problem before - don't know why - but this is what I  
did to get around it.

You need to run the  database define stream that is appropriate for  
you DB backend
/horde/scripts/sql/create.whateverdbyouhave

Then insert the  default horde sql definition in conf.php
$conf['sql']['persistent'] = true;
$conf['sql']['username'] = 'hordeusername- you must change this';
$conf['sql']['password'] = 'hordepassword-you must change this';
$conf['sql']['protocol'] = 'unix';
$conf['sql']['database'] = 'hordedatebasename - you must change this';
$conf['sql']['charset'] = 'iso-8859-1';
$conf['sql']['splitread'] = false;
$conf['sql']['phptype'] = 'mysql- or whatever you have ';

then insert the datatree def in conf.php
$conf['datatree']['params']['driverconfig'] = 'horde';
$conf['datatree']['driver'] = 'sql';

Bill
-- 
Bill Graham
Systems Administrator
Hurley Public Schools
Hurley,SD 57036
USA
http://www.hurleybulldogs.com
grahamcw at hurleybulldogs.com



Quoting Christian Schürmann <huor.carnesir at arcor.de>:

> I did a fresh cvs install like is is suggedsted in   
> http://wiki.horde.org/FC4InstallationNotes
> But when I try to login and configure I just see
>
>    A fatal error has occurred
>    You must configure a DataTree backend to use Shares.
>    [line 156 of /usr/share/pear/Horde/Share.php]
>
> in the left frame. This error was reported multiple times to the   
> list, but is there a _solution_? I mean, I can configure a datatree   
> manually in the conf.php like this:
>
> //$conf['datatree']['params']['driverconfig'] = 'horde';
> //$conf['datatree']['driver'] = 'sql';
> //$conf['sql']['params']['phptype'] = 'mysql';
> //$conf['datatree']['params']['phptype'] = 'mysql';
> //$conf['datatree']['params']['charset'] = 'iso-8859-1';
> //$conf['sql']['params']['charset'] = 'iso-8859-1';
>
> but the only result is, that the error msg disappers and the left   
> frame stays blank. I still can't use the config interface.
>
> Thanks,
>
> Chris
> -- 
> Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



----------------------------------------------------------------
This electronic  mail sent from Hurley Public Schools - Hurley, South Dakota
http://www.hurleybulldogs.com

NOTICE: This E-mail (including attachments) is covered by the Electronic
Communications Privacy Act, 18 U.S.C. 2510-2521, is confidential and may
be legally privileged. If you are not the intended recipient, you are hereby
notified that any retention, dissemination, distribution, or copying of this
communication is strictly prohibited. Please reply to the sender that you
have received the message in error, then delete it. Thank you.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1375 bytes
Desc: PGP Public Key
Url : http://lists.horde.org/archives/horde/attachments/20061205/baa84984/attachment.bin


More information about the horde mailing list