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

Jan Schneider jan at horde.org
Wed Dec 22 13:52:26 PST 2004


Zitat von Chris Crowley <ccrowley at tulane.edu>:

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

Someone probably messed with this file and added some whitespace at the end.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the imp mailing list