6.0.0-beta1
7/29/25

[#4844] Undefined index: imap_server
Summary Undefined index: imap_server
Queue IMP
Queue Version 4.1.3
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester yvon.lafaille (at) limousin (dot) iufm (dot) fr
Created 01/04/2007 (6781 days ago)
Due 01/05/2007 (6780 days ago)
Updated 01/04/2007 (6781 days ago)
Assigned
Resolved 01/04/2007 (6781 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/04/2007 05:10:52 PM Michael Slusarz Comment #2
State ⇒ Not A Bug
Reply to this comment
This doesn't occur in HEAD because this code doesn't exist in HEAD.   
And this was fixed in the 4.1.x branch by Jan a month ago:

http://cvs.horde.org/diff.php?r1=1.74.2.30&r2=1.74.2.31&f=imp%2Flib%2FSession.php
01/04/2007 03:28:28 PM yvon (dot) lafaille (at) limousin (dot) iufm (dot) fr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Undefined index: imap_server
Due ⇒ 01/05/2007
Queue ⇒ IMP
Reply to this comment
This bug is present in HEAD too.

When connecting to horde as administrator, I get this message :

"Notice: Undefined index: imap_server in 
/usr/share/horde/imp/lib/IMAP/Tree.php on line 82"



Maybe that in the following line of  the function IMP_Tree() :

$this->IMAPchildrenSupport($_SESSION['imp']['imap_server']['children']);

'imap_server' has to be replaced with 'imap_config'

to give

$this->IMAPchildrenSupport($_SESSION['imp']['imap_config']['children']);



or maybe, it is a bug which appears only in the cas of manual configuration

NB :

the stanza of  'servers.php'

...

     'smtphost' => 'localhost',

     'smtpport' => 25,

     'realm' => '',

     'preferred' => '',

     'imap_config' => array(

         'children' => true,

         'namespace' => array(

           '' => array(

             'name' => '',

             'delimiter' => '/',

             'type' => 'personal',

             'hidden' => false

           ),

           'search_charset' => true

         ),

     ),

     'login_tries' => 1,

...






Saved Queries