[imp] Solution - Compose Window does not close and Wrong dates inmailbox-sentmail view

John Davey john@davey.net.au
Tue, 30 Jul 2002 22:03:58 +0930


This is a multi-part message in MIME format.

---------------------- multipart/alternative attachment
Hi Parag

To: <imp@lists.horde.org>
Cc: "Maiko" <meskelsen@yahoo.com>, "Jan Schneider" <jan@horde.org>
Date: Tue, 30 Jul 2002 14:09:49 +0530


Since you are from a different timezone I would highly reccomend that you
add your comments to the bug report at
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67385.

It is the only way this bug in PHP will get fixed.

Regards John Davey


 -----Original Message-----
From: imp-bounces@lists.horde.org [mailto:imp-bounces@lists.horde.org]On
Behalf Of Parag Godkar
Sent: Tuesday, 30 July 2002 6:10 PM
To: imp@lists.horde.org
Cc: Maiko; Jan Schneider
Subject: [imp] Solution - Compose Window does not close and Wrong dates
inmailbox-sentmail view


  I am sending this to the IMP mailing list
  so that someone might find it useful.

  Initially I tested IMP3.1 on RHLinux 7.2 with the
  following config -

  Horde: 2.1
  IMP: 3.1
  Turba: 1.1
  Apache-1.3.23-11
  php-4.1.2-0horde1
  Red Hat Linux 7.2

  Then I tested it on RHLinux 7.3 -

  Horde: 2.1
  IMP: 3.1
  Turba: 1.1
  Apache-1.3.23-14
  php-4.1.2-7
  Red Hat Linux 7.3

  In either case I had two problems -

  1) Compose window would not close and
      showed a DNS error page although the
      message got sent.

  Following were the log entries on my server -

  1. Log entry in /tmp/horde.log -

  Jul 24 19:18:30 HORDE [info] [imp] 202.141.151.173
  Message sent to "Parag Godkar" <paragg@konark.ncst.ernet.in>
  from paragg [on line 856 of "/var/www/html/horde/imp/compose.php"]

  2. Log entry in /etc/httpd/logs/error.log

  [Wed Jul 24 19:18:31 2002] [notice] child pid 10505
  exit signal Segmentation fault (11)


  2) The date of messages in mailbox folder
     and sentmail folder sometimes showed wrong
     dates.

  SOLUTION -
  ----------------
  Then Mr. Maiko suggested the following link as a
  possible solution to verify a bug in php ... date('r') -

  https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=67385.

  Accordingly I replaced every occurance of "date('r')" with
  "strftime('%a, %e %b %Y %T %z')" in ..../horde/imp/compose.php.
  This solves both my problems.

  Hope many people would find this useful
  as there were quite a few questions on these
  problems in the mailing list archives but no proper solution.

  Regards,
  Parag Godkar.




---------------------- multipart/alternative attachment
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D616222912-30072002>Hi=20
<FONT face=3DArial size=3D2>Parag </FONT></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D616222912-30072002>To:=20
&lt;<A =
href=3D"mailto:imp@lists.horde.org">imp@lists.horde.org</A>&gt;<BR>Cc:=20
"Maiko" &lt;<A =
href=3D"mailto:meskelsen@yahoo.com">meskelsen@yahoo.com</A>&gt;,=20
"Jan Schneider" &lt;<A=20
href=3D"mailto:jan@horde.org">jan@horde.org</A>&gt;<BR>Date: Tue, 30 Jul =
2002=20
14:09:49 +0530<BR></SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D616222912-30072002>Since=20
you are from a different timezone I would highly reccomend that you add =
your=20
comments to the bug report at</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D616222912-30072002><A=20
href=3D"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67385">htt=
ps://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67385</A>.</SPAN></FO=
NT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D616222912-30072002>It is=20
the only way this bug in PHP will get fixed.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002>Regards John Davey</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D616222912-30072002>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</SPAN></FONT><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> =
imp-bounces@lists.horde.org=20
[mailto:imp-bounces@lists.horde.org]<B>On Behalf Of </B>Parag=20
Godkar<BR><B>Sent:</B> Tuesday, 30 July 2002 6:10 PM<BR><B>To:</B>=20
imp@lists.horde.org<BR><B>Cc:</B> Maiko; Jan =
Schneider<BR><B>Subject:</B> [imp]=20
Solution - Compose Window does not close and Wrong dates =
inmailbox-sentmail=20
view<BR><BR></DIV>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px"></FONT>
  <DIV>I am sending this to the IMP mailing list </DIV>
  <DIV>so that someone might find it useful.</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Initially I tested IMP3.1 on RHLinux 7.2 with the</DIV>
  <DIV>following config -</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Horde: 2.1<BR>IMP: 3.1<BR>Turba: 1.1<BR>Apache-1.3.23-11</DIV>
  <DIV>php-4.1.2-0horde1<BR>Red Hat Linux 7.2<BR></DIV>
  <DIV>Then I tested it on RHLinux 7.3 -</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Horde: 2.1<BR>IMP: 3.1<BR>Turba: 1.1<BR>Apache-1.3.23-14</DIV>
  <DIV>php-4.1.2-7<BR>Red Hat Linux 7.3</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>In either case I had two problems -</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>1) Compose window would not close and</DIV>
  <DIV>&nbsp;&nbsp;&nbsp; showed a DNS error page although the</DIV>
  <DIV>&nbsp;&nbsp;&nbsp; message got sent.</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Following were the log entries on my server -</DIV>
  <DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT =
face=3DArial=20
  size=3D2></FONT><FONT face=3DArial size=3D2></FONT><FONT face=3DArial=20
  size=3D2></FONT><BR>1. Log entry in /tmp/horde.log -</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Jul 24 19:18:30 HORDE [info] [imp] 202.141.151.173 </DIV>
  <DIV>Message sent to "Parag Godkar" &lt;<A=20
  =
href=3D"mailto:paragg@konark.ncst.ernet.in">paragg@konark.ncst.ernet.in</=
A>&gt;</DIV>
  <DIV>from paragg [on line 856 of =
"/var/www/html/horde/imp/compose.php"]</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>
  <DIV>2. Log entry in /etc/httpd/logs/error.log</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>[Wed Jul 24 19:18:31 2002] [notice] child pid 10505 </DIV>
  <DIV>exit signal Segmentation fault (11)<BR></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>2) The date of messages in mailbox folder</DIV></DIV></DIV>
  <DIV>&nbsp;&nbsp; and sentmail folder sometimes showed wrong</DIV>
  <DIV>&nbsp;&nbsp; dates.</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>SOLUTION - </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>----------------</FONT></DIV>
  <DIV>Then Mr. Maiko suggested the following link as a </DIV>
  <DIV>possible solution to verify a bug in php ... date('r') -</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><BR><A=20
  =
href=3D"https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67385">htt=
ps://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67385</A>.</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV>Accordingly I replaced every occurance of "date('r')" with</DIV>
  <DIV>"strftime('%a, %e %b %Y %T %z')" in =
..../horde/imp/compose.php.</DIV>
  <DIV><FONT face=3DArial size=3D2>This solves both my =
problems.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Hope many people would find this=20
  useful</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>as there were quite a few questions =
on these=20
  </FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>problems in the mailing list archives =
but no=20
  proper solution.</FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2>Parag Godkar.</FONT></DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><BR><BR></DIV></BLOCKQUOTE></BODY></HTML>

---------------------- multipart/alternative attachment--