[Tickets #4844] Undefined index: imap_server

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jan 4 07:28:29 PST 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4844
-----------------------------------------------------------------------
 Ticket             | 4844
 Created By         | yvon.lafaille at limousin.iufm.fr
 Summary            | Undefined index: imap_server
 Queue              | IMP
 Version            | 4.1.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


yvon.lafaille at limousin.iufm.fr (2007-01-04 07:28) wrote:

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,
...







More information about the bugs mailing list