You are currently browsing the archives for the Technology category


Another WordPress blank page

There are plenty of examples out there of WordPress installs suddenly displaying blank pages—on admin pages as well as frontend posts—after changing themes, adding/removing plugins or updating the WordPress backend. Whilst there is plenty of good information out there covering most of the usual suspects, I just came across another which was fairly difficult to track down given the lack of information, though pretty easy to solve once I’d found it. If like me you’ve at any point tried to streamline your WordPress install by cutting down on a few unnecessary services, and reducing the number of calls to the database, you may have added some lines to your wp-config.php file like so:

define('TEMPLATEPATH', '/path/to/theme/directory');
define('STYLESHEETPATH', '/path/to/theme/style.css');

Fairly innocuous, until you actually change your WordPress theme, in which case those long forgotten about resource savers will leave you with little more than a blank page to diagnose your problem. If this is the case though, just updating the lines or commenting them out will leave you with a workable system once again.

Deleting the undeletable

It’s a fairly common problem with Windows. Somehow a program manages to create a file with a name containing illegal characters or otherwise outside the file system’s parameters. No matter what you try, you just can’t rid yourself of it. The file certainly isn’t in use and being locked up by another program. Trying to delete or rename the file only results in Windows telling you the file cannot be found: “This is no longer in <location>. Verify the item’s location and try again.” Even running the Command Prompt with administrator privileges doesn’t allow you to move, rename or delete the blasted thing!

Fortunately, I managed to find an easy solution. Fire up the 7-zip File Manager, and rename the file from there. Bingo – don’t ask me how Vista couldn’t manage it, or indeed why 7-zip could, but at least now you can delete the damn thing! Kudos to the guys on this forum for the answer.

Back to the Fold

The Fold

The Fold

Many of us are probably familiar with the idea advanced in the early days of the Internet, that most users don’t know how to scroll through a website. Today that seems pretty unbelievable. The vast majority of websites, and indeed many of the most regularly visited, not only favour scrolling but to a large extent rely on it for navigation. So have the rules of the so-called ‘fold’ changed since the Internet’s inception? And what role should it play in decisions made regarding a website’s design today?

Viewing the web can be a very personal experience. Depending on your very own choice of browser, monitor or resolution, the web can look a very different place. If you’ve ever for some reason been forced to view one of your regularly visited websites on a much lower resolution monitor, for example, you’ll know what I mean. What once appeared spacious and easy to read suddenly seems squashed and cluttered. The cute little thumbnail images now take up good chunks of room and force you to scroll around them to get at the text. And should that site employ a fixed-width design that is wider than the current resolution, even more space goes to waste with the appearance of a side scrollbar.

Continue reading →

Dick Dastardly’s DSL

Interesting little snippet about the current state of South African Internet services. Designed simply to show up the state of South Africa’s Internet options, the test pitted a pigeon against a connection delivered by their largest provider. The pigeon managed to deliver 4GB of data 60 miles in little over an hour, and it took the company another hour to upload the data (one can only assume they were for some reason using an old USB 1.o/1.1 connection). In this time, just 4% of the data had been transferred via ADSL. Humbling though this message might be, I really wonder if services in the UK would fare much better? At a rough estimate, in the total amount of time it took the pigeon, my own connection might have managed around 5% of the total. The average business connection would probably have achieved twice that, but either way, the pigeon method wins hands down. Having said that, I don’t think we’ll be seeing any alternative pigeon networks set up in the UK just yet. ‘Packet loss’ due to hawk attacks would be monumental.

[Via African Politics Portal]

Update 5th October, 2010: Twelve months after this little stunt in South Africa, a similar experiment was repeated in rural Yorkshire. This time 24% of a 300MB video clip had been uploaded by the time the pigeons had covered the 75 miles to Skegness.

Open Source Bridges

Bridge

Bridge solutions

Many of us have found ourselves in this position. Your business or group make use of an online system, such as a forum, wiki, blog etc., which you then wish to augment or combine with some other system. How you go about doing that, of course, depends entirely on your goals and the systems you’re trying to use together. Design and styling are usually the least of those worries.

The problem which consistently presents itself when attempting such a combination is what to do with the userbase. Whilst this issue can sometimes be simply ignored, in the hope that only a small number of the users of one system will need access to the second, this isn’t always the case. When it comes to one userbase requiring access to two or more systems, the first question that needs to be answered is whether the user information should be shared, enabling a unified login procedure amongst other benefits. Requiring users to sign up to various different pieces of the puzzle is a time-consuming process, and one that many will find confusing and unnecessary. And since different online systems often have conflicting requirements when it comes to usernames and passwords, for example, this can also lead to more lost password checks and work for the system administrator. However, programming such functionality oneself certainly isn’t within the realms of the abilities of all of us, and keeping such modifications functioning across various systems and versions can be a painful procedure.

Continue reading →

Reliving an old gaming experience

Classics of their medium, but which will have a harder time in the future?

Classics of their medium, but which will have a harder time in the future?

In comparison to a medium like cinema, computer games suffer from a particularly poor level of longevity. The vast majority of films can still happily be viewed today, often in an updated format, though keeping to the original production. That isn’t to suggest that films do not become dated, nor that more than just distribution formats are updated in later productions. Only recently I had the privilege of watching a once lost silent Polish film, A Strong Man (Mocny Człowiek), rediscovered in 1997. As there were no hints as to what musical accompaniment was meant to be played with the film, the DVD was released with a modern ambient style, that took a short while to get used to, but actually fit the film’s plot and style rather beautifully. On the whole, however, a film produced fifty years ago can be viewed with much the same clarity today as on the day it was released.

Continue reading →

Worms under DOSBox

I recently had one of those urges to dig up an old classic and relive some memories when we had a guest over to stay. Worms was one of those games we’d both played when it was new and became instantly hooked. Amazing to think that it was released over a decade ago. At the time of its release, most games needed a bit of memory tinkering to work properly, and although I don’t remember now whether Worms was one of them, getting the game to run under a modern operating system was similarly tricky. To that end I thought I’d write a little guide showing how we managed it.

Continue reading →