WordPress.org

Ready to get started?Download WordPress

Forums

Possible bugs? (3 posts)

  1. Laughinglizard
    Member
    Posted 10 years ago #

    Note to community members using modified index.php or any other hacks in their WP: Please be careful of CVS upgrades/crawls. Make sure you backup EVERYTHING (including your database) before attempting an upgrade. Bleeding edge is exactly that. :-)
    BTW: if you have run the upgrade scripts on your database, but want to back down from actually upgrading the WP folder, there are some ways of getting around to using the upgraded database with older php scripts. It is very messy, but still saves losing all your posts/data or worse. It is always a good idea to have 2 seperate blogs, a live and a test, with different databases.
    Peace.

  2. Anonymous
    Unregistered
    Posted 10 years ago #

    I'd like to chime in after LL:
    - Run Apache and MySQL locally whenever possible when 'testing' things. Testing could mean new CSS, html, 3rd party scripts, or upgraded versions.
    - This also means you will(can) keep a live backup of your site. Note there is a danger there...
    - Back-up your live backup before doing major changes, upgrades, etc. Then it is really easy to do a restore if something goes bad.
    - DON'T grab CVS live down into your active directory if you've made anything more than minor index.php mods. Grab it down to a primary cvsroot directory, then use any old code-merge program to look at differences and merge carefully to keep your changes.
    I NAILED myself today doing the 0.80 update. Having backed up both saved my ass (if I had REALLY screwed up), and turned out to help me debug what the problem was.
    Also, is there a was for people to get changes back into the main branch? I for one have a number of tweaks across many files, and I >think< many of them are good, and useful (hah!), to be had by the community. I'm not necessarily looking for CVS-write access (though I've got it on some other projects), and don't want to be generating diff-submissions... And need a better way to deal with plugins and templates myself! :)
    Anyway, discussion for another thread. ;)
    =d

  3. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

    Skeen, part of the problem may be that because of their nature and setup custom, permalink formats must remain hierarchical. IE, year must be above month, which must be above day, etc. If the structure doesn't drill down, funky stuff will happen.
    1 and 3 are fixed in the latest CVS.
    For 5, if you have multiple posts on the same day regularly I would add %post_id% to your permalink structure to distinguish posts.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.