[horde] Fwd: Weather in Horde 4

Vilius Šumskas vilius at lnk.lt
Mon Mar 5 17:51:55 UTC 2012


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

-- 
Best regards,
 Vilius



More information about the horde mailing list