Archive for the 'Wordpress' Category

Apr 15 2008

Fix TinyMCE spellchecker failing on Gzip-ed sites

Published by Lord TCT under Wordpress

Those who’d enabled Gzip through Litespeed (unconfirmed on other servers) might find that the spellchecker in Wordpress 2.5 no longer works. This is due to TinyMCE not decompressing the compressed output into plain text (my speculation).

To fix this, edit /wp-includes/js/tinymce/plugins/spellchecker/rpc.php

Change the following line:

header(’Content-Type: text/plain’);

to

header(’Content-Type: text/xml’);

or anything that Litespeed is not set to compress (Usually anything other than text/plain, text/html and application/x-php).

No responses yet

Apr 11 2008

Fix Wordpress returning reversed posts on MySQL 5.0.5x

Published by Lord TCT under MySQL, Wordpress

Many bloggers complained that their posts begin appearing in reversed orders after their webhost upgraded to MySQL 5.0.5x. This is caused by a bug in the MySQL database server affecting versions 5.0.50, 5.0.51 and 5.0.51a  (MySQL Bug #30596).

The bug can be reproduced by any SQL Select command that couples both GROUP BY and ORDER BY clauses and does not affect Wordpress alone.

The work around for this problem is outlined below:

Continue Reading »

No responses yet

Apr 05 2008

Wordpress Optimisation Part 1 - The Obvious

Published by Lord TCT under Wordpress

As promised, this is the first instalment to a 3-part Wordpress optimisation guide.

Part 1 - The Obvious
This article deals with common and easily done tweakings that don’t require root/super user access to your webserver. This article mainly targets bloggers in a shared hosting environment.

Continue Reading »

No responses yet

Apr 02 2008

Using GZip on Wordpress 2.5

Published by Lord TCT under Wordpress

Gzip compression is among the missing features in Wordpress 2.5. To restore the functionality, you have but not limited to the following choice:

1. Application wide using Apache/Litespeed .htaccess

2. Gzip-ing via Index.php
3. Site wide using your webserver’s modules
4. PHP wide using php.ini

Continue Reading »

10 responses so far

Mar 31 2008

Revive Object-Cache in Wordpress 2.5

Published by Lord TCT under Wordpress

Users who have recently upgraded to Wordpress 2.5 might have noticed that the Wordpress object cache is disabled, or rather gone forever: define(’ENABLE_CACHE’,true) no longer has any effect.

Continue Reading »

No responses yet

Next »