[resolved] All Categories across multiple domains are now unassigned (8 posts)

  1. bcreighton
    Posted 7 years ago #


    All of my entries are now unassigned from the categories. This is happening on multiple installations on mulitple domains and two mysql databases!! It is only affecting WordPress 2.7+, I have two older installations that are sub 2.7 that are not having issues.

    The categories still exist and on the dashboard, it shows the correct count. However, when I go to the categories page, it doesn't show them but shows the paging... I can create a new category and it will show up.

    Any ideas? Please, help!


  2. bcreighton
    Posted 7 years ago #

    I'm not sure when it happened, but the first thing I did this morning (without opening up the site first) was try to pull in a category ID on a single template.

    I had:

    $cat = get_the_category(); $cat = $cat[0];

    then added: global $cat = $cat[0];

    because the scope wasn't working. The article page did go white due to a php error. But this category problem could have been happening before and I wouldn't have noticed it.

    Please, please help!

  3. Samuel B

    Posted 7 years ago #

    did you try resetting permalinks?
    admin - settings - permalinks

  4. bcreighton
    Posted 7 years ago #

    No, that didn't work.

    I'm running these on an IIS server if this helps.

    It is happening to all installations, even the older ones. Anything that references a category. I did find an error generated on one such older installation:

    WordPress database error: [Can't create/write to file 'C:\WINDOWS\TEMP\#sql_724_0.MYD' (Errcode: 17)]

    Looked inside that folder and it's garbled wordpress code - no specific page. Just looked like a dump of one site's code.

  5. Samuel B

    Posted 7 years ago #

    then try running a repair on the db with phpmyadmin

  6. bcreighton
    Posted 7 years ago #

    Figured it out. Basically, one of our editors pasted in copy from Microsoft Word - our server freaked and thought it was a virus. We removed the .myd file and all was good.

    The reference I used to figure this out.

    We deleted the file and have now excluded this folder from our McCaffe scan.

    All entries are now categorized and all category issues have been righted instantly after deleting that file.

    Thanks. Hope this helps someone some day :)

  7. Samuel B

    Posted 7 years ago #

    Excellent! Glad you came back with the resolution. Windows servers are always a handful, eh?

  8. bcreighton
    Posted 7 years ago #

    Unfortunately yes, if I had it my way - we would be on Apache. I miss having an .htacess file.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.