[imp] View "Message Source" Fix

Oliver Schulze L. oliver at samera.com.py
Sat Feb 15 19:06:22 PST 2003


In IMP3.2 RC2 I get this error in the pop-up source window:

*Notice*: Undefined variable: mime in */var/www/html/horde/imp/view.php* 
on line *44*

*Notice*: Undefined variable: mime in */var/www/html/horde/imp/view.php* 
on line *46*

*Warning*: Cannot add header information - headers already sent by 
(output started at /var/www/html/horde/imp/view.php:44) in 
*/var/www/html/horde/imp/lib/Browser.php* on line *57*

*Warning*: Cannot add header information - headers already sent by 
(output started at /var/www/html/horde/imp/view.php:44) in 
*/var/www/html/horde/imp/lib/Browser.php* on line *63*

*Warning*: Cannot add header information - headers already sent by 
(output started at /var/www/html/horde/imp/view.php:44) in 
*/var/www/html/horde/imp/lib/Browser.php* on line *87*

HTH
Oliver

z33k wrote:

>Error when "Message Source" link is used.  There is a typo in line 90 of
>imp/view.php.
>
>Line 90 in imp/view.php needs to be changed from test to text
>
>
>diff
>
>--- view.php.dist   
>+++ view.php    Tue Feb 11 10:57:38 2003
>@@ -87,7 +87,7 @@
> 
>  case VIEW_SOURCE:
>      $msg = imap_fetchheader($imp['stream'], $index, FT_UID) . "\n" .
>imap_body($imp['stream'], $index, FT_UID);
>-     IMP_Browser::downloadHeaders('Message Source', 'test/plain', true,
>strlen($msg));
>+     IMP_Browser::downloadHeaders('Message Source', 'text/plain', true,
>strlen($msg));
>      echo $msg;
>      exit;
>
>z33k
>
>-------------------------------------------------
>This mail sent through IMP: http://horde.org/imp/
>
>  
>

-- 
Oliver Schulze L.
<oliver at samera.com.py>




More information about the imp mailing list