[horde] Fwd: Weather in Horde 4
Michael J Rubinsky
mrubinsk at horde.org
Mon Mar 5 19:01:58 UTC 2012
Quoting Andreas Mauser <andreas at mauser.info>:
> ----- Nachricht von Michael J Rubinsky <mrubinsk at horde.org> ---------
> Datum: Mon, 05 Mar 2012 13:47:52 -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>:
>>
>>> Hi,
>>>
>>> ----- Nachricht von Vilius ?umskas <vilius at lnk.lt> ---------
>>> Datum: Mon, 5 Mar 2012 20:34:36 +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, 8:27:34 PM, you wrote:
>>>>
>>>>> 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
>>>>
>>>> Well, this is where your include_path should point to then.
>>>
>>> Ok, maybe we are one step further?
>>>
>>> I now get this:
>>>
>>> root at webster:~ # php -d
>>> include_path=/var/www/mauser.info/mailoffice/pear/php
>>> /var/www/mauser.info/mailoffice/pear/horde-clear-cache
>>> PHP Fatal error: Call to a member function setObs() on a
>>> non-object in
>>> /var/www/mauser.info/mailoffice/pear/php/Horde/Perms/Sql.php on
>>> line 130
>>>
>>> instead of something like this:
>>>
>>> php -d
>>> include_path=/var/www/mauser.info/mailoffice/pear/php/Horde/Autoloader
>>> /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/php/Horde/Autoloader') in /var/www/mauser.info/mailoffice/lib/core.php on line
>>> 47
>>
>> php -d include_path=/var/www/mauser.info/mailoffice/pear/php
>> horde-clear-cache
>
> result:
>
> php -d include_path=/var/www/mauser.info/mailoffice/pear/php
> horde-clear-cache
> Could not open input file: horde-clear-cache
I thought it would be obvious that you should use the correct path to
the script, but I guess not. Sorry.
php -d include_path=/var/www/mauser.info/mailoffice/pear/php
/path/to/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/da2916a3/attachment-0001.bin>
More information about the horde
mailing list