Roundcube Community Forum

 

PSPELL couldn't open the dictionary

Started by vtdev2013, August 06, 2013, 11:29:07 AM

Previous topic - Next topic

vtdev2013

Trying to find where my path is broke?  Can anyone shed some light on this?

Thanks!


PHP Warning:  pspell_new(): PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in /www/ourdomain.net/html/program/lib/Roundcube/rcube_spellchecker.php on line 325

My line 325:
$this->plink = pspell_new($this->lang, null, null, RCUBE_CHARSET, PSPELL_FAST);


aspell-0.60.6-12.el6.i686
php-pspell-5.3.3-23.el6_4.i686
aspell-devel-0.60.6-12.el6.i686

php-common-5.3.3-23.el6_4.i686
php-xml-5.3.3-23.el6_4.i686
php-cli-5.3.3-23.el6_4.i686
php-gd-5.3.3-23.el6_4.i686
php-mbstring-5.3.3-23.el6_4.i686
php-pspell-5.3.3-23.el6_4.i686
php-5.3.3-23.el6_4.i686
php-pdo-5.3.3-23.el6_4.i686
php-mysql-5.3.3-23.el6_4.i686


485 $rcmail_config['enable_spellcheck'] = true;
489 $rcmail_config['spellcheck_dictionary'] = false;
493 $rcmail_config['spellcheck_engine'] = 'pspell';
499 $rcmail_config['spellcheck_uri'] = '';
504 $rcmail_config['spellcheck_languages'] = 'en';
507 $rcmail_config['spellcheck_ignore_caps'] = false;
510 $rcmail_config['spellcheck_ignore_nums'] = false;
513 $rcmail_config['spellcheck_ignore_syms'] = false;
884 $rcmail_config['spellcheck_before_send'] = false;

alec

Quote from: vtdev2013 on August 06, 2013, 11:29:07 AM
504 $rcmail_config['spellcheck_languages'] = 'en';
Try with $rcmail_config['spellcheck_languages'] = array('en');

Also, what returns `aspell dicts` command?

SKaero

Do you have the aspell-en package installed?