Thanks for your quick response Aleksandar, I will do that tomorrow and email the information and debug file to you.
Thanks for the quick reply. I got in touch with the hosting company and it turns out xcache is enabled.
A bit more searching suggests that this is a well-known problem with xcache – somebody has logged it as a bug: http://xcache.lighttpd.net/ticket/300. The person who posted this suggests it’s something to do with using multiple namespaces within a PHP file (I don’t know a great deal about PHP so this doesn’t mean anything to me!)
Hopefully it’ll get resolved by xcache, as I’d rather not ask the hosting company to disable xcache if it’s improving the performance of the site.
Cheers,
Phil
PS. As far as I’m aware xcache (or similar) isn’t installed