[Tickets #9027] Invalid db resources after rewrite
bugs at horde.org
bugs at horde.org
Fri May 14 17:57:20 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9027
------------------------------------------------------------------------------
Ticket | 9027
Created By | Jan Schneider <jan at horde.org>
Summary | Invalid db resources after rewrite
Queue | Horde Framework Packages
Version | Git master
Type | Bug
State | Assigned
Priority | 2. Medium
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2010-05-14 13:57) wrote:
Since the recent DB rewrite including Horde_Core_Binder_Common, I get
some problems with invalid db link resources. This happens for example
when creating new calendars through the ajax interface, when the
alarm's listAlarms() is triggered. Here's a full backtrace:
DB Error: no database selected
[Zeile 104 von /home/jan/sapo/horde/framework/Alarm/lib/Horde/Alarm/Sql.php]
Details:
The full error message is logged in Horde's log file, and is shown
below only to administrators. Non-administrative users will not see
error details.
Horde_Alarm_Exception Object
(
[message:protected] => DB Error: no database selected
[string:Exception:private] =>
[code:protected] => -14
[file:protected] =>
/home/jan/sapo/horde/framework/Alarm/lib/Horde/Alarm/Sql.php
[line:protected] => 104
[trace:Exception:private] => Array
(
[0] => Array
(
[file] =>
/home/jan/sapo/horde/framework/Alarm/lib/Horde/Alarm.php
[line] => 180
[function] => _list
[class] => Horde_Alarm_Sql
[type] => ->
[args] => Array
(
[0] => jan
[1] => Horde_Date Object
(
[_year:protected] => 2010
[_month:protected] => 5
[_mday:protected] => 14
[_hour:protected] => 17
[_min:protected] => 53
[_sec:protected] => 17
[_timezone:protected] => UTC
[_defaultFormat:protected] => Y-m-d H:i:s
[_formatCache:protected] => Array
(
[Y-m-d\TH:i:s] =>
2010-05-14T17:53:17
)
)
)
)
[1] => Array
(
[file] =>
/home/jan/sapo/horde/framework/Alarm/lib/Horde/Alarm.php
[line] => 457
[function] => listAlarms
[class] => Horde_Alarm
[type] => ->
[args] => Array
(
[0] => jan
[1] =>
[2] => 1
[3] => 1
)
)
[2] => Array
(
[file] =>
/home/jan/sapo/horde/framework/Notification/lib/Horde/Notification/Handler/Decorator/Alarm.php
[line] => 54
[function] => notify
[class] => Horde_Alarm
[type] => ->
[args] => Array
(
[0] => jan
)
)
[3] => Array
(
[file] =>
/home/jan/sapo/horde/framework/Notification/lib/Horde/Notification/Handler.php
[line] => 284
[function] => notify
[class] => Horde_Notification_Handler_Decorator_Alarm
[type] => ->
[args] => Array
(
[0] => Array
(
[listeners] => Array
(
[0] => status
)
[raw] => 1
)
)
)
[4] => Array
(
[file] =>
/home/jan/sapo/horde/framework/Core/lib/Horde.php
[line] => 510
[function] => notify
[class] => Horde_Notification_Handler
[type] => ->
[args] => Array
(
[0] => Array
(
[listeners] => status
[raw] => 1
)
)
)
[5] => Array
(
[file] => /home/jan/sapo/horde/horde/services/ajax.php
[line] => 68
[function] => prepareResponse
[class] => Horde
[type] => ::
[args] => Array
(
[0] => stdClass Object
(
[perms] => Array
(
[users] => Array
(
)
[type] => matrix
[default] => 0
[guest] => 0
[creator] => 0
[groups] => Array
(
)
)
[calendar] =>
6d8e0e1e4810603bfa69b50e2740e48c
[saved] => 1
[color] => #000
)
[1] => 1
)
)
)
[previous:Exception:private] =>
[xdebug_message] => <tr><th align='left' bgcolor='#f57900'
colspan="5"><span style='background-color: #cc0000; color: #fce94f;
font-size: x-large;'>( ! )</span> Horde_Alarm_Exception: DB Error: no
database selected in
/home/jan/sapo/horde/framework/Alarm/lib/Horde/Alarm/Sql.php on line
<i>104</i></th></tr>
<tr><th align='left' bgcolor='#e9b96e' colspan='5'>Call Stack</th></tr>
<tr><th align='center' bgcolor='#eeeeec'>#</th><th align='left'
bgcolor='#eeeeec'>Time</th><th align='left'
bgcolor='#eeeeec'>Memory</th><th align='left'
bgcolor='#eeeeec'>Function</th><th align='left'
bgcolor='#eeeeec'>Location</th></tr>
<tr><td bgcolor='#eeeeec' align='center'>1</td><td bgcolor='#eeeeec'
align='center'>0,0004</td><td bgcolor='#eeeeec'
align='right'>350316</td><td bgcolor='#eeeeec'>{main}( )</td><td
title='/home/jan/sapo/horde/horde/services/ajax.php'
bgcolor='#eeeeec'>../ajax.php<b>:</b>0</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>2</td><td bgcolor='#eeeeec'
align='center'>0,3945</td><td bgcolor='#eeeeec'
align='right'>14406472</td><td
bgcolor='#eeeeec'>Horde::prepareResponse( )</td><td
title='/home/jan/sapo/horde/horde/services/ajax.php'
bgcolor='#eeeeec'>../ajax.php<b>:</b>68</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>3</td><td bgcolor='#eeeeec'
align='center'>0,3945</td><td bgcolor='#eeeeec'
align='right'>14406952</td><td
bgcolor='#eeeeec'>Horde_Notification_Handler->notify( )</td><td
title='/home/jan/sapo/horde/framework/Core/lib/Horde.php'
bgcolor='#eeeeec'>../Horde.php<b>:</b>510</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>4</td><td bgcolor='#eeeeec'
align='center'>0,3946</td><td bgcolor='#eeeeec'
align='right'>14407332</td><td
bgcolor='#eeeeec'>Horde_Notification_Handler_Decorator_Alarm->notify(
)</td><td
title='/home/jan/sapo/horde/framework/Notification/lib/Horde/Notification/Handler.php'
bgcolor='#eeeeec'>../Handler.php<b>:</b>284</td></tr>
<tr><td bgcolor='#eeeeec' align='center'>5</td><td bgcolor='#eeeeec'
align='center'>0,3946</td><td bgcolor='#eeeeec'
align='right'>14407332</td><td bgcolor='#eeeeec'>Horde_Alarm->notify(
)</td><td
title='/home/jan/sapo/horde/framework/Notification/lib/Horde/Notification/Handler/Decorator/Alarm.php'
bgcolor='#eeeeec'>../Alarm.php<b>:</b>54</td></tr>
)
More information about the bugs
mailing list