[dev] The Content_Tagger class could not be found
Ronan SALMON
rsalmon at mbpgroup.com
Fri Dec 18 09:24:52 UTC 2009
Jan Schneider <jan at horde.org> a écrit :
> Zitat von Ronan SALMON <rsalmon at mbpgroup.com>:
>
>> Hi all,
>>
>> I wanted to try the new kronolith, but I get the following error :
>> The Content_Tagger class could not be found. Make sure the registry
>> entry for the Content system is present.
>>
>> [ligne 55 de /var/www/html/horde/kronolith/lib/base.php]
>>
>> I don't know how to configure/install the content package.
>>
>> as a quick fix, I've copied horde-hatchery/content to the root of
>> horde's install and changed kronolith/lib/base.php :
>> - Horde_Autoloader::addClassPattern('/^Content_/',
>> $GLOBALS['registry']->get('fileroot', 'content') . '/lib/');
>> + Horde_Autoloader::addClassPattern('/^Content_/',
>> $GLOBALS['registry']->get('fileroot', 'content') . '/content/lib/');
>>
>>
>> Can someone tell me where 'content' is suppose to go? I couldn't
>> find anything in horde/docs or kronolith/docs about 'content'.
>> Well, there is something in horde/docs/lighttpd-horde.conf, but I'm
>> not sure if this is the same thing.
>
> The place of content is fine. You need to add it to registry.php.
I've added the following lines to horde/config/registry.php and this
solve Content_Tagger issue :
$this->applications['content'] = array(
'fileroot' => dirname(__FILE__) . '/../content',
'webroot' => $this->applications['horde']['webroot'] . '/content',
'status' => 'hidden'
);
All other Horde apps are defined in registry.php.
Can someone add 'content' to registry.php (or registry.d) as it is
going to be needed at some point anyway?
Thanks,
Ronan.
More information about the dev
mailing list