You are here

Error message

Drupal: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'foo.image_dimensions' doesn't exist

I ran into a WSOD on a Drupal site and checking the Drupal 7 log showed me the following:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'foo.image_dimensions' doesn't exist: SELECT * FROM {image_dimensions} id WHERE id.fid IN (:fids_0, :fids_1,

Drupal XMLSiteMap: public://xmlsitemap/ not found or not writable

I ran into the following error (or something like it) while setting up Drupal's xmlsitemap module:

public://xmlsitemap/lOtsOfgoBBlDegOOk not found or not writable

This is as expected some kind of permissions issue. Why the module can't sort this on its own, I do not know. As with everything Drupal, clear the cache first to see if that fixes things. It sometimes does. If not, you will need to get your hands dirty on the commandline (if linux):

Drupal's Twitter module: Column 'twitter_uid' cannot be null

I tried installing the Twitter module for a client and ran into the following error during authentication (oauth):

PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'twitter_uid' cannot be null: INSERT INTO {twitter_account} …

The drush command '@hostmaster pm-enable hosting_queued' could not be found

Installing Aegir 2 on a fresh install of Ubuntu Saucy in a Virtualbox, I ran into the following message:

The drush command '@hostmaster pm-enable hosting_queued' could not be found.

To fix this run, sudo mysql_secure_installation and ensure that you remove anonymous users. This should do the trick.

this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

Using Virtualbox (4.3.6) on an XP64 machine, I ran into the following error while trying to install a 64-bit version of Ubuntu:

this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot

This happens even if the host machine is a 64-bit machine. To fix this, reboot the box and enter the BIOS. Look around for a virtualisation setting and enable it. Save and exit the BIOS configuration screen.

What to do when 'dpkg --configure -a' does not work?

I recently had trouble with a MySQL installation in Ubuntu. For some reason or the other, during an upgrade to a newer version of mysql-server, the upgrade script had issues stopping the server and the script failed. This meant that apt could no longer function as it kept raising a red flag over the broken upgrade with the following instructions:

dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

Updating Windows Installer on XP 64-bit

I ran into a hitch while trying to install the latest version of TortoiseSVN on my XP 64-bit Windows installation. Apparently, the entire world has forgotten about the existence of this variety of Windows. There's absolutely no mention of it anywhere on TortoiseSVN's installer page. The MSI installer failed stating that the version of Windows Installer that I was using was dated and that I needed to update my version of XP (x86) to SP3 or some other drivel like that. TortoiseSVN has no manual install option either. I did the whole Windows Update thing as well, to no avail.

Vim runs out of memory during a find and replace

Earlier today, I had to perform a substitution in Gvim within a 2GB file. Unfortunately, after a few thousand operations, Vim ran out of memory with the following error:

Out of memory!
Out of memory! (allocating XXX bytes)

Windows too complained about running out of virtual memory and my system slowed down to treacle-like response times.

PDOException: SQLSTATE[HY000]: General error: 144 Table 'cache_menu' is marked as crashed and last (automatic?) repair failed: DELETE FROM {cache_menu};

While trying to edit a menu on a Drupal site, I found that none of my changes were being saved. Looking at the logs led me to the following error message:

PDOException: SQLSTATE[HY000]: General error: 144 Table 'cache_menu' is marked as crashed and last (automatic?) repair failed: DELETE FROM {cache_menu};

Simply restarting MySQL did not fix things and it looked like I had to get my hands a li'l dirty.

Class 'MollomDrupal' not found

I upgraded the Mollom module on this site from the 7.1.x version to the newer branch of 7.2.x and ran into a White Screen of Death (WSOD). Checking the logs pointed me to the Mollom error:

Class 'MollomDrupal' not found

It's tough to fix this as you might not be able to even log into the site to get to the admin page. Therefore, you will need to disable the module from the database.

Once you are able to log in, you should clear all caches from admin/config/development/performance.

Pages

Subscribe to RSS - Error message