kelson
Forum Replies Created
-
Forum: Plugins
In reply to: Automattic stats plugin missing post titlesSome new info gleaned from a pingback: It’s definitely a bug introduced in PHP 5.2.2 that affects XMLRPC. It’s fixed in CVS, so in theory it should be fixed in the next version of PHP… whenever that comes out.
Forum: Fixing WordPress
In reply to: XML-RPC and PHP 5.2.2This is almost certainly the same problem I had here. It turns out there’s a bug in PHP 5.2.2 with the feature WordPress uses to run XMLRPC — which is how all the APIs work.
In theory, it will be fixed in the next PHP version. For now, I found that you can work around the problem by adding the following line at the beginning of WordPress’ xmlrpc.php:
$HTTP_RAW_POST_DATA = file_get_contents("php://input");Put it right before the first line that mentions $HTTP_RAW_POST_DATA, and it should do the trick.
Forum: Plugins
In reply to: Automattic stats plugin missing post titlesFor the record, I backed out the Suhosin patch and extension, and a vanilla PHP 5.2.2 still requires the workaround for some reason. I’ve updated the original link with more detail.
Forum: Plugins
In reply to: Automattic stats plugin missing post titlesNew info: data is retrieved by XMLRPC. Apparently my server isn’t setting the $HTTP_RAW_POST_DATA variable. Edit: make that under certain circumstances. It works fine on a test page, just not in xmlrpc.php.
I’ve found that adding the following line at the beginning of WordPress’ xmlrpc.php solves it:
$HTTP_RAW_POST_DATA = file_get_contents("php://input");Now to do some tests and see whether it’s caused by Suhosin or by PHP 5.2.
Forum: Fixing WordPress
In reply to: custom fields are being auto deleted???!???What plugin was causing the problem? How did you resolve it?
Forum: Fixing WordPress
In reply to: Wysiwyg editorFYI, it works in the Opera 9.0 preview, so when the final version is out, Opera users will be able to use the WYSIWYG editor if they want to.
Forum: Fixing WordPress
In reply to: Pingbacks and pretty permalinks – continuedForum: Fixing WordPress
In reply to: Pingbacks not using permalink structure (with solution)Argh! It’s doing it again! Starting May 27… the day of the 1.5.1.2 update.
It looks like I need to redefine the permalink structure every time I upgrade?
Forum: Fixing WordPress
In reply to: RSS Feeds keep returning 304 Not Modified, even when they have.Sorry, I thought I was searching. And those other threads… no mention of the 304 status, which is what I was searching on.
Obviously these boards aren’t for support. It must have been the word “support” in the URL or maybe “Troubleshooting” in the title that confused me. I’ll be sure not to make the same mistake again.
While you’re at it… check the date on the original post by admiraljustin. It predates the bug (which, incidentally, I found in my second round of searching… before coming back here to helpfully post the info) by 2.5 weeks. I hope you’re not admonishing him for not searching as well.
Forum: Fixing WordPress
In reply to: RSS Feeds keep returning 304 Not Modified, even when they have.I’ve started seeing the same thing since upgrading from 1.5.0 to 1.5.1
Forum: Fixing WordPress
In reply to: Technorati?It looks like Technorati lists the time that they indexed the post, not the time the post was made.
Forum: Fixing WordPress
In reply to: Question on Technorati tags and code in my postUpdate: I reported the spider problem to technorati, and they apparently made some changes in the last couple of days. They fixed the problem, and my tags have started showing up. Try pinging Technorati to make sure they re-fetch your site, and see if the tags start showing up.
Oh, to clarify the original issue (of what code to use) — use
<a href="..." rel="tag">...</a>. The<category>...</category>code only works in the RSS feed and is generated automatically by WordPress. Or use a plugin.Forum: Fixing WordPress
In reply to: Question on Technorati tags and code in my postI think I found my problem… Technoratibot hasn’t pulled my feeds — or my journal — since Monday (despite standard pingomatic hits *and* manual pinging). For some reason they’re polling the root page of my website instead.
But again, as of a few weeks ago, what you were trying to do seemed to work.
Forum: Fixing WordPress
In reply to: Question on Technorati tags and code in my postIt should be possible, but I think something’s broken. I just don’t know whether it’s in WP or Technorati!
FWIW, I was able to get this to work earlier this month (I made a post about April 1 pranks with the tag “April Fools” and it showed up), but posts in the last couple of days haven’t shown up in either href-labeled tags or category-based tags.
Forum: Fixing WordPress
In reply to: Using the word ” “I don’t know about the compress problem, but the curl issue sounds like it might be related to mod_security rules. Some of the example rules block anything that looks like an attempt to fire up curl via a malicious web request.
Ask your host whether they’re using Apache with mod_security, and if so, whether they have any rules with curl or compress in them.