[horde] Fwd: Weather in Horde 4
Andreas Mauser
andreas at mauser.info
Mon Mar 5 18:27:34 UTC 2012
Hi,
----- Nachricht von Vilius ?umskas <vilius at lnk.lt> ---------
Datum: Mon, 5 Mar 2012 20:03:01 +0200
Von: Vilius ?umskas <vilius at lnk.lt>
Betreff: Re: [horde] Fwd: Weather in Horde 4
An: horde at lists.horde.org
> Sveiki,
>
> Monday, March 5, 2012, 7:56:09 PM, you wrote:
>
>> Ah,
>
>> ----- Nachricht von Vilius ?umskas <vilius at lnk.lt> ---------
>> Datum: Mon, 5 Mar 2012 19:51:55 +0200
>> Von: Vilius ?umskas <vilius at lnk.lt>
>> Betreff: Re: [horde] Fwd: Weather in Horde 4
>> An: horde at lists.horde.org
>
>
>>> Sveiki,
>>>
>>> Monday, March 5, 2012, 7:45:32 PM, you wrote:
>>>
>>>> Hi,
>>>
>>>> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
>>>> Datum: Mon, 05 Mar 2012 09:59:28 -0500
>>>> Von: Michael J Rubinsky <mrubinsk at horde.org>
>>>> Betreff: Re: [horde] Fwd: Weather in Horde 4
>>>> An: horde at lists.horde.org
>>>
>>>
>>>>> Quoting Andreas Mauser <andreas at mauser.info>:
>>>>>> I found the horde-clear-cache file.
>>>>>>
>>>>>> How to execute that?
>>>>>>
>>>>>> ./horde-clear-cache
>>>>>> PHP Warning: require_once(Horde/Autoloader/Default.php): failed to
>>>>>> open stream: Datei oder Verzeichnis nicht gefunden in
>>>>>> /var/www/mauser.info/mailoffice/lib/core.php on line 47
>>>>>> PHP Fatal error: require_once(): Failed opening required
>>>>>> 'Horde/Autoloader/Default.php'
>>>>>> (include_path='/var/www/mauser.info/mailoffice/lib:.:/usr/share/php:/usr/share/pear') in /var/www/mauser.info/mailoffice/lib/core.php
>>>>>> on
>>>>>> line
>>>>>> 47
>>>>>>
>>>>>> php horde-clear-cache
>>>>>> PHP Warning: require_once(Horde/Autoloader/Default.php): failed to
>>>>>> open stream: Datei oder Verzeichnis nicht gefunden in
>>>>>> /var/www/mauser.info/mailoffice/lib/core.php on line 47
>>>>>> PHP Fatal error: require_once(): Failed opening required
>>>>>> 'Horde/Autoloader/Default.php'
>>>>>> (include_path='/var/www/mauser.info/mailoffice/lib:.:/usr/share/php:/usr/share/pear') in /var/www/mauser.info/mailoffice/lib/core.php
>>>>>> on
>>>>>> line
>>>>>> 47
>>>>>>
>>>>>> sh horde-clear-cache
>>>>>> horde-clear-cache: 2: cannot open ?php: No such file
>>>>>> horde-clear-cache: 3: /bin: Permission denied
>>>>>> horde-clear-cache: 4: AnselPublish.scpt: not found
>>>>>> horde-clear-cache: 5: AnselPublish.scpt: not found
>>>>>> horde-clear-cache: 6: AnselPublish.scpt: not found
>>>>>> horde-clear-cache: 7: AnselPublish.scpt: not found
>>>>>> horde-clear-cache: 8: AnselPublish.scpt: not found
>>>>>> horde-clear-cache: 9: Syntax error: "(" unexpected
>>>>>>
>>>>>> pear horde-clear-cache
>>>>>> Command 'horde-clear-cache' is not valid, try 'pear help'
>>>>>
>>>>> Looks like your horde libraries are not in the include_path your php
>>>>> cli is using. You should specify it on the command line.
>>>>>
>>>>> php -d include_path=/your/include/path1:/your/include/path2:
>>>>> horde-clear-cache
>>>
>>>> You meant the path where my Horde has been installed?
>>>
>>>> I did:
>>>
>>>> php -d include_path=/var/www/mauser.info/mailoffice
>>>> /var/www/mauser.info/mailoffice/pear/horde-clear-cache
>>>> PHP Warning: require_once(Horde/Autoloader/Default.php): failed to
>>>> open stream: Datei oder Verzeichnis nicht gefunden in
>>>> /var/www/mauser.info/mailoffice/lib/core.php on line 47
>>>> PHP Fatal error: require_once(): Failed opening required
>>>> 'Horde/Autoloader/Default.php'
>>>> (include_path='/var/www/mauser.info/mailoffice/lib:/var/www/mauser.info/mailoffice')
>>>> in /var/www/mauser.info/mailoffice/lib/core.php on line
>>>> 47
>>>
>>>> That wasnt the right way, was it?
>>>
>>> The path where your Horde *libraries* are installed. My guess
>>> /var/www/mauser.info/mailoffice/pear
>>>
>> You're absolutely right. Since I installed H4 into a separate Pear
>> according to this helpful howto which was created I often forget that.
>> Sry.
>
>> But, do I still have a typo somewhere?
>
>> php -d include_path=/var/www/mauser.info/mailoffice/pear
>> /var/www/mauser.info/mailoffice/pear/horde-clear-cache
>> PHP Warning: require_once(Horde/Autoloader/Default.php): failed to
>> open stream: Datei oder Verzeichnis nicht gefunden in
>> /var/www/mauser.info/mailoffice/lib/core.php on line 47
>> PHP Fatal error: require_once(): Failed opening required
>> 'Horde/Autoloader/Default.php'
>> (include_path='/var/www/mauser.info/mailoffice/lib:/var/www/mauser.info/mailoffice/pear')
>> in /var/www/mauser.info/mailoffice/lib/core.php on line
>> 47
>
> Search the filesystem for Horde/Autoloader/Default.php and see where
> it is.
It is in:
/var/www/mauser.info/mailoffice/pear/php/Horde/Autoloader/Default.php
Andreas
More information about the horde
mailing list