6.0.0-alpha14
6/23/25

[#11619] Horde stops working after fatal PHP error
Summary Horde stops working after fatal PHP error
Queue Horde Groupware Webmail Edition
Queue Version 5.0.0
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester mtspam (at) tesira (dot) de
Created 11/01/2012 (4617 days ago)
Due
Updated 12/18/2013 (4205 days ago)
Assigned
Resolved 11/01/2012 (4617 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/18/2013 11:36:51 PM software-horde (at) interfasys (dot) ch Comment #12 Reply to this comment

[Show Quoted Text - 10 lines]
Try adding this to your php.ini
[APC]
apc.shm_size = "256M"
apc.rfc1867 = "1"

09/13/2013 01:57:20 AM trunet (at) wsartori (dot) com Comment #11 Reply to this comment
I'm having same problem with APC 3.1.13 and horde latest version.
01/21/2013 03:07:47 PM busywater (at) gmail (dot) com Comment #10 Reply to this comment
I report the same issue in my server running PHP 5.3

[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP Fatal 
error:  Base lambda function for closure not found in 
/var/www/html/webmail/imp/config/prefs.php on line 72
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP Stack trace:
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   1. 
{main}() /var/www/html/webmail/rpc.php:0
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   2. 
Horde_Registry::appInit() /var/www/html/webmail/rpc.php:79
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   3. 
Horde_Registry->__construct() /usr/share/php/Horde/Registry.php:238
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   4. 
Horde_Injector->getInstance() /usr/share/php/Horde/Registry.php:508
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   5. 
Horde_Injector->createInstance() /usr/share/php/Horde/Injector.php:247
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   6. 
Horde_Injector_Binder_Factory->create() 
/usr/share/php/Horde/Injector.php:213
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   7. 
Horde_Core_Factory_Notification->create() 
/usr/share/php/Horde/Injector/Binder/Factory.php:111
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   8. 
Horde_Registry->listApps() 
/usr/share/php/Horde/Core/Factory/Notification.php:45
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP   9. 
Horde_Registry->hasPermission() /usr/share/php/Horde/Registry.php:863
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  10. 
Horde_Registry->isAuthenticated() /usr/share/php/Horde/Registry.php:1647
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  11. 
Horde_Core_Auth_Application->transparent() 
/usr/share/php/Horde/Registry.php:2146
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  12. 
Horde_Registry->callAppMethod() 
/usr/share/php/Horde/Core/Auth/Application.php:366
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  13. 
Horde_Registry->pushApp() /usr/share/php/Horde/Registry.php:1137
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  14. 
Horde_Registry->loadPrefs() /usr/share/php/Horde/Registry.php:1517
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  15. 
Horde_Core_Factory_Prefs->create() 
/usr/share/php/Horde/Registry.php:1750
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  16. 
Horde_Prefs->__construct() 
/usr/share/php/Horde/Core/Factory/Prefs.php:151
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  17. 
Horde_Prefs->retrieve() /usr/share/php/Horde/Prefs.php:108
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  18. 
Horde_Prefs->_loadScope() /usr/share/php/Horde/Prefs.php:357
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  19. 
Horde_Core_Prefs_Storage_Configuration->get() 
/usr/share/php/Horde/Prefs.php:390
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  20. 
Horde::loadConfiguration() 
/usr/share/php/Horde/Core/Prefs/Storage/Configuration.php:32
[Mon Jan 21 19:52:56 2013] [error] [client 115.160.131.102] PHP  21. 
include() /usr/share/php/Horde.php:430

[Show Quoted Text - 10 lines]
01/04/2013 05:40:52 PM strimpak (dot) geo (at) gmail (dot) com Comment #9 Reply to this comment
I have the same issue but not APC installed:

#php -i | grep APC
APC Support => disabled
APC Debugging => Disabled
apc.rfc1867_name => APC_UPLOAD_PROGRESS => APC_UPLOAD_PROGRESS

Can I do anything?
11/14/2012 04:51:44 PM michael (dot) ellis (at) mpeconsulting (dot) co (dot) uk Comment #8 Reply to this comment
With APC installed I get:

Base lambda function for closure not found in 
/var/www/config/prefs.php on line 341

When my device (android 4.1 activesync) synchronises.

I understand this is not the same as the line 72 error, which I get 
when APC is not installed.

BTW:  I would really be grateful if someone could point me in the 
right direction for how to I install the php patch

Many thanks,

Michael
11/14/2012 09:38:07 AM michael (dot) ellis (at) mpeconsulting (dot) co (dot) uk Comment #6 Reply to this comment
I am getting this error too.  I have removed APC and still get this problem.

The origin IP addresses are for web browser clients and activesync devices.

Restarting apache temporarily resolves the issue.

Any ideas what else might cause this?
11/02/2012 10:28:05 AM mtspam (at) tesira (dot) de Comment #5 Reply to this comment
What about trying it without APC completely?
intriguing approach to the problem :-) After removing apc from my 
system and a restart of apache the problem went away and the hole 
horde system seems to be running stable since then, aka no more 
entries in the apache error log.

From some old installation docs on the web I got the impression that 
apc is needed to run horde, so I installed it on monday when I started 
on my horde adventure. Your standard documention does not mention it 
at all, my fault at not stopping there in the first place first.

Thanks!!!

11/01/2012 03:00:52 PM Michael Rubinsky Comment #4 Reply to this comment
What about trying it without APC completely?
11/01/2012 02:44:44 PM mtspam (at) tesira (dot) de Comment #3 Reply to this comment
This is a bug in APC that's incompatible with some advanced features 
of PHP 5.3 that we use. Update to the latest beta version of APC.
So I removed php-apc package from my ubuntu distro (12.04 TLS) and 
installed it via pecl install apc-beta,  answered all experimental 
questions with yes and restarted apache. Neverless the error returns 
after a while (Base lambda  in prefs.php). So this is either not the 
same apc we are talking about or the error is otherwise related.


11/01/2012 09:15:09 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
This is a bug in APC that's incompatible with some advanced features 
of PHP 5.3 that we use. Update to the latest beta version of APC.
11/01/2012 08:33:01 AM mtspam (at) tesira (dot) de Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Summary ⇒ Horde stops working after fatal PHP error
Type ⇒ Bug
Priority ⇒ 1. Low
Reply to this comment
After a successull install yesterday my horde installation stopped 
working at some point in the night. All you got is a blank screen when 
attempting to access any horde/* page. The apache log is full of this 
error:

[Wed Oct 31 20:25:27 2012] [error] [client w.x.y.z] PHP Fatal error:   
Base lambda function for closure not found in 
/var/www/horde/imp/config/prefs.php on line 72

Restarting apache "fixed" it for now, lets see for how long.

Saved Queries