[imp] Problem with composition if users compose in same window, but not in popup window.

Chris Crowley ccrowley at tulane.edu
Wed Dec 22 13:40:52 PST 2004


Deployed an updated version of horde/imp/turba ... this morning.  There 
is one bug that has come up.

If a user doesn't use a pop up window, he sees the following error 
message when he clicks "send".  The message is in fact sent.

<error message>
Warning: Cannot modify header information - headers already sent by 
(output started at 
/usr/local/apache/htdocs/horde-2.2.5/lib/Menu.php:285) in 
/usr/local/apache/htdocs/horde-2.2.5/imp-3.2.6/compose.php on line 923
</error message>


< excerpt from compose.php>
  919               if (($prefs->getValue('compose_popup') || 
Horde::getFormData('popup'))
    920                   && $browser->hasFeature('javascript')) {
    921                   echo '<script language="JavaScript" 
type="text/javascript">window.close();</script>';
    922               } else {
    923                   header('Location: ' . 
mailboxReturnURL($prefs->getValue('compose_confirm')));
    924               }
    925

</excerpt from compose.php>



The strange thing is, that Menu.php is only 284 lines long.




# find . -name version.php -exec cat {} \;
<?php define('HORDE_VERSION', '2.2.5') ?>
<?php define('IMP_VERSION', '3.2.6') ?>
<?php define('ACCOUNTS_VERSION', '2.1.1') ?>
<?php define('FORWARDS_VERSION', '2.2.1') ?>
<?php define('KRONOLITH_VERSION', '1.1.2') ?>
<?php define('MNEMO_VERSION', '1.1.2') ?>
<?php define('NAG_VERSION', '1.1.1') ?>
<?php define('PASSWD_VERSION', '2.2.1') ?>
<?php define('TURBA_VERSION', '1.2.2') ?>
<?php define('VACATION_VERSION', '2.2.1') ?>


Suggestions, resolutions, or a direction to pursue would be appreciated. 
Thanks in advance.

Chris Crowley


-- 
Christopher Crowley

ccrowley at tulane.edu
(504) 314-2535
Network Administrator
Technology Services
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccrowley.vcf
Type: text/x-vcard
Size: 158 bytes
Desc: not available
Url : http://lists.horde.org/archives/imp/attachments/20041222/b3752c49/ccrowley.vcf


More information about the imp mailing list