Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • diyiinbi

    (@diyiinbi)

    I just attempted to use auto-upgrade (from my WP dashboard) to go from 2.8.4 -> 2.9.2 and it completely bombed – it even wiped out the mySql database!

    It hung on the step after unpacking the files. All I get on my domain now is a blank screen. From cPanel, I can see a bunch of files, and when I do a mysql backup from cPanel, the database downloaded to my local computer is 20 BYTES in length…

    …and the most recent good backup I made (a few months ago) is nowhere to be found. This supposed computer nerd didn’t follow the most basic of maxims and do a backup just before attempting an upgrade! Boy, do I feel dumb…at least I have text copies of all my posts, but any comments are gone forever.

    What might have caused this? I have three other blogs to upgrade, but will be moving them from one hosting service to another. So for them, I will simply backup the databases, make sure I have copies of any custom mods such as header images &etc., and do them as new installs except for restoring the DB.

    Update:

    I think the problem was that the migration feature in the advanced permalinks plugin was causing an endless loop. Somehow, I never tried it with the advanced permalinks migration feature unused (no redirects) while using a custom permalink; whenever I switched to/from default/custom during testing & troubleshooting, I also added/deleted a redirect on the migration page at the same time. I finally tried it with custom permalinks, no redirect in migration, and – voila! – everything works like a charm.

    I was even able to change the custom permalink to add the post number at the end as per instructions in the codex (http://codex.wordpress.org/Using_Permalinks#Tips_and_Tricks) and it still works fine. (i. e., a different custom permalink structure than the first one I used. And no 4 hours of editing all of the posts this time!)

    And I was able to change the slug for a category without it breaking anything.

    I also added a line to .htaccess to use …/post/123, also in the codex (http://codex.wordpress.org/Using_Permalinks#Long_Permalinks).

    And everything works great!

    Pastor Marv
    -Blog Diyiin Bi {my 1st blog, soon to be moved from b2evolution to WP}
    -John’s Joint {the inherited blog}
    -The Go Light {a spin-off from Blog Diyiin Bi}
    -Christian Internet Resources {another spin-off from Blog Diyiin Bi}

    I just inherited a blog from my brother. Yesterday, I upgraded it from 2.7.1 to 2.8.4. When I tried to change the permalinks from /?p=123 to /%category%/%postname%/, it didn’t work. (404 error.) (I had to manually update .htaccess due to write permissions on this particular host.)(Linux, Apache.)

    That is, it didn’t work until I went in and edited each individual post…about a 4 hour job, thankfully there were only 46 posts when I took over admin duties. I also added tags while I was at it. (My brother had used no tags at all!) Articles can be found using tags links from the tag cloud with either type of permalink enabled.

    Now, I can switch back-and-forth between default and custom permalinks and the links to the articles work fine. But when using custom permalinks, the category links are broken! WP can find no articles in any category until I switch back to the default “ugly” permalink style.

    I tried using the migration feature in the advanced permalinks plugin (http://urbangiraffe.com/plugins/advanced-permalinks/) but to no avail.

    I have tried activating/deactivating all the plugins. All I get when clicking on a category link in the sidebar when anything but the default permalink is being used is “Nothing found for category {whatever-category-i-clicked-on} in the title bar and a corresponding error message on the page.

    I tried using different themes. The only thing that changed was the error message text on the category page.

    I tried creating a new category and posting to it while permalinks was set to /%category%/%postname%/, and it worked!

    So, I thought, why not just rename each category to something temporary, create a new category with the desired name and slug, then move all posts from the old renamed category to the new one? (Another 3 or 4 hour task probably, but if it works…) Well, moving an existing post to the test category I created did not work. Clicking on the link for the new category brought up only the article originally posted to that category, not any existing posts that were moved.

    Also, if I change the slug for the new test category, it breaks it. Changing the slug back to what was originally used when creating it repairs it. Switching back to default permalinks has no effect except for what is displayed in the title bar. (…/?cat=226 vs. …/category/test.)

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)