All posts in category Wordpress

A little spring cleaning and a new sponsor!


Quick update for today, but I wanted to alert all visitors that the site just went live with a brand-new theme that I’ve been working on for quite some time now.

I also upgraded the site to WordPress 3.11, implemented native menus and re-worked some of the plug-ins (got rid of a bunch of redundancy and tried to optimize things as much as possible).

I’m also super-happy to report that brokentoken now has its first sponsor!

We are now hosted on the CBeyond (formerly MaximumASP) cloud services platform, so this is a huge upgrade in bandwidth, uptime and reliability than was previously available, so they are making the site nice and fast and their support is greatly appreciated.

Please page around the site and feel free to leave any comments/issues/constructive criticism.


One (opcode) cache to rule them all?


wincacheFirst off, let me say this - Wincache FTW!

OK – with that off my chest, I can get down to business.  This post is a long time in the making.  I’ve spent a considerable amount of time over the past few months testing numerous site configurations (Windows/IIS versions, PHP, mySQL, WordPress plug-ins, etc.) to find out which will run best for me.  In short, it’s been nothing short of a learning experience – many times very frustrating but finally very rewarding.

When I originally put up the site, I was steadfast in my commitment to having everything running on 64-bit Windows.  That meant that I had three choice to deploy on:


PHP Manager is a must-have for all WordPress on IIS installations

tooliconI ran across this – PHP Manager – a bit ago and installed the tool here on the site to see if it would work as well as the screen shots on codeplex seemed to promise.  Historically being a .NET guy, I feel that my PHP optimization skills are still a bit to be desired, so I wasn’t surprised at all to see the tool report back a non-optimal installation here on BrokenToken.

What’s nice is that the add-in made it very easy to pinpoint several settings that needed to be changed, and it let me do so in bulk and implement all changes in one fell swoop.  Be sure to do an ‘iisreset’ after any changes so that they are picked up and put into effect.

One word of caution, though:  if you like to keep your php.ini file neat and organized, this add-in will group all of it’s settings changes into one section of the file (usually somewhere in the middle – don’t ask me why) and kill whatever kind of ‘.ini feng shui’ you might have going on.  I’m admittedly a bit obsessive about such things, so I found it necessary to move the settings around, but nonetheless the add-in is effective and reliable.

There are both x64 and x86 builds available.  Have at it and hopefully get a better-running PHP install as a result!

Fix for HTTP error 500/XMLRPC issue when publishing via Live Writer and the post has embedded images


Whew – long title I know, but it’s what I started running into when attempting to upload a post to brokentoken via Windows Live Writer (WLW).

I’m still trying to determine whether or not I’m going to stick with/ WLW for post composition or use WordPress’ built in editor – I’m split 50/50 on it right now.   Regardless of the outcome on that, I ran into an issue where I was publishing a post that had some embedded images in it, and the XMLRPC interface of WordPress kicked back an “internal server error” with a HTTP status code of 500.

Enter a little Google-fu and I found this to be a very clean and simple solution:

I have verified here on brokentoken that it was necessary and have also verified that my development environment  is afflicted as well.

Simple enough fix via phpMyAdmin and all is well.  I hope this helps someone else out if they run into this issue using WLW (or any XMLRPC publishing method) with embedded images.

Setting up WordPress on Windows XP to use IIS 5.1


I recently built a Windows XP virtual machine with the intention of doing wordpress theme development and testing on it.

Getting WordPress up and running normally requires running Apache, MySQL and the wordpress binaries, but instead of running Apache, I wanted to use the version of IIS included in Windows XP.

Getting everything for WordPress up and running wasn’t that difficult, but I wanted to record my steps and sources in case anyone else is considering doing the same.

Also consider installing FTP with IIS so that you have a mechanism to move files in/out of the VM.  I choose to go this route so I can more easily replicate my production server configuration since mapping drives and Windows networking is out of the question in an internet-facing/production scenario.

Go to Top