[imp] wvWare blank screen and IMP 3

Cliff Green green@UMDNJ.EDU
Thu, 7 Feb 2002 13:28:44 -0500 (Eastern Standard Time)


And it came to pass that, on Thu, 7 Feb 2002, Marco Pirovano wrote:

MP>I've the same problem.
MP>I'm using Solaris 8, apache 1.3.22, php 4.1.1 and wvWare 0.7.1.
MP>
MP>I've also tried to change the line:
MP>
MP>$mime_driver['horde']['msword']['location'] = '/usr/local/bin/wvWare -x
MP>/usr/local/share/wv/wvHtml.xml';
MP>
MP>but the result is the same: a blanck screen.

What happens when you set it to:
$mime_driver['horde']['msword']['location'] = '/usr/local/bin/wvHtml';
(assuming that's where all the wvWare stuff was installed)?

c
--
Cliff Green				   green@umdnj.edu
Academic Computing Service			     UMDNJ
-=Sent via PINE 4.44: Internet News & Email for Win/Unix=-



>From jaggu@ddeorg.co.in Date: Fri,  8 Feb 2002 00:02:51 +051800
Return-Path: <jaggu@ddeorg.co.in>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 38713 invoked from network); 7 Feb 2002 18:30:18 -0000
Received: from unknown (HELO www.ddeorg.co.in) (203.163.151.114)
  by clark.horde.org with SMTP; 7 Feb 2002 18:30:18 -0000
Received: (from root@localhost)
	by www.ddeorg.co.in (8.11.2/8.8.7) id g17IWua32601
	for <imp@lists.horde.org>; Fri, 8 Feb 2002 00:02:56 +0530
Received: from localhost (localhost [127.0.0.1])
	by www.ddeorg.co.in (8.11.2/linuxconf) with ESMTP id g17IWp432515;
	Fri, 8 Feb 2002 00:02:53 +0530
Received: from 210.214.52.154 ( [210.214.52.154])
	as user jaggu@localhost by www.ddeorg.co.in with HTTP;
	Fri,  8 Feb 2002 00:02:51 +051800
Message-ID: <1013106771.3c62c8532d8fe@www.ddeorg.co.in>
Date: Fri,  8 Feb 2002 00:02:51 +051800
From: "J. J. Kannan" <jaggu@ddeorg.co.in>
To: imp@lists.horde.org, Jan Schneider <jan@horde.org>
References: <1013077953.3c6257c122417@mail.zwecker.de> <1013078550.3c625a169eccd@jan.dip.ammma.net> <1013078972.3c625bbc50b13@mail.zwecker.de> <1013079373.3c625d4dcfa0e@jan.dip.ammma.net> <1013080948.3c62637500336@mail.zwecker.de> <1013081283.3c6264c39508d@jan.dip.ammma.net>
In-Reply-To: <1013081283.3c6264c39508d@jan.dip.ammma.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.0
X-AntiVirus: This mail has been scanned for viruses
Subject: Re: [imp] Date "bug" in inbox

Apparently this is still there in 4.1.1 also. 

It is a problem in the ext/standard/datetime.c function in php. 

here is the diff if anyoneis interested. 

*** php-4.1.1/ext/standard/datetime.c.orig	Thu Feb  7 23:01:22 2002
--- php-4.1.1/ext/standard/datetime.c	Thu Feb  7 23:02:09 2002
***************
*** 449,453 ****
  	
	case 'O':		/* GMT offset in [+-]HHMM format */
  #if HAVE_TM_GMTOFF				
! 	
		sprintf(tmp_buff, "%c%02d%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff
/ 3600), abs( ta->tm_gmtoff % 3600));
  #else
  	
		sprintf(tmp_buff, "%c%02d%02d", ((ta->tm_isdst ? tzone - 3600:tzone)>0)?'-':'+',
abs((ta->tm_isdst ? tzone - 3600 : tzone) / 3600), abs((ta->tm_isdst ? tzone -
3600: tzone) % 3600));
--- 449,453 ----
  	
	case 'O':		/* GMT offset in [+-]HHMM format */
  #if HAVE_TM_GMTOFF				
! 	
		sprintf(tmp_buff, "%c%02d%02d", (ta->tm_gmtoff < 0) ? '-' : '+', abs(ta->tm_gmtoff
/ 3600), abs( ( ta->tm_gmtoff % 3600 ) / 60 ));
  #else
  	
		sprintf(tmp_buff, "%c%02d%02d", ((ta->tm_isdst ? tzone - 3600:tzone)>0)?'-':'+',
abs((ta->tm_isdst ? tzone - 3600 : tzone) / 3600), abs((ta->tm_isdst ? tzone -
3600: tzone) % 3600));
***************
*** 500,504 ****
  	
			(ta->tm_gmtoff < 0) ? '-' : '+',
  	
			abs(ta->tm_gmtoff / 3600),
! 	
			abs( ta->tm_gmtoff % 3600)
  	
		);
  #else
--- 500,504 ----
  	
			(ta->tm_gmtoff < 0) ? '-' : '+',
  	
			abs(ta->tm_gmtoff / 3600),
! 	
			abs( (ta->tm_gmtoff % 3600) / 60 )
  	
		);
  #else

J. J. Kannan. 

Quoting Jan Schneider <jan@horde.org>:

> Zitat von Christophe Zwecker <doc@zwecker.de>:
> 
> > Zitat von Jan Schneider <jan@horde.org>:
> > 
> > 
> > > And I guess the wrong displayed dates are all from the timezone +0100
> > or 
> > > -0100 ?
> > 
> > Yes, they are all +0100
> 
> This is an old bug in strtotime() that I thought was already fixed in php 
> 4.1.0. Doesn't seem so. Try updating to php 4.1.1.
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge
> http://www.tip4all.de - Deine private Tippgemeinschaft
> 
> -- 
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org
>