Windows does not support dates prior to midnight (00:00:00),

Help for using / installing BetterAWStats

Windows does not support dates prior to midnight (00:00:00),

Postby Guest » 10 Oct 2008 03:39

Hi,

I am installing BetterAwSTATS on a WIN2K3, IIS6 server and am receiving:
Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in V:\Inetpub\wwwroot\betterawstats\core\display.inc.php on line 188

Not sure what is causing this error. Any clues?
Guest
 

Re: Windows does not support dates prior to midnight (00:00:00),

Postby Oliver » 28 Oct 2008 15:50

Hi

I am sorry but I do not have a IIS server available at hand to test this. I would assume that there is a 0-value date somewhere in your datafile which is not supported. I will look into the code and see if I can make a workaround to prevent the Warning.

Please note however that you should in any case switch of Warnings in your PHP config since they expose integral details about your server environment that should be hidden from users and written to the logfile instead.

Additionally, the warning means that there is something to improve that will not reduce the functionality of the software.

This does not mean however that it should not be fixed.
Oliver
BetterAWStats Creator/Admin
User avatar
Oliver
Site Admin
 
Posts: 147
Joined: 10 Mar 2008 19:09

Re: Windows does not support dates prior to midnight (00:00:00),

Postby sparkdude » 03 Jul 2009 15:33

Just an FYI for anyone else that has this problem on windows...

I had a similar problem, all that was showing was about 25 lines similar to what he showed in the above post...

I had version 4 of PHP enabled in my windows server, not PHP 5. The second I switched, it worked perfect.

just a heads up
sparkdude
 
Posts: 1
Joined: 03 Jul 2009 15:30


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron