[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-users] Re: Bug in class.datetime.inc.php under Windows
From: |
Dave Hall |
Subject: |
[Phpgroupware-users] Re: Bug in class.datetime.inc.php under Windows |
Date: |
Wed, 16 Apr 2003 08:31:59 +1000 |
Roberto Nahum <address@hidden> wrote:
> Hi Dave,
>
> The error occurs for any date I tried (past dates, future dates,
> today,
> repeating, etc.). It happen always.
> As per the versions, that is my current configuration but I tried
> also with
> "production" versions of everything, including phpGroupware
> 0.9.14.002 and .001
> Anyway the error is from the PHP interpreter because the function
> mktime is
> in it.
Yes, I understand this. I have just spent more than half hour on
php.net searching for bugs and reading docs. There appears to be a lot
of issues with mktime() ... not just on windoze boxes.
The problem I still have is where is the 1970 date? What line number
did you change?
>
> Thanks
> Roberto
>
> At 12.16 15/04/2003, you wrote:
> >Roberto Nahum <address@hidden> wrote:
> >
> > > Hi,
> > >
> > > each time I input an event in the calendar the following error
> occurs:> >
> > > "Warning: mktime() [function.mktime]: Windows does not support
> > > negative
> > > values for this function in
> > > C:\Apache\phpgroupware\phpgwapi\inc\class.datetime.inc.php"
> > >
> > > I found that changing the last three parameters in the function
> > > mktime
> > > where the error occurs from 0,0,70 to 1,1,70 solves the problem.
> > > Don't know
> > > if there are side effects but, if not, maybe this can be modified
> > > in the
> > > offical source.
> >
> >Umm what date are you trying to enter an event for?
> >
> > >
> > > My configuration is: Windows XP pro, MySQL 4.0.12, PHP 4.3.1,
> > > Apache 2.0.45
> > > and phpGroupware 0.9.14.501 (anyway the above error occurs with
> > > any version
> > > I tested)
> >
> >Only one of the versions listed there i would consider production
> ready>- php 4.3.1 - the rest i would not use in a production
> environment.>
> > >
> > > Roberto
> > >
> > >
> > >
> > > _______________________________________________
> > > Phpgroupware-tracker mailing list
> > > address@hidden
> > > http://mail.gnu.org/mailman/listinfo/phpgroupware-tracker
> > >
>
>
dave.hall.vcf
Description: Card for <dave.hall@mbox.com.au>
- [Phpgroupware-users] Re: Bug in class.datetime.inc.php under Windows,
Dave Hall <=