Year calender in English ok, german not

If you need support with TeamCal Pro (installation, configuration, usage) post your request here.
Post Reply
Ducci
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 2005-04-07, 21:50

Year calender in English ok, german not

Post by Ducci » 2007-05-21, 13:01

Hi

I use the new version 3.00 and I get errors in the year calender if i use the calender in german, in english version its OK.

Here the errors I get in german Year calender
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\showyear.php on line 126

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 635

Warning: getdate(): Cannot perform date calculation in C:\Inetpub\wwwroot\php\tcpro3\includes\functions.tcpro.php on line 637


George I hope you can help
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2007-05-21, 19:47

Hi Ducci,

thanks for letting me know. I am developing and testing TeamCal Pro on US english based systems. I will look into it.

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2007-05-22, 00:37

Hi Ducci,

I found a bug in that script. Please try again with the attached showyear.php. Let me know if that fixed the issue.

Best regards,
George [file name=showyear.rar size=4481]http://www.lewe.com/components/com_fire ... owyear.rar[/file]
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
Ducci
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 2005-04-07, 21:50

Re:Year calender in English ok, german not

Post by Ducci » 2007-05-23, 10:09

Hi George

Perfect Work! The bug was fixed!!

Many thanks for your great work;)
SIEMI
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2009-12-22, 21:08

Re:Year calender in English ok, german not

Post by SIEMI » 2009-12-23, 11:17

Dear George,

could you tell me how i get nthe showyear.php script?
The link does not work (anymore..?)

Thanks in advance!
SIEMI :)
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2009-12-23, 17:50

Hi Siemi,

the current showyear.php contains that fix. What version are you using?

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
SIEMI
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2009-12-22, 21:08

Re:Year calender in English ok, german not

Post by SIEMI » 2009-12-30, 10:33

Hi George,

i'm using Version: 3.2.004

Have a good party and happy new year!
SIEMI
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2009-12-30, 17:44

Hi Siemi,

tha is the mose current version. It should work with that. However, I have fixed the link in my post above.

Do you still have the same effect in 3.2.004? What is the exact error message or faulty behaviour?

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
SIEMI
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2009-12-22, 21:08

Re:Year calender in English ok, german not

Post by SIEMI » 2010-01-05, 08:42

Hi George,

i already use V3.2.004
Although i copied the showyear.php from your link into my include directory i still receive the following messages:
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in D:\XXX\XXX\XXX\tcpro_32004\includes\showmonth.function.php on line 757

Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in D:\XXX\XXX\XXX\tcpro_32004\includes\showmonth.function.php on line 758

Any ideas?
regards,
Michael
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2010-01-05, 14:25

Hi Michael,

well, my first thought is: why the heck does your Windows not support any dates prior to 1970? Doesn't it like the Beatles, the Stones... :)

That piece of code is checking the users birthday and is trying to create the pop up note for that day. Somehow that fails obviously because the user's b'day is before 1970. Can you try to change that birthday to a date later than 1970 and test it?

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
SIEMI
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2009-12-22, 21:08

Re:Year calender in English ok, german not

Post by SIEMI » 2010-01-07, 11:48

Hi George,

i guess i know now what the reason for the warning messages is:
--
The valid range of a timestamp is typically from Fri, 13 Dec 1901 20:45:54 GMT to Tue, 19 Jan 2038 03:14:07 GMT. (These are the dates that correspond to the minimum and maximum values for a 32-bit signed integer). However, before PHP 5.1.0 this range was limited from 01-01-1970 to 19-01-2038 on some systems (e.g. Windows).
--
I use PHP Version 4.3.10!
I changed the Birthdates of all user (prior to 1970) and now it works for the monthly calendar.
But when i try to reach the yearly calendar i get the following messages:
Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in D:\XXX\XXX\XXX\tcpro_32004\showyear.php on line 125

Warning: getdate(): Cannot perform date calculation in D:\XXX\XXX\XXX\tcpro_32004\showyear.php on line 126

Fatal error: Call to undefined function: create_month_template() in D:\XXX\XXX\XXX\tcpro_32004\showyear.php on line 138

Any quick workaround?

Thanks again for your quick responses!!
Michael
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2010-01-07, 14:31

Hi Siemi,

hmm, that's odd. Planning on updating PHP?

In regards to showyear.php I am confused about the line numbers that the error messages indicate. Those lines do not contain statements. I can also not see why there would be a yar <1970 at that time. No idea at the moment.

Did you try Xampp on your Windows box? I had very good experiences with it:
http://www.apachefriends.org/en/xampp.html

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
SIEMI
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2009-12-22, 21:08

Re:Year calender in English ok, german not

Post by SIEMI » 2010-01-07, 16:58

Dear George,

what about the message:
Fatal error: Call to undefined function: create_month_template() in D:\XXX\XXX\XXX\tcpro_32004\showyear.php

Where should this function be defined?

thanks and regards,
Michael
User avatar
George
Platinum Boarder
Platinum Boarder
Posts: 407
Joined: 2004-11-29, 21:20
Are you a spam bot?: No
Contact:

Re:Year calender in English ok, german not

Post by George » 2010-01-07, 23:44

Hi Siemi,

sorry, I overread that line.

The function does not exist in 3.2.004 anymore. You are probably using the showyear.php from this thread here which is an older version. Try using the original 3.2.004 again.

Best regards,
George
TeamCal Neo is free for private use but requires licensing for use in a commercial environment:
https://georgelewe.atlassian.net/wiki/s ... eo+License
Post Reply