[Tickets #14452] Cannot redeclare class Horde_Hooks
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Aug 24 09:04:04 UTC 2016
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14452
------------------------------------------------------------------------------
Ticket | 14452
Erstellt Von | webmaster at object.earth
Zusammenfassung | Cannot redeclare class Horde_Hooks
Warteschlange | Horde Groupware Webmail Edition
Version | 5.2.15
Typ | Bug
Status | Unconfirmed
Priorität | 2. Medium
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
webmaster at object.earth (2016-08-24 09:04) hat geschrieben:
The logs show an error message:
[Wed Aug 24 08:59:10.159980 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP Fatal error: Cannot redeclare class
Horde_Hooks in /var/www/domain.tld/public_html/config/hooks.local.php
on line 303, referer: https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160011 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP Stack trace:, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160020 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 1. {main}()
/var/www/domain.tld/public_html/services/ajax.php:0, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160029 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 2. Horde_Core_Ajax_Application->send()
/var/www/domain.tld/public_html/services/ajax.php:70, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160038 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 3. Horde_Core_Ajax_Response->sendAndExit()
/usr/share/php/Horde/Core/Ajax/Application.php:241, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160047 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 4.
Horde_Core_Ajax_Response_HordeCore->send()
/usr/share/php/Horde/Core/Ajax/Response.php:55, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160055 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 5.
Horde_Core_Ajax_Response_HordeCore->_jsonData()
/usr/share/php/Horde/Core/Ajax/Response/HordeCore.php:76, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160064 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 6. Horde_Themes_Css->getStylesheetUrls()
/usr/share/php/Horde/Core/Ajax/Response/HordeCore.php:133, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160072 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 7. Horde_Themes_Css->getStylesheets()
/usr/share/php/Horde/Themes/Css.php:93, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160081 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 8. Horde_Core_Hooks->callHook()
/usr/share/php/Horde/Themes/Css.php:189, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160089 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 9. Horde_Core_Hooks->hookExists()
/usr/share/php/Horde/Core/Hooks.php:50, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160106 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 10. Horde_Registry->loadConfigFile()
/usr/share/php/Horde/Core/Hooks.php:89, referer:
https://domain.tld/services/prefs.php
[Wed Aug 24 08:59:10.160115 2016] [:error] [pid 19586] [client
xxx.xxx.xxx.xxx:3938] PHP 11.
Horde_Registry_Loadconfig->__construct()
/usr/share/php/Horde/Registry.php:1840, referer:
https://domain.tld/services/prefs.php
This error occurs independly of the logged in user.
It occurs only, if the user is in certain tabs in the settings area
(e.g.: Preferences -> Global Preferences)
The user's browser sends the following request that causes the error:
POST /services/ajax.php/horde/topbarUpdate HTTP/1.1
Host: domain.tld
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0)
Gecko/20100101 Firefox/47.0
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
X-Requested-With: XMLHttpRequest
X-Prototype-Version: 1.7.3
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://domain.tld/admin/config/config.php?app=horde
Content-Length: 165
Cookie: tgsitpamooe=ks43bhj1ual84ig71u3vh87ro6;
horde_secret_key=DZ5R-I-QFVeZlPlHQK4M1E0
Connection: keep-alive
app=horde&hash=f6b907f7638ae3a2559b05ec848099a9&location=https%3A%2F%2Fdomain.tld%2Fadmin%2Fconfig%2Fconfig.php%3Fapp%3Dhorde&token=q2272ohEO_-MTlHjvj9H0f2
The server's response is: HTTP/1.0 500 Internal Server Error
I attached the file hooks.local.php. It only lowercases the $userId.
This error does not affect he correct execution of the webinterface.
webmaster at object.earth (2016-08-24 09:04) hat hochgeladen: hooks.local.php
https://bugs.horde.org/horde/services/download/?app=whups&actionID=download_file&file=hooks.local.php&ticket=14452&fn=%2Fhooks.local.php
More information about the bugs
mailing list