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

Submitted by Druss on Tue, 2013-04-23 10:38

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

Submitted by Druss on Tue, 2013-04-23 10:15

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.

Why is a penis also called a cock?

Submitted by Druss on Fri, 2013-04-12 00:25

Somebody asked me earlier today why a penis is also called a cock. I assumed that it had something to do with the rooster (the male chicken) being called a cock. While this is true, there's a little bit more to tell. Here's a brief investigation into the matter.

According to Etymonline:

Slang sense of "penis" is attested since 1610s (but cf. pillicock "penis," from c.1300);

What are the "la la la", "la dee da" bits in a song called?

Submitted by Druss on Thu, 2013-02-28 01:37

I was trying to describe the lyrics of a song today and stumbled when I reached a section with a bunch of "la la la" bits. I suppose I could have well just termed them as la-la-la bits, but seeing as to how I apparently have all the time in the world (not my words), I decided to see if there was something a bit more definitive that I could use. A wittle googling later, I chanced upon the answer.

dpkg cannot install as there's no space left on the device even though there is

Submitted by Druss on Thu, 2012-11-22 23:46

I ran into this issue a couple of days ago and cannot recall the exact error message. However, the problem was effectively that aptitude could not install the new kernel update because my partition had apparently run out of space. An interrupted update to Klipper is one thing and the Linux kernel a whole 'nother kettle of fishies. Thinking that I simply needed to free up some space on my partition, I checked the current status via df.

Scrolling within Screen's buffer

Submitted by Druss on Fri, 2012-10-19 21:05

Since I keep forgetting this shortcut, here it is for posterity. Activating GNU Screen's scrollback feature can be done by pressing CTRL + a + [. This is especially handy when you are using Screen from within PuTTY.

While a number of sites provide additional Vim-esque shortcuts to navigate within the buffer, I've been able to get by fine with just the navigational arrow keys on my keyboard.


Subscribe to languor.us RSS