Author Topic: PSPELL couldn't open the dictionary  (Read 6973 times)

Offline vtdev2013

  • Newbie
  • *
  • Posts: 1
PSPELL couldn't open the dictionary
« on: August 06, 2013, 11:29:07 AM »
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;

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: PSPELL couldn't open the dictionary
« Reply #1 on: August 06, 2013, 01:40:25 PM »
504 $rcmail_config['spellcheck_languages'] = 'en';
Try with $rcmail_config['spellcheck_languages'] = array('en');

Also, what returns `aspell dicts` command?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Re: PSPELL couldn't open the dictionary
« Reply #2 on: August 06, 2013, 01:50:46 PM »
Do you have the aspell-en package installed?