[imp] Problem wiht Compose

Shovic, John jshovic at trigeo.com
Sun Jan 5 13:53:54 PST 2003


Hi,
I am getting the following error when accessing "compose" or "reply" from the
mailbox page.  Note compose works on the entrance screen after logging on
horde/imp:

----from httpd log----

[Sun Jan  5 00:51:31 2003] [error] PHP Notice:  Undefined index:
show_preview in /var/www/html/mail/horde/imp/mailbox.php on line 528
 
-------from imp/mailbox.php line 528----------
 
    if ($conf['mailbox']['show_preview'] &&
        $prefs->getValue('preview_enabled')) {
        if (!$prefs->getValue('preview_show_unread') || ($bg == 'unseen')) {
            $msg['content'] = trim(imap_fetchbody($imp['stream'], $h->msgno,
1));
 
-----------------------------------
 
I don't see anywhere that $conf['mailbox']['show_preview'] is defined in 
any conf file.  I defined it both true and false and it the error went 
away from the httpd logs (as expected) but the compose did not work.
 
However, I suspect (as compose works from the previous web page) that this
is some kind of a javascript problem.
 
I am using the CVS snapshots of 1/4/03 and have updated the conf files.
 
Any help would be appreciated.
 
John Shovic
jshovic *AT* trigeo.com



More information about the imp mailing list