WordPress.org

Ready to get started?Download WordPress

Forums

Warning: date() [function.date]: Windows does not support dates prior to... (10 posts)

  1. fatalcure
    Member
    Posted 9 years ago #

    Write Page

    Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 55

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 68

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 69

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 70

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 71

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 72

    Warning: date() [function.date]: Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Documents and Settings\D\Desktop\xampp\xampp\htdocs\wordpress\wp-includes\template-functions-links.php on line 73

  2. angsuman
    Member
    Posted 9 years ago #

    I get the same too with my wondows install.
    Anyone?

  3. Kafkaesqui

    Posted 9 years ago #

    Do you have any posts with *bad* dates?

    Go into your database through phpMyAdmin (I assume you have it since you're using xampp), access the wp_posts table, click the Browse tab, and click on the post_date column to order your posts by that. Any "dates prior to midnight (00:00:00), January 1, 1970" should float to the top.

  4. angsuman
    Member
    Posted 9 years ago #

    I used the same MySQL database as on Linux platform ( blog.taragana.com ). I never had a problem there.

  5. JeffAdams
    Member
    Posted 9 years ago #

    I get the same thing but I only have 1 post and the date is 2005-05-05

    Whats up? I am also using the xampp package.

  6. nelzs
    Member
    Posted 9 years ago #

    I get this too.

    Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\mt\lionel\wp-includes\functions.php on line 26

    Warning: date(): Windows does not support dates prior to midnight (00:00:00), January 1, 1970 in C:\Inetpub\wwwroot\mt\lionel\wp-includes\functions.php on line 28

    and so on. What is going on? I *don't* have dates prior to 1970. Please help.

  7. dudearama
    Member
    Posted 8 years ago #

    The problem is the PHP date() function. It uses ints for the calculation which causes overflows. The problem is described here, along with updated date/time functions. WordPress should support these functions for Windows if possible.

    http://phplens.com/phpeverywhere/adodb_date_library

  8. Beel
    Member
    Posted 8 years ago #

    Actually these are two separate issues. The problem with most folks posting here is that the date for one or more posts has become corrupted - often the date field is zeroed out so the error occurs.

    But, yes, it is true we Windoze users cannot create posts with a date prior to 1/1/70.

  9. Stripeman
    Member
    Posted 8 years ago #

    How are these updated datetime functions supposed to be applied... ?????

  10. tinem
    Member
    Posted 7 years ago #

    Please tell me what the solution was to this 2 problems with an installation with Windows I can't figure it out, sorry?
    I get this messages http://www.tinemuller.dk/div/datofejl.gif and it's used in another project (not WordPress) but the problems are the same so must the solution be, I think.:-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.