Viewing 12 replies - 1 through 12 (of 12 total)
  • That has me venturing into the unknown, which hasn’t stopped me yet. Is this how to handle it: first back up db then (1) copy and paste the script into the query window in phpmyadmin and hit “go”, OR (2) copy and paste the script into a php file (i.e. script.php) and open in browser?

    I did the latter with no problems.

    Michel, can the post_modified stuff simply be added to upgrade_110()? It seems to be safe to call multiple times since it checks for ‘0000-00-00 00:00:00’. Also, your fix-CVS-dates.php script works nicely. That would be more convenient than cutting and pasting.

    Why more changes with the dates anyways? Are they not being stored GMT anymore? And if not, why is there still an offset from GMT?
    I know…don’t use CVS on a “production site”… ??
    I thought the previous change to using GMT was great for several reasons…
    If someone moves to a new timezone, all they need to do is change the offset and they are good to go. No need to update all of the times in the database.
    If someone’s hosting server changes timezones (which a friends just did this week) nothing needs to be done. He is using the latest full release (which uses server time) so he had to change his offset.

    This explains the problem well. The date/time of old posts should not change when timezones adjust or when offsets are changed. This could result in a post moving from one day to another, thus breaking the post’s permalink.

    Ahhh….I can see the point in that.
    But why then, did all of my post time change when I ran the upgrade and the fix? Should I still be using the same offset, just all of my times will change for old posts and comments?

    I did it all again and the times seemed to work now (even on a new post)….hmmm.

    Heh, the ugrading and scripting changed my gmt offset and after I re-set it to -6 I can’t post comments on account of the 10 second warning. Thought I could beat it by deleting all the wp cookies, but I either missed one or the effect is tied into the db. Guess I’ll have to wait 6 hours and 10 seconds. ??
    Meanwhile I’m pondering why, in the context of global communications, it’s necessary or even desirable to have anything stamped, logged or displayed in anything other than GMT (or UT). When I see a post that says March 22, 2004 at 03:45 PM that’d be, where? Without specifying the time zone it doesn’t tell me anything particularly useful. As usual, though, I’ve probably missed some important point.

    hello! how do you run the script? i’ve tried but well i don’t know..

    Lily, you’ve got to take the function and put into a php file (inserted between <?php and ?>. Save it as something, like script.php. Upload it to (well…I uploaded it to wp-admin), then simply point your browser at it. (i.e…./wp-admin/script.php).

    i think i managed to do that but then when i tried to post a comment it gave me alot of mysql errors
    and now i think i’ve restored the older version but still not positive i got everything back to that..

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘1.2 CVS upgrades’ is closed to new replies.