Forums

Missing Categories - Not Result of Upgrade (13 posts)

  1. dcbeer
    Member
    Posted 3 years ago #

    Hi, I had successfully upgraded to WP 2.6 some time ago, and the upgrade had gone rather smoothly - all posts and categories remained intact. Mysteriously, I noticed that all of my categories had 'disappeared.'

    All posts are now marked as 'uncategorized,' Manage > Categories does not display any categories, and my present theme also indicates 'no categories' when I try to list them. If I go to create a category that had previously existed, WP-Admin will report that the category already exists. I have also noticed that I can create new categories w/ different names, but they, too, disappear from WP-Admin.

    If I look at the wp_terms and wp_terms_taxonomy tables, it is evident that all of the categories, descriptions, and slugs are written to the database. The IDs within these tables also seem to correlate correctly. I've run myisamcheck on each of these tables, and had done a REPAIR TABLES from within MySQL, all to no avail -- all report the databases are OK.

    As an FYI, subsequent to all of this, I had tried to upgrade to 2.6.2 and ran the upgrade.php. The behavior seems to be the same with this most recent version. Any help is greatly appreciated!

  2. jpjameson
    Member
    Posted 3 years ago #

    Yes someone please help address this very frustrating issue so that we can continue blogging rather than screwing with database tables.

    There seems to be fragments of this issue dating back nearly a year and through various versions.

    Any and all help would be greately appreciated!

    JPJ

  3. restlessbtvs
    Member
    Posted 3 years ago #

    I'm having this exact problem. Categories just disappeared, not as a result of an upgrade, but WordPress say they exist when I try to create them. (Am having some issues with PHPMyAdmin at the moment so can't see the tables).

    Any help would be appreciated.

  4. andu
    Member
    Posted 3 years ago #

    Just happened to me this morning. I woke up and all of my posts are "uncategorized" and all tags are missing from the post. However, the categories and tags exist in the database and the tags even appear inside the Tag Cloud on the sidebar. When I view the Category list inside of the Admin area, the list of Categories is blank.

    I've run the following script that I found on the web, but nothing changed:
    UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id

    need some help here.

    UPDATE -
    More details about my installation:
    Hosted on GoDaddy
    WP Version: 2.6.2

  5. mpals
    Member
    Posted 3 years ago #

    I have the exact same problem - also hosted on GoDaddy, WP 2.6.2

    Does anyone have a solution on this?

  6. David Flynn
    Member
    Posted 3 years ago #

    The same thing happened to me. I had not even had the upgrade. I got it now... errr...regret...

    My blog roll is absent without leave too.

    David

  7. mpals
    Member
    Posted 3 years ago #

    Categories & tags are back!
    Disabled All in one SEO plugin + G-Lock Double Opt-in Manager plugin and both tags and categories returned. Enabled both plugins again and everything is still there...
    Strange, but nice (must do backup, must do backup...)

  8. TAP
    Member
    Posted 3 years ago #

    Same issue, I changed themes but dont think it was because of that...

    what now?

  9. andu
    Member
    Posted 3 years ago #

    My Categories are back as well. I did nothing to fix this other than the script mentioned previously.

  10. TAP
    Member
    Posted 3 years ago #

    andu how do you run that scrip?

  11. Rhain
    Member
    Posted 3 years ago #

    Hi there,

    Totally new to WordPress and have not upgraded. My categories disappeared after adding Link Cannon Links Page Plugin for WordPress. Any idea as to how I can get my categores back? Site is http://www.mood-disorders.ca

  12. chrispeary
    Member
    Posted 2 years ago #

    OK, my categories are back. :) I'm not exactly sure which step worked, but something went right during the following steps:

    1. Updated all my plugins
    2. Requested my host restart MySQL
    3. (@TAP)Ran this SQL script in myPHPadmin:
      UPDATE wp_term_taxonomy,wp_terms SET wp_term_taxonomy.description = wp_terms.name WHERE wp_term_taxonomy.term_id = wp_terms.term_id
    4. Checked/repaired database
    5. Backed up my database (in case I had to restore an older version and things didn't work out)

    My categories still weren't back when I looked, but I hesitated to restore an older database backup. Then, about an hour later, my categories reappeared. I don't know which step did it, but it definitely wasn't my permalinks. xP

    Hope this helps!

  13. JamesOakley
    Member
    Posted 2 years ago #

    I found the cause of the problem. The /tmp folder on the server is filled up. When that's the case, the categories dissapear in wordpress. If you have root access to the server, then type:

    df -h

    This will give you the status of free space on your partitions. Make sure that /tmp isn't 100% used by deleting the files inside it. try these commands to empty the /tmp:

    cd /tmp
    find . -exec rm {} \;

    If you are hosting with a cpanel access, then on the left sdebar of your cpanel, there is a link called "Service Status". Click on it and check the /tmp partition. If its' full, contact your hosting technical support and tell them the problem and ask them to free the /tmp.

    Good luck everyone :)

Topic Closed

This topic has been closed to new replies.

About this Topic