Page 1 of 1

Calendar MOD on Windows Box Problem

Posted: Thu 19. May 2005, 11:28
by trip
Hi all
i have successfully installed the calendar mod on DEV1.2.1... latest release from IONROCK...

I have the following error thoughj when I add an event.

Code: Select all

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in C:\Domains\xxxxx\wwwroot\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79

Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Domains\xxxxx\wwwroot\include\inc_module\mod_calendar\inc_lib\main.functions.php on line 79
This is the code part giving a problem

Code: Select all

$month = date('n', strtotime($month));
on lines 79, 95 and 111
can any one suggest an alternative to sort this out as windows does not like this.

thanks in advance
TriP

Posted: Wed 14. Sep 2005, 12:40
by Lenni
Hi Trip.

You are not alone...
I have exactly the same problems.
Is anybody out there able to help.

Thanx. Lenni

Posted: Fri 16. Sep 2005, 08:54
by trip
Still no solution in site....

same in here

Posted: Fri 13. Jan 2006, 15:10
by Duke25
Hey guys,

same problem up in here. Any suggestions???

Thx for further informations...

Greez

Posted: Fri 20. Jan 2006, 19:33
by pico
Hi

me too :(

after changing the 3 Lines with

Code: Select all

$month = date('n', strtotime($month));
$year = date('n', strtotime($year));
$day = date('n', strtotime($day));
to

Code: Select all

$XXXXX = date('Y', strtotime("now"));
it works for me - seems that it has something to do with PHP 5 !?