[Tickets #12103] Re: Blank page on browsing turba address books
noreply at bugs.horde.org
noreply at bugs.horde.org
Sun Mar 10 10:20:55 UTC 2013
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/12103
------------------------------------------------------------------------------
Ticket | 12103
Updated By | arjen+horde at de-korte.org
Summary | Blank page on browsing turba address books
Queue | Turba
Version | 4.0.3
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Rubinsky, Michael Slusarz
------------------------------------------------------------------------------
arjen+horde at de-korte.org (2013-03-10 10:20) wrote:
> This truly makes zero sense. Especially since no developer can reproduce.
I have no idea. But I really doubt that at least three different
people have broken their PHP install in the same way.
> Only one thing I can think of:
> This is being called in a shutdown function so, for some reason,
> $GLOBALS['injector'] has already been destroyed. But this doesn't
> make any sense because we Horde_Injector doesn't contain a
> __destruct() call. And the global registry object still exists.
>
> Somebody is going to have to provide some kind of backtrace for us
> to even begin to do anything else with this ticket. Maybe injector
> is not empty? So try replacing the empty($GLOBALS['injector'])
> check with a !is_object($GLOBALS['injector']) check.
I tried, but failed. The below is what is in my /usr/share/php5/PEAR/Horde.php
73 /* Chicken/egg: we must wait until we have basic
framework setup
74 * before we can start logging. Otherwise, queue entries. */
75 if (Horde_Core_Factory_Logger::available()) {
76 if (empty($GLOBALS['injector'])) {
77 // Horde::debug('WTF???');
78 } else {
79
$GLOBALS['injector']->getInstance('Horde_Log_Logger')->log($event,
$priority, $options);
80 }
81 } else {
82 Horde_Core_Factory_Logger::queue($event,
$priority, $options);
83 }
If I uncomment the line with Horde::debug, it fails in the same way as
the version from stock Horde_Core-2.4.2. I really have no idea how to
force a backtrace here. It makes no difference if I use
76 if (empty($GLOBALS['injector'])) {
or
76 if (!is_object($GLOBALS['injector'])) {
In both cases a blank page is shown if I open the addressbook and
leave the Horde::debug line uncommented.
More information about the bugs
mailing list