Oh, buggeration!

In my entry Rants and Revelations : Baby’s first AJAX I crowed about my lovely new AJAX Javascript refresh thing.  It is a thing of beauty and I thought a joy forever.  Until I got an email today from a guy who was generating a database and it suddenly stopped refreshing.  He said it did work until he added another state to the ones he’d done before.  And he also revealed that he was using IE, and was unable to change to Firefox becaused the computer was provided by work.

So I checked it out, and did a really big database generate.  It refreshed a bunch of times, and then suddenly it stopped.  And when I hit shift-refresh, the count reset to 0 as if it didn’t make contact to the XML producer at all, or couldn’t parse it or something.  “View Source” wouldn’t even bring up a window.  But when I posted the same URL into Firefox, it showed the correct results.  I tried backing off the security settings to the loosest, to no avail.  Can’t see anything useful in the various settings pages.
I wish IE had a Javascript console.  I’d really like to know what’s going on.

Bleargh

(Gee, how many times have I used that title that Firefox actually showed it as the first completion option once I typed the “B”!)

I have this curious pain running around my head.  Sometimes it seems to manifest itself like a hard little ball that lodges either just under the bridge of my nose or about an inch up from the bottom of my skull in the back.  Most of the time it’s just pressure on the back of my eyes.  Sometimes my eyes just won’t focus for a second or two.  I’m not sure if this is some sinus thing coming on, or a migraine about to pop.

Oh well, I guess we’ll see.  After all, there’s no better way to get expert medical advice than to post about it to your blog, right?

mod_rewrite is deep magic

When I moved this blog from MovableType to WordPress, the rss feed urls changed. Since I didn’t want the livejournal syndication to break, I put in mod_rewrite RewriteRules to redirect those feed urls. When I upgraded to WordPress 2.0, what had been an extremely long .htaccess became just a few lines long, and all the fancy stuff that they used to do in .htaccess with mod_rewrite are now evidently done in index.php itself. So I’m trying to figure out how to insert new RewriteRules to do what I did before, but everything I try either does nothing, or it causes the whole blog to break with a message in the error.log file saying “mod_rewrite: maximum number of internal redirects reached. Assuming configuration error.”

Here is the existing .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blogs/pt/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blogs/pt/index.php
</IfModule>

I would have thought that adding the following would be sufficient:

RewriteRule index.rdf /blogs/pt/feed/
RewriteRule index.xml /blogs/pt/feed/

or possibly, since /feed/ is evidently going to be passed to index.php as arguments, like this:

RewriteRule index.rdf /blogs/pt/index.php?&feed
RewriteRule index.xml /blogs/pt/index.php?&feed

I also tried with [L] and/or [R] conditions. No luck.

I’d like to get all those syndicators working again. If you have any suggestions, please leave a comment or drop me an email.

Ok, that’s annoying

I upgraded to WordPress 2.0 a few days ago.  I just noticed today that the comment count isn’t incrementing when people post comments (although they do decrement when I delete a test comment).  So there’s all those posts on my main page that say “Comments (0)” even though they have comments.  And they’re not showing up in my “unread comments” plugin either.

I think I’m going to have to try turning off some plugins to see if that makes a difference.  I hope it’s not SpamKarma.