How-To: Fix WordPress plugin updates and DB backups not working

If you, like me, got too big for your boots and tried to lock down your server using ‘best practice’ pre-rolled apache server config settings without fully understanding how they work – then good on us both for trying, but let’s never do it again.

Specifically, I tried to lock-down click-jacking like this in my httpd.conf:

There’s lots to read about click-jacking, but what was most important to me was that it pretty much knackered my WordPress install to the point where I could only update a single plugin at a time, and after every plugin updated I had to delete the “.maintenance” file to get the site back running. That and WordPress and theme updates would complete, but never TELL me they’d completed, so I’d just have to wait a while then go back to the admin page and hope for the best.

Anyway – if you have this issue, and have used X-Frame twiddling stuff in your apache config, the short answer is: Don’t.

King Creosote and Jon Hopkins – John Taylor’s Month At Sea

This track is from the King Creosote / Jon Hopkins collaboration album Diamond Mine, and this particular live version (there are four songs in the video – it’s like a mini gig) is from NPR’s “Tiny Desk Concerts”.

YouTube Preview Image
I love to look out at the sea
from the Swingpark here at Roome Bay Beach
Today John Taylor starts his month away
On a boat one-ten miles east of Aberdeen.

A dozen men, thirty days with twenty-four hours in each
Of shattered boyhood dreams and not much sleep
I’d much rather be me, for once I’d much rather be me.

A month at sea and they will surely sleep
With their heads still stuck on land
A month on land and then they’ll surely dream
Of girls they can afford but cannot have.

And in the drunken haze or on a rolling wave
Once again I’d much rather be me
I’d rather be me
Once again I’d much rather be me.

For once again I’d much rather be me.

BTW, the instrument Jon’s playing before he switches to the keyboard is called a harmonium.

Also, you can hear the album version here.

How To: Fix the Shadow Warrior startup DBUS address error on Linux

I picked up the Humble Indie Bundle 14 the other day, which included Shadow Warrior – so I’m all keen to give it a shot on Linux, but when I launched it, I got this DBUS issue:

I’m running 64-bit Arch, and I noticed there was a lib folder – so I thought that would be a good place to start experimenting, and I was right! =D

To get Shadow Warrior to launch, you need to remove the libSDL2 and libOpenAL library (.so) files – but have your Linux distro’s versions installed. I did this by renaming the lib folder to old-lib, creating a new lib folder to take its place, and then trying to launch, getting an error, and copying a lib from the old-lib to the lib folder, which by the time the game would launch gives me:

I have libSDL2 and all lib32-sdl* packages installed, but I have only the native 64-bit version of OpenAL installed (which did not get copied into the remastered ‘lib’ folder) and not the lib32 variant – and yet the game launches and works! So give that a shot – works for me =D

Shadow Warrior - working!