Solution to tinyMCE fatal error in GoogleSpell

October 2nd, 2008

I’ve been working on a web app using the symfony framework and I got a strange error from the spellchecker included with tinyMCE along the lines of:

Error response:
Warning: fgets() [a href='function.fgets'>function.fgets/a>]: SSL: fatal protocol error in /var/www/…/js/tinymce/plugins/spellchecker/classes/GoogleSpell.php on line 93 {”id”:null,”result”:["Word","word"],”error”:null}

I tried a few Google searches and the only thing I could find was a comment on another blog (#546) from someone else experiencing the same problem.

I considered switching to PSpell but it wasn’t included in my install and I didn’t want to deal with the hassle of recompiling PHP. The tinyMCE wiki covers the spellchecker plugin and points out that PHP CURL is required for GoogleSpell, because it only works over SSL.

On Ubuntu
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
and an apache2 restart got me up and running.

Greasemonkey Scripts for Gmail and Yelp

December 18th, 2007

Once I figure out which direction I want to take this blog, there will be a variety of content here. For the time being click here to check out my Greasemonkey scripts. There’s a word counting script for each of Gmail and Yelp, as well as an inYOf4ceBook-type script for Yelp, which lets you see full-sized versions of photos by mousing over their thumbnails.