Support » Fixing WordPress » All Categories across multiple domains are now unassigned

  • Resolved bcreighton



    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!


Viewing 7 replies - 1 through 7 (of 7 total)
  • 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!

    did you try resetting permalinks?
    admin – settings – permalinks

    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.

    then try running a repair on the db with phpmyadmin

    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 🙂

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

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘All Categories across multiple domains are now unassigned’ is closed to new replies.