Struggling with WordPress 2.3 II: The Wrath of Ra
December 27th, 2007So I decided to put in another shot at getting WordPress 2.3 working on my hosting, and here are some results.
The testbed is a test subdomain: test.rawiriblundell.com, I have a .htaccess file that reads like so:
php_value memory_limit 32M
php_value post_max_size 16M
php_flag display_errors on
php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048
What I am trying to achieve here is to get the suhosin patch to ease up on the reigns a bit, and to give php some more memory to play with. I have also enabled php errors so that any blatant problems will stick out like a sore thumb instead of failing gracefully in the background.
This was tested with both 644 (default) and 755 permissions with the same sorry results.
Initially the php errors came in handy, pointing out that a few files were missing. A fresh download of WordPress 2.3.1 later, this problem was solved and we were back to Internal Server Errors. A look at the error logs had the same old chestnut:
ALERT - canary mismatch on efree() - heap overflow detected (attacker '203.110.28.91', file '/hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/taxonomy.php', line 11)
[Wed Dec 26 18:32:27 2007] [error] [client 203.110.28.91] Premature end of script headers: /hsphere/local/home/whetu/test.rawiriblundell.com/index.php
Looking at taxonomy.php and commenting out line 11 like so:
< ?php//
// Taxonomy Registration
//
/**
* @global array $wp_taxonomies Fill me out please
*/
$wp_taxonomies = array();
// $wp_taxonomies['category'] = (object) array('name' => 'category', 'object_type' => 'post', 'hierarchical' => true, 'update_count_callback' => '_update_post_term_count');
$wp_taxonomies['post_tag'] = (object) array('name' => 'post_tag', 'object_type' => 'post', 'hierarchical' => false, 'update_count_callback' => '_update_post_term_count');
$wp_taxonomies['link_category'] = (object) array('name' => 'link_category', 'object_type' => 'link', 'hierarchical' => false);Will allow the WordPress install to complete, like so:Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 192
Warning: array_keys() [function.array-keys]: The first argument should be an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 235
Warning: array_reduce() [function.array-reduce]: The first argument should be an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 235
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 192
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 192
Warning: array_keys() [function.array-keys]: The first argument should be an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 235
Warning: array_reduce() [function.array-reduce]: The first argument should be an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 235
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 190
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /hsphere/local/home/whetu/test.rawiriblundell.com/wp-includes/capabilities.php on line 192
Success!
Update II: This has been fixed

If Jesus is indeed real and watching, I bet he’d be in a state of despair. It’s bad enough that a large majority of supposed Christians don’t understand nor follow the underlying and most basic concepts of Christianity (a massive other rant altogether) but to see Christmas treated as it presently is just boggles the mind. Christmas is different things to different people, to some Jesus is the reason for the season, but either way being consumer slaves is not its intention.