6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/27/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#11015] Recurring "Undefined class constant 'MAX_SIZE' in /var/www/pear/php/Horde/Memcache.php" messages
*
Your Email Address
*
Spam protection
Enter the letters below:
. ..___. .. .._. | |[__ |\ || | | |/\|[___| \||__|_|_
Comment
> On demo.horde.org we get frequent PHP fatal errors like these: > > [20-Feb-2012 19:43:21] PHP Fatal error: Call to a member function > getValue() on a non-object in /var/www/imp/lib/Application.php on > line 122 > [20-Feb-2012 19:43:21] PHP Fatal error: Undefined class constant > 'MAX_SIZE' in /var/www/pear/php/Horde/Memcache.php on line 326 > > The corresponding apache access.log entry: > > 77.127.207.25 - - [20/Feb/2012:19:43:21 +0000] "POST > /services/ajax.php/horde/sidebarUpdate HTTP/1.1" 500 412 > "http://demo.horde.org/mnemo/" "Mozilla/5.0 (Windows NT 6.1; > rv:10.0.1) Gecko/20100101 Firefox/10.0.1" > > And the lines from the Horde log: > > Feb 20 19:43:21 ip-10-196-242-18 HORDE: Load config file (hooks.php; > app: horde) [pid 7460 on line 865 of "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: Connected to the following > memcache servers:localhost:11211 [pid 7460 on line 140 of > "/var/www/pear/php/Horde/Memcach > e.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: Read session data (id = > a9keiv87vibn7gqghlliacush0) [pid 7460 on line 113 of > "/var/www/pear/php/Horde/SessionHandler/ > Storage/Memcache.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: Horde_Registry: retrieved app > with cache ID > horde_registry|app|1329460688|399709f5e1d57875513c2749d8822198 [pid > 7460 > on line 1729 of "/var/www/pear/php/Horde/Registry.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: Load config file (hooks.php; > app: imp) [pid 7460 on line 865 of "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Load config file > (conf.php; app: imp) [pid 7460 on line 865 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Load config file > (nls.php; app: horde) [pid 7460 on line 865 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Load config file > (prefs.php; app: horde) [pid 7460 on line 865 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Hook prefs_init in > application horde called. [pid 7460 on line 1826 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Load config file > (prefs.php; app: imp) [pid 7460 on line 865 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] Hook prefs_init in > application imp called. [pid 7460 on line 1826 of > "/var/www/pear/php/Horde.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] User is not authorized > [pid 7460 on line 1300 of "/var/www/pear/php/Horde/Registry.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: 1. Horde_Registry::appInit() > /var/www/services/ajax.php:35#012 2. Horde_Registry->__construct() > /var/www/pear/php/Ho > rde/Registry.php:238#012 3. Horde_Injector->getInstance() > /var/www/pear/php/Horde/Registry.php:452#012 4. > Horde_Injector->createInstance() /var/www/pear/php/ > Horde/Injector.php:248#012 5. Horde_Injector_Binder_Factory->create() > /var/www/pear/php/Horde/Injector.php:213#012 6. > Horde_Core_Factory_Notification->create > () /var/www/pear/php/Horde/Injector/Binder/Factory.php:111#012 7. > Horde_Registry->listApps() > /var/www/pear/php/Horde/Core/Factory/Notification.php:27#012 8. > Horde_Registry->hasPermission() > /var/www/pear/php/Horde/Registry.php:804#012 9. > Horde_Registry->isAuthenticated() > /var/www/pear/php/Horde/Registry.php:1439#0 > 1210. Horde_Core_Auth_Application->transparent() > /var/www/pear/php/Horde/Registry.php:1905#01211. > Horde_Core_Auth_Application->transparent() /var/www/pear/ph > p/Horde/Core/Auth/Application.php:367#01212. > Horde_Registry->callAppMethod() > /var/www/pear/php/Horde/Core/Auth/Application.php:369#01213. > Horde_Registry->pus > hApp() /var/www/pear/php/Horde/Registry.php:1080#01214. > Horde_Registry->loadPrefs() > /var/www/pear/php/Horde/Registry.php:1326#01215. > Horde_Core_Factory_Prefs > ->create() /var/www/pear/php/Horde/Registry.php:1541#01216. > Horde_Prefs->__construct() > /var/www/pear/php/Horde/Core/Factory/Prefs.php:146#01217. Horde_Prefs- >> retrieve() /var/www/pear/php/Horde/Prefs.php:108#01218. >> Horde_Prefs->_loadScope() >> /var/www/pear/php/Horde/Prefs.php:343#01219. >> Horde_Core_Prefs_Storage_Hook > s->get() /var/www/pear/php/Horde/Prefs.php:375#01220. > Horde::callHook() > /var/www/pear/php/Horde/Core/Prefs/Storage/Hooks.php:30#01221. > call_user_func_array() > /var/www/pear/php/Horde.php:1827#01222. > IMP_Hooks->prefs_init()#01223. Horde_Registry->call() > /var/www/imp/config/hooks.php:29#01224. Horde_Registry->callBy > Package() /var/www/pear/php/Horde/Registry.php:979#01225. > Horde_Registry->pushApp() /var/www/pear/php/Horde/Registry.php:1017 > Feb 20 19:43:21 ip-10-196-242-18 HORDE: [imp] User is not authorized > [pid 7460 on line 1300 of "/var/www/pear/php/Horde/Registry.php"] > Feb 20 19:43:21 ip-10-196-242-18 HORDE: 1. Horde_Registry::appInit() > /var/www/services/ajax.php:35#012 2. Horde_Registry->__construct() > /var/www/pear/php/Ho > rde/Registry.php:238#012 3. Horde_Injector->getInstance() > /var/www/pear/php/Horde/Registry.php:452#012 4. > Horde_Injector->createInstance() /var/www/pear/php/ > Horde/Injector.php:248#012 5. Horde_Injector_Binder_Factory->create() > /var/www/pear/php/Horde/Injector.php:213#012 6. > Horde_Core_Factory_Notification->create > () /var/www/pear/php/Horde/Injector/Binder/Factory.php:111#012 7. > Horde_Registry->listApps() > /var/www/pear/php/Horde/Core/Factory/Notification.php:27#012 8. > Horde_Registry->hasPermission() > /var/www/pear/php/Horde/Registry.php:804#012 9. > Horde_Registry->isAuthenticated() > /var/www/pear/php/Horde/Registry.php:1439#0 > 1210. Horde_Core_Auth_Application->transparent() > /var/www/pear/php/Horde/Registry.php:1905#01211. > Horde_Core_Auth_Application->transparent() /var/www/pear/ph > p/Horde/Core/Auth/Application.php:367#01212. > Horde_Registry->callAppMethod() > /var/www/pear/php/Horde/Core/Auth/Application.php:369#01213. > Horde_Registry->pus > hApp() /var/www/pear/php/Horde/Registry.php:1080#01214. > Horde_Registry->loadPrefs() > /var/www/pear/php/Horde/Registry.php:1326#01215. > Horde_Core_Factory_Prefs > ->create() /var/www/pear/php/Horde/Registry.php:1541#01216. > Horde_Prefs->__construct() > /var/www/pear/php/Horde/Core/Factory/Prefs.php:146#01217. Horde_Prefs- >> retrieve() /var/www/pear/php/Horde/Prefs.php:108#01218. >> Horde_Prefs->_loadScope() >> /var/www/pear/php/Horde/Prefs.php:343#01219. >> Horde_Core_Prefs_Storage_Hook > s->get() /var/www/pear/php/Horde/Prefs.php:375#01220. > Horde::callHook() > /var/www/pear/php/Horde/Core/Prefs/Storage/Hooks.php:30#01221. > call_user_func_array() > /var/www/pear/php/Horde.php:1827#01222. > IMP_Hooks->prefs_init()#01223. Horde_Registry->call() > /var/www/imp/config/hooks.php:29#01224. Horde_Registry->callBy > Package() /var/www/pear/php/Horde/Registry.php:979#01225. > Horde_Registry->pushApp() /var/www/pear/php/Horde/Registry.php:1017 > > This seems to relate to bug #10403 - which is marked resolved. But > I'm not 100% certain this means the fatal error is really resolved. > > I'm also not certain if the log entries indicate an actual problem on > the user side. So far the demo server seems okay and there were no > reports of stuff not working. > > I decided to log a bug nevertheless as the log entries are quite > frequent: about 15 occurences per hour. > > Is this something that should be further tracked? I should be able to > add some debugging statements on the demo server to get more input. > > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers