Title: erazor's Replies | WordPress.org

---

# erazor

  [  ](https://wordpress.org/support/users/erazor/)

 *   [Profile](https://wordpress.org/support/users/erazor/)
 *   [Topics Started](https://wordpress.org/support/users/erazor/topics/)
 *   [Replies Created](https://wordpress.org/support/users/erazor/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/erazor/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/erazor/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/erazor/engagements/)
 *   [Favorites](https://wordpress.org/support/users/erazor/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lost Categories after uprading to 2.6.2](https://wordpress.org/support/topic/lost-categories-after-uprading-to-262/)
 *  Thread Starter [erazor](https://wordpress.org/support/users/erazor/)
 * (@erazor)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/lost-categories-after-uprading-to-262/#post-877347)
 * My fix only applies to Linux/Unix systems where the file system permissions on
   the /tmp directory somehow got messed up.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Lost Categories after uprading to 2.6.2](https://wordpress.org/support/topic/lost-categories-after-uprading-to-262/)
 *  Thread Starter [erazor](https://wordpress.org/support/users/erazor/)
 * (@erazor)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/lost-categories-after-uprading-to-262/#post-877323)
 * Solved:
 * After upgrading I transfereed the blog and the database to a new server. After
   debugging the wordpress code down to the query:
 * `$query = "SELECT $select_this FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy
   AS tt ON t.term_id = tt.term_id WHERE tt.taxonomy IN ($in_taxonomies) $where 
   ORDER BY $orderby $order $number";`
 * which is generated in wp-includes/taxonomy.php. Running the raw Query in mysql
   always resulted in a:
 * `ERROR 1 (HY000): Can't create/write to file '/tmp/#sql_500e_0.MYI' (Errcode:
   13)`
 * According to my own research this is caused by the wrong write permissions on
   the /tmp directory. So the ultimate fix for my problem was this:
 *     ```
       chown root:root /tmp
       chmod 1777 /tmp
       /etc/init.d/mysqld start
       ```
   
 * What a surprising solution and what a journey to figure it out.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Preparing New Layout for existing Site](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/)
 *  Thread Starter [erazor](https://wordpress.org/support/users/erazor/)
 * (@erazor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/#post-678919)
 * [@michael](https://wordpress.org/support/users/michael/): Well it depends. Of
   course I would like to initially import all categories and posts to the working
   database – or just copy the database but I guess that’s not an option.
 * All I want to do is develop a face lift for the existing site in a sandbox while
   preserving all content and when I’m done, flip one or two switches and *bingo*
   I’m live with the Blog v2.0.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Preparing New Layout for existing Site](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/)
 *  Thread Starter [erazor](https://wordpress.org/support/users/erazor/)
 * (@erazor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/#post-678917)
 * Yes I intend to carry over the content.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Preparing New Layout for existing Site](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/)
 *  Thread Starter [erazor](https://wordpress.org/support/users/erazor/)
 * (@erazor)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/preparing-new-layout-for-existing-site/#post-678913)
 * So it boils down to changing the two URLs in the options as a last step before
   replacing the old site?

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