[horde] Upgrading.
Simon Brereton
simon.buongiorno at gmail.com
Thu Feb 28 09:54:11 UTC 2013
On 28 February 2013 09:50, Simon Brereton <simon.buongiorno at gmail.com> wrote:
> On 28 February 2013 09:10, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>> On 27 February 2013 18:23, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>>> On 27 February 2013 18:18, Simon Brereton <simon.buongiorno at gmail.com> wrote:
>>>> Hi
>>>>
>>>> I've just upgraded to 5.0.4 and it tells me the horde configuration is
>>>> out of date. Since my suggestion for highlighting tabs with
>>>> new/removed config options was not high-priority, I have to find out
>>>> what was changed or needs attention before regenerating the config.
>>>> When I raised the issue about a visual clue, I was told that all the
>>>> changes were in:
>>>> http://www.horde.org/apps/horde/docs/CHANGES
>>>>
>>>> And indeed, they are. However, the only change listed for 5.0.4. is:
>>>>
>>>> ------
>>>> v5.0.4
>>>> ------
>>>>
>>>> [jan] Update French translation (Paul De Vlieger
>>>> <paul.de_vlieger at moniut.univ-bpclermont.fr>).
>>>>
>>>> So, sadly this does not tell me which tab (if any) I have to look at
>>>> before regenerating the config.
>>>>
>>>> Any clues please?
>>>
>>>
>>> Having attempted not to change the config, I now have:
>>>
>>> A fatal error has occurred
>>>
>>> Horde_Auth: Class definition of not found.
>>>
>>> Details have been logged for the administrator.
>>
>> When attempting to reach https://webmail.example.net I am redirected
>> to login.php?=somelongnumber and the browser complains
>> The following error was encountered while trying to retrieve the URL:
>> http://login.php/?
>>
>> Since I've changed nothing in the vhost and since my .htaccess was
>> copied back from the back up (there is a separate pear install for
>> this instance), I'm at a loss to know what to do.
>
> While trying to diagnose the issue I came across this in test.php:
>
> Local File Permissions
>
> Is /usr/share/horde-beta/lib/../static writable by the web server user? No
> If caching javascript and CSS files by storing them in static files
> (HIGHLY RECOMMENDED), this directory must be writable as the user the
> web server runs as.
>
> both lib and static (and I cannot find a static directory in any
> subpath of lib) are writeable by the apache server group, but owned by
> root. What are the recommended permissions for these directories?
>
Thanks Arjen - that fixed the static problem. I'm not sure why group
write permission is not enough, but my principle error still remains:
A fatal error has occurred
Horde_Auth: Class definition of not found.
Details have been logged for the administrator.
The problem is, I can't see anything logged.
The only thing I have in the logs are:
error.log (yesterday when this first occurred and nothing since then,
despite the fact that I get the same error from different browsers on
different machines).
[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
[Wed Feb 27 17:08: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
[Wed Feb 27 17:08: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
[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
[Wed Feb 27 17:08:23 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
[Wed Feb 27 17:08:23 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
[Wed Feb 27 17:08:23 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
[Wed Feb 27 17:08:23 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
[Wed Feb 27 17:08:23 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
[Wed Feb 27 17:08:23 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
and
access.log (essentially the same whenever I try).
88.79.126.18 - - [28/Feb/2013:08:56:11 +0000] "GET /login.php HTTP/1.1" 200 2747
88.79.126.18 - - [28/Feb/2013:08:56:12 +0000] "GET /login.php HTTP/1.1" 200 724
88.79.126.18 - - [28/Feb/2013:08:56:12 +0000] "GET /login.php HTTP/1.1" 200 724
Those are apache logs - there's nothing relevant in the horde logs at
all. The last thing in the horde log relating to this instance is
confirmation of a mail being sent (the last thing I did before trying
to upgrade).
All that google shows is that the last time I had this issue my
.htaccess was wrong. However, I don't see the issue here:
mail:/usr/share/horde-beta# cat .htaccess
allow from all
php_value include_path /usr/share/horde-beta/pear/php
SetEnv PHP_PEAR_SYSCONF_DIR /usr/share/horde-beta
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ rampage.php [QSA,L]
</IfModule>
Simon
More information about the horde
mailing list