Tracing errors in Drupal

I get to see a lot of different Drupal issues in my day to day at Acquia. From relatively simple problems that can be fixed with altered configuration, a cache clear or a little custom code, to almost untraceable bugs with roots deep in the Drupal bootstrap; where those debugging…

When APC appears to fail Drupal

There are quite a large number of resources on the internet that exist due to the error that springs up on Drupal sites with APC enabled: Cannot redeclare class insertquery_mysql in /path/to/drupal/includes/database/database.inc on line 1774.Whilst many of them provide work arounds like…

Hostname and mail woes

A few months ago, I switched from using a Debian based distribution on my main machine to Fedora. I like to customise my machine a little prior to developing and creating local sites to hack core, create new modules and generally contribute back to the community. Some of the changes…

Don't mess with files

One thing that's been causing me some issues recently is storing managed files and the effects of changing various properties of them. Since the files have a number of things recorded in the database; changing these properties can have unwanted effects. The file_managed table is where records are stored…