Technocrank

Icon

It Done Broke.

Hostgator, WordPress, Xinha4WP

Spent a whole day on this. Thanks Hostgator.

PHP 5.2.8
Apache 2.2.11
Wordpress 2.5
Xinha4WP 1.2b
WPG2 3.0.2

A client’s WordPress install recently started giving them trouble. It’s installed alongside Gallery2 with the WPG2 and Xinha4WP plugins. They hadn’t touched their site in a while but now they found that when trying to invoke Xinha4WP’s Image Manager they would get a 404 page popping up instead. So it would have seemed that the path that’s either getting passed to the plugin or the way it’s being parsed had changed.

Disabled all the other plugins. That didn’t work. Upgraded WordPress to 2.6.5 (in case they’d made some changes that accounts for PHP quirks). No change. Contacted Hostgator and asked if anything would have changed in server settings that would affect the path (e.g. mod_rewrite, etc.). Nope. Reinstalled the Xinah4WP plugin in case Hostgator had somehow corrupted. Nothing.

Finally Googled (okay, now, this is after hours of Googling various things) “WordPress” and “hostgator” and it came back with the WordPress forums. Turns out, there was a recent modification to their Apache setup involving mod_security and suphp.

Contacted Hostgator, and oh yes. That was the problem. They did something on their end and it’s now fixed. &!^(#*@

WordPress & Firebug

WordPress 2.7
Firefox 3.1b2
Firebug 1.4X.0a12

The Firebug add-on for Firefox seems to have an odd effect on the WordPress administration panel.  I haven’t tested it thoroughly to figure out which pages or why (or in what other ways, or what other versions), but it unexpectedly reloads the post editing page.

That is, if you’re writing or editing a post it reloads it without warning.  It also seems to embed a copy of the whole page in the Categories <div> on the RHS…perhaps they’re related.  Turning Firebug off or disabling it for the page kills the problem.

I do realize that version-wise, I’m somewhat on the razor’s edge.

Update: WP 2.8, Firefox 3.5RC2 and Firebug 1.5X.0a05 works.

NoScript

I’ve been trying to be responsible by using NoScript, a Firefox add-on.  Its supposed to stop malicious Javascript code and cross-site scripting (among a host of other nasty web bugs) from ruining your life.  I understand and appreciate that this is an important and noble goal.  However, it uses preemptive blocking, meaning that every single website on the internet (or 99% anyway) is broken until you tell NoScript not to break it.

I’m sure the author of NoScript would argue that the internet is broken the *other* way around and its a far lesser evil to do the extra clicking.  But I’ve just come to my wits end with trying to figure out why, so often, I’m wondering why a button doesn’t click or menus are NOT MENUS.  So I’ve disabled it for now until my life gets ruined by cross-site scripting.

Google Earth Plugin

I’m running a development version of Firefox on an Intel Mac.  The new Google Earth browser plugin doesn’t recognize it as Firefox 3.0+ so I installed the User Agent Switcher plugin and added an agent that the plugin would recognize:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; nb-NO; rv:1.9.0.3) Gecko/2008092414 Firefox/3.0.3

You also need the Nightly Tester Tools plugin to get the User Agent plugin to override the compatibility check too.

Google Reader Redesign

I like it.