[horde] CalDAV, system calendars and gettext in groupware webmail edition 5.1.1

pillul pillul at freenet.de
Wed Jul 17 09:35:55 UTC 2013


Am 17.07.2013, 11:30 Uhr, schrieb Ralf Lang <lang at b1-systems.de>:

> On 17.07.2013 11:07, steffo76 at gmx.de wrote:
>> Hi there,
>>
>> if I read the release announcement correctly, accessing system  
>> calendards via CalDAV should work now but I am having trouble accessing  
>> calendars I have every right to access:
>> <d:error><s:exception>Sabre\DAVACL\Exception\NeedPrivileges</s:exception><s:message>User  
>> did not have the required privileges ({DAV:}read) for path  
>> "calendars/-system-/calendar:OV5lUr0WDFZPo-rqq2hG3fA"</s:message><s:sabredav-version>1.8.4</s:sabredav-version><d:need-privileges><d:resource><d:href>/rpc.php/calendars/-system-/calendar:OV5lUr0WDFZPo-rqq2hG3fA</d:href><d:privilege><d:read/></d:privilege></d:resource></d:need-privileges></d:error>
>
> You also need to upgrade Horde_Dav. DO you see a system share in the
> list of folders when you enter /rpc.php/calendars/ in the browser?
>
>>
>> Additionally I am having strange problems on a couple of servers  
>> running apache in a chrooted environment- whenever I try to access  
>> calendars via CalDAV I get an error saying that
>> /usr/local/lib/php/Horde/Dav/../../../locale is not a directory
>>
>> which is correct. It seems that public function __construct($domain,  
>> $path) in /usr/local/lib/php/Horde/Translation/Handler/Gettext.php gets  
>> called with this strange path. Gettext is working correctly with the  
>> other applications.
>
>

I see the same on my server after uprading to 5.1.1 accessing  
carddav/caldav is broken:

Ein schwerer Fehler ist aufgetreten:

/path/to/my/htdocs/pear/pear/php/Horde/Dav/../../../locale is not a  
directory

  1. Horde_Rpc_Webdav->getResponse() /path/to/my/htdocs/mail/rpc.php:156
  2. Sabre\DAV\Server->exec()  
/path/to/my/htdocs/pear/pear/php/Horde/Rpc/Webdav.php:67
  3. Sabre\DAV\Server->invokeMethod()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAV/Server.php:214
  4. Sabre\DAV\Server->broadcastEvent()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAV/Server.php:455
  5. call_user_func_array()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAV/Server.php:433
  6. Sabre\DAVACL\Plugin->beforeMethod()
  7. Sabre\DAVACL\Plugin->checkPrivileges()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/Plugin.php:712
  8. Sabre\DAVACL\Plugin->getCurrentUserPrivilegeSet()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/Plugin.php:192
  9. Sabre\DAVACL\Plugin->getCurrentUserPrincipals()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/Plugin.php:520
10. Sabre\DAVACL\Plugin->getPrincipalMembership()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/Plugin.php:261
11. Sabre\DAV\ObjectTree->getNodeForPath()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/Plugin.php:295
12. Sabre\DAVACL\AbstractPrincipalCollection->getChild()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAV/ObjectTree.php:72
13. Horde_Dav_Principals->getPrincipalByPath()  
/path/to/my/htdocs/pear/pear/php/Sabre/DAVACL/AbstractPrincipalCollection.php:115
14. Horde_Dav_Principals->_getUserInfo()  
/path/to/my/htdocs/pear/pear/php/Horde/Dav/Principals.php:94
15. Horde_Dav_Translation::t()  
/path/to/my/htdocs/pear/pear/php/Horde/Dav/Principals.php:109
16. Horde_Translation::t()  
/path/to/my/htdocs/pear/pear/php/Horde/Dav/Translation.php:36
17. Horde_Translation::loadHandler()  
/path/to/my/htdocs/pear/pear/php/Horde/Translation.php:89
18. Horde_Translation_Handler_Gettext->__construct()  
/path/to/my/htdocs/pear/pear/php/Horde/Translation.php:57

--

2013-07-17T11:32:08+02:00 EMERG: HORDE [horde]  
/path/to/my/htdocs/pear/pear/php/Horde/Dav/../../../locale is not a  
directory [pid 22546 on line 43 of  
"/path/to/my/htdocs/pear/pear/php/Horde/Translation/Handler/Gettext.php"]


More information about the horde mailing list