6.0.0-beta1
7/19/25

[#12383] [horde] PHP ERROR: Undefined index: db [pid 1576 on line 57 of "/var/www/horde5/templates/admin/config/index.html.php"]
Summary [horde] PHP ERROR: Undefined index: db [pid 1576 on line 57 of "/var/www/horde5/templates/admin/config/index.html.php"]
Queue Horde Groupware Webmail Edition
Queue Version 5.1.0
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de
Created 06/20/2013 (4412 days ago)
Due
Updated 06/21/2013 (4411 days ago)
Assigned
Resolved 06/20/2013 (4412 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/21/2013 09:50:35 AM Git Commit Comment #6 Reply to this comment
Changes have been made in Git (master):

commit 355336652bf2b565d0d20462af064660ada75837
Author: Jan Schneider <jan@horde.org>
Date:   Fri Jun 21 11:18:24 2013 +0200

     Test those too (Bug #12383).

  horde/templates/admin/config/index.html.php |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

http://git.horde.org/horde-git/-/commit/355336652bf2b565d0d20462af064660ada75837
06/21/2013 07:00:03 AM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #5 Reply to this comment
  horde/templates/admin/config/index.html.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/de7eb14e392b2b07d5e150f63ac5cbeaaac00a97
One still gets the notice for conf and status:

Jun 21 08:59:18 horde5beta HORDE: [horde] PHP ERROR: Undefined index: 
conf [pid 19213 on line 73 of 
"/var/www/horde5/templates/admin/config/index.html.php"]
Jun 21 08:59:18 horde5beta HORDE: [horde] PHP ERROR: Undefined index: 
status [pid 19213 on line 76 of 
"/var/www/horde5/templates/admin/config/index.html.php"]

06/20/2013 08:37:00 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
06/20/2013 08:36:24 PM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (master):

commit de7eb14e392b2b07d5e150f63ac5cbeaaac00a97
Author: Jan Schneider <jan@horde.org>
Date:   Thu Jun 20 22:34:46 2013 +0200

     Avoid notice (Bug #12383).

  horde/templates/admin/config/index.html.php |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/de7eb14e392b2b07d5e150f63ac5cbeaaac00a97
06/20/2013 07:54:26 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #3
New Attachment: h5_noDB.jpg Download
Reply to this comment
You need to configure a database.
It's the entry "Horde Groupware Webmail Edition version 5.1.0", there 
is no database to configure. See the screenshot generated after this 
patch:

--- 
/var/www/horde5/templates/admin/config/index.html.php_SAVE        2013-06-20 
21:43:42.000000000 +0200
+++ /var/www/horde5/templates/admin/config/index.html.php        2013-06-20 
21:45:12.000000000 +0200
@@ -54,2 +54,5 @@
      <?php echo $v['version'] ?>
+<?php if (!isset($v['db'])): ?>
+ <?php echo '&nbsp;no ["db"]' ?>
+<?php endif; ?>
     </td>

06/20/2013 03:14:05 PM arjen+horde (at) de-korte (dot) org Comment #2 Reply to this comment
You need to configure a database.
06/20/2013 03:09:33 PM skhorde (at) smail (dot) inf (dot) fh-bonn-rhein-sieg (dot) de Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ [horde] PHP ERROR: Undefined index: db [pid 1576 on line 57 of "/var/www/horde5/templates/admin/config/index.html.php"]
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
For the entry "Horde Groupware Webmail Edition version"

$v[db] $v[conf] and $v[status] is empty, therefore syslog contains 
these three entries each time one enters the Horde Configuration page

HORDE: [horde] PHP ERROR: Undefined index: db [pid 1576 on line 57 of 
"/var/www/horde5/templates/admin/config/index.html.php"]
HORDE: [horde] PHP ERROR: Undefined index: conf [pid 1576 on line 73 
of "/var/www/horde5/templates/admin/config/index.html.php"]
HORDE: [horde] PHP ERROR: Undefined index: status [pid 1576 on line 76 
of "/var/www/horde5/templates/admin/config/index.html.php"]

Saved Queries