Roundcube Community Forum

 

spellcheck not working

Started by matty262, June 14, 2011, 12:33:01 AM

Previous topic - Next topic

matty262

can anyone help me with spellcheck.

I'm using English as the language and whenever I hit the spellcheck button, it tells me 'empty result from spelling engine'.

in plain text, it underlines incorrect spelling so that's OK but I want to use HTML messages and it doesn't work.

many thanks

rosali

#1
Spell checking in text mode uses fsockopen. TinyMCE spellchecker plugin uses cURL instead. So I guess cURL is missing in your PHP installation.
Regards,
Rosali

matty262

Thanks for the reply. How do I fix it?

rosali

Well, fix your PHP. This is not a roundcube issue.
Regards,
Rosali

matty262

thanks. really appreciate you insight

bpat1434

You need to enable the cURL module in PHP which if you're on a Debian based system means you can just run

apt-get install php5-curl and that will take care of everything.

On a windows system, you'll have to uncomment the line line in php.ini that starts with ;extension= and mentions curl.dll.

On any other linux distro, you'll have to google for answers (I only know debian because we use Ubuntu servers at work).

Once that extension is enabled, just restart apache (or whatever webserver you're using) and try again.  The module should then be loaded properly.

To check if the module is loaded, you can create a script called "phpinfo.php" and put this as the contents:
<?php phpinfo(); ?>

Then go use your browser to view that page.  Then scroll through the page and look for cURL in big bold letters.  If it's there, it's enabled.  If it's not, then it didn't install/enable properly.

If you're on a shared host, you'll have to ask your host if they can install/enable it for you.