[horde] Fwd: Weather in Horde 4

Michael J Rubinsky mrubinsk at horde.org
Mon Mar 5 14:59:28 UTC 2012


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





-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6096 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.horde.org/archives/horde/attachments/20120305/acb495ba/attachment.bin>


More information about the horde mailing list