erazor
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Lost Categories after uprading to 2.6.2My fix only applies to Linux/Unix systems where the file system permissions on the /tmp directory somehow got messed up.
Forum: Fixing WordPress
In reply to: Lost Categories after uprading to 2.6.2Solved:
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 startWhat a surprising solution and what a journey to figure it out.
Forum: Fixing WordPress
In reply to: Preparing New Layout for existing Site@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
In reply to: Preparing New Layout for existing SiteYes I intend to carry over the content.
Forum: Fixing WordPress
In reply to: Preparing New Layout for existing SiteSo it boils down to changing the two URLs in the options as a last step before replacing the old site?