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

steffo76 at gmx.de steffo76 at gmx.de
Wed Jul 17 10:02:04 UTC 2013


 
 

Gesendet: Mittwoch, 17. Juli 2013 um 11:55 Uhr
Von: lst_hoe02 at kwsoft.de
An: horde at lists.horde.org
Betreff: Re: [horde] CalDAV, system calendars and gettext in groupware webmail edition 5.1.1
Zitat von steffo76 at gmx.de:

> 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>
>
> 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.

Have you double checked that the path does not exist? It is translated
to "/usr/local/lib/locale" so if you have a path restriction
(open_basedir) for PHP it might limit the path to /usr/local/lib/php/..
Had this trouble today and simply fixed it by relaxing the path. Not
sure while it is now needed and worked bevore without ../locale dir.

Yes, I am 100% sure, the directory doesn't exist and it also doesn't exist outside the chroot so I have no Idea why it should appear as path.



--
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe at lists.horde.org


More information about the horde mailing list