Here’s a pro tip for anyone working with WordPress. If you’re ever faced with a completely blank page when you visit your site, check that the theme you are meant to be using actually exists. I just spent about half an hour checking permissions and error logs for my development environment, only to find that when I backed up the theme I was working on I inadvertently cut the theme’s folder instead of copy it. It appears that when WordPress doesn’t find the theme it is meant to use it just returns an empty page instead of an error message. Better than an error message, it could even try using the default theme and email the adminstrator that something has gone wrong with their chosen theme. I’m using WordPress 2.7 at the moment, so if this is version specific or shouldn’t be happening, can someone please leave a comment or email me.
Given that WordPress appears to be open source, maybe I should attempt to write such a fix and finally contribute to an open source project like I’ve been planning to.
I just went to do some work on a WordPress theme for my girltrond and discovered that upgrading to Leopard has broken my MAMP setup. Here is a quick rundown on what I’ve done to fix it. First of all, trying to visit pages under my user account’s Sites folder left me with a HTTP 403 Forbidden error. In order to fix this I follwed the instructions on Apple’s support site.
Next, to get PHP running. I was using entropy to get PHP5 with Tiger, however it appears that Leopard includes a PHP5 install by default. To enable it, we need to edit Apache’s configuration file (httpd.conf) which you can do with the following command in Terminal (under Utilities):
sudo nano /etc/apache2/httpd.conf
I’d like to put my hand up for the manliest man award. Not only did I change a tyre on my car today, I also built some furniture. Ok, “built” might be taking things a bit too far given that it came flat-packed from IKEA. Nonetheless, I screwed things, I hammered things, so to me it felt like building. In any event, this is all irrelevant, because I’m here to preach the virtues of what I built, not how I built it.
TOBO, my beastly new TV unit, is a proud addition to my IKEA collection and I would highly recommend it to anyone looking for a reasonable sized cabinet for a televison and consoles. He will proudly hold a 46″ LCD, PS3, Wii and a small collection of discs, and that’s without making use of his two generous drawers. TOBO is a shining example of IKEA’s much improved design, both in terms of aesthetic and ease of assembly. TOBO, I salute you.
Having a paypal account with money in it is dangerous, it’s so easy to give the money away…