http://farm4.staticflickr.com/3761/9304290800_c35a5b23b5_b.jpg

http://www.flickr.com/photos/awcole72/9293257451/

Take a look http://www.flickr.com/photos/awcole72/

Take a look http://www.flickr.com/photos/awcole72/

TinyMCE Disables Spellchecker

Problem: TinyMCE rich-text editor disables the operating system spellchecker when using Firefox or Chrome.

Solution: Set the TinyMCE configuration “gecko_spellcheck” to TRUE.

tinyMCE.init({
	...
	gecko_spellcheck : true
});

In Drupal, you can override this setting by adding an alter function to a custom module.

function MYMODULE_wysiwyg_editor_settings_alter(&$settings, $context) {
  if ($context['profile']->editor == 'tinymce') {
    $settings['gecko_spellcheck'] = TRUE;
  }
}

Source: http://drupal.org/node/1064268

Drupal sessions table crashed

Problem: 
Unable to log into a Drupal site.  Logging in with valid credentials would fail without any visible error in the UI.

Solution:
Repair the sessions table.

When I exported the database using Sequel Pro, I got the following error:
“Table ‘./d6_eiper/sessions’ is marked as crashed and should be repaired’.  I was able to do this with Sequel Pro, but you could also use phpMyAdmin.

Image

Update 4/6/2012: More tables starting crashing in the same way and we were able to repair them as well.  The reason for these crashes is still a mystery.  We restarted the web server and haven’t seen any crashes since.