[horde] Upgrading.

Simon Brereton simon.buongiorno at gmail.com
Fri Mar 1 09:02:33 UTC 2013


On 28 February 2013 22:39, Michael M Slusarz <slusarz at horde.org> wrote:
> Quoting Simon Brereton <simon.buongiorno at gmail.com>:
>
>> [Wed Feb 27 17:08:22 2013] [error] [client 178.15.66.53] PHP Fatal
>> error:  Call to undefined method
>> Horde_Registry::setAuthenticationSetting() in
>> /usr/share/horde-beta/rpc.php on line 128
>
>
> You have a totally botched PEAR install/upgrade if PHP can't find
> Horde_Registry.  You should do a force install to fix (search list
> archives).

Hi Michael

Googleing "horde force install pear" does not give me many meaningful results.

The most meaningful one is this one:
http://lists.horde.org/archives/horde/Week-of-Mon-20110613/041209.html

However, I'm not sure it's the same problem.  If you recall my initial
description of the problem was that everything was working fine until
I didn't change the horde/config/conf.php because I wanted to try and
ascertain what exactly had been added or removed.  The last time I had
this problem it proved to be that in copying the generated config to
the conf.php vim had commented every single line (Google), but this is
not the case now.

Having said that I've run:
 /usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf
upgrade -f  -c horde

This has resulted in an message that I need to re-run horde_role...
/usr/share/horde-beta/pear/pear -c /usr/share/horde-beta/pear.conf
run-scripts horde/Horde_Role

But after filling in the filesystem location it exits cleanly, but
there is no change to my problem.  Until I correct the .htaccess, I
have a blank screen.

and afterwards I have:

A fatal error has occurred

Horde_Auth: Class definition of not found.

Details have been logged for the administrator.


I have no error of any sort in the horde.log and only this in the apache log.

[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(/usr/share/horde-beta/config/conf.php): failed to open stream:
Permission denied in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(): Failed opening
'/usr/share/horde-beta/lib/../config/conf.php' for inclusion
(include_path='/usr/share/horde-beta/lib:.:/usr/share/php:/usr/share/pear')
in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: max_exec_time in /usr/share/php/Horde/Registry.php on
line 389
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: debug_level in /usr/share/php/Horde/Registry.php on
line 394
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_exception_handler() expects the argument
(Horde_ErrorHandler::fatal) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 54
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(/usr/share/horde-beta/config/conf.php): failed to open stream:
Permission denied in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(): Failed opening
'/usr/share/horde-beta/lib/../config/conf.php' for inclusion
(include_path='/usr/share/horde-beta/lib:.:/usr/share/php:/usr/share/pear')
in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: max_exec_time in /usr/share/php/Horde/Registry.php on
line 389
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: debug_level in /usr/share/php/Horde/Registry.php on
line 394
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_exception_handler() expects the argument
(Horde_ErrorHandler::fatal) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 54
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(/usr/share/horde-beta/config/conf.php): failed to open stream:
Permission denied in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(): Failed opening
'/usr/share/horde-beta/lib/../config/conf.php' for inclusion
(include_path='/usr/share/horde-beta/lib:.:/usr/share/php:/usr/share/pear')
in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: max_exec_time in /usr/share/php/Horde/Registry.php on
line 389
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: debug_level in /usr/share/php/Horde/Registry.php on
line 394
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_exception_handler() expects the argument
(Horde_ErrorHandler::fatal) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 54
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(/usr/share/horde-beta/config/conf.php): failed to open stream:
Permission denied in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Warning:
include(): Failed opening
'/usr/share/horde-beta/lib/../config/conf.php' for inclusion
(include_path='/usr/share/horde-beta/lib:.:/usr/share/php:/usr/share/pear')
in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: max_exec_time in /usr/share/php/Horde/Registry.php on
line 389
[Fri Mar 01 08:58:19 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: debug_level in /usr/share/php/Horde/Registry.php on
line 394
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Warning:
set_exception_handler() expects the argument
(Horde_ErrorHandler::fatal) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 54
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Warning:
set_error_handler() expects the argument
(Horde_ErrorHandler::errorHandler) to be a valid callback in
/usr/share/horde-beta/lib/core.php on line 57
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Warning:
include(/usr/share/horde-beta/config/conf.php): failed to open stream:
Permission denied in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Warning:
include(): Failed opening
'/usr/share/horde-beta/lib/../config/conf.php' for inclusion
(include_path='/usr/share/horde-beta/lib:.:/usr/share/php:/usr/share/pear')
in /usr/share/php/Horde.php on line 819
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: max_exec_time in /usr/share/php/Horde/Registry.php on
line 389
[Fri Mar 01 08:58:22 2013] [error] [client 178.15.66.53] PHP Notice:
Undefined index: debug_level in /usr/share/php/Horde/Registry.php on
line 394


I feel I haven't understood your call to force install pear (in fact,
I read botched pear install to mean that pear itself is screwed.  But
I see no results for fixing that in the list archives).

Simon


More information about the horde mailing list