Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2006-02-04 11:48:43

showdown
New member
Registered: 2006-02-04
Posts: 3

SpellChecker woes

Howdy...

For the life of me I can't seems to enable the spellChecker plugin to work.  I've read and read everythign on the entire internet pertaining to SpellChecker yet to no avail.

I have the plugin load and the button appears.  I am able to click the spell check button and the pop up appears yet inside the iframe is an internal server error.  It seems that the dictionaries are not being loaded and neither is aspell.  I've tried just about everything and I am almost positive that the problem is that spellchecker can't find aspell.  I have tried over and over to set the path in aspell_setup.php but nothing seems to work.  I have verified with my host as to the locations of aspell but again nothing works... 

Can anyone provide som help on this one? or perhaps any ideas?

I have a feeling this area is the culprit:

 if(DIRECTORY_SEPARATOR == '\\') //windows
  {
    $aspell         = 'C:\Progra~1\Aspell\bin\aspell.exe';
  }
  else //linux
  {
    // See if there is a local install of aspell here
    if(file_exists(dirname(__FILE__) . '/aspell/bin/aspell'))
    {
      putenv('PATH=' . dirname(__FILE__) . '/aspell/bin:' . getenv('PATH'));
      putenv('LD_LIBRARY_PATH=' . dirname(__FILE__) . '/aspell/lib:' . getenv('LD_LIBRARY_PATH'));
      $dicfil = dirname(__FILE__) .'/aspell/lib/' . preg_replace('/^.*\/lib\/(aspell\S*)\n.*/s', '$1', `aspell config dict-dir`);
      $aspell_args .= ' --dict-dir=' . $dicfil . ' --add-filter-path=' . $dicfil ;
    }
  }

Offline

#2 2006-02-06 04:32:27

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: SpellChecker woes

What are the details of the server environment?


James Sleeman

Offline

#3 2006-02-06 09:14:47

showdown
New member
Registered: 2006-02-04
Posts: 3

Re: SpellChecker woes

Linux system
Php 4.1.3
Perl 5.8 located /usr/bin/perl
All Perl modules are installed...

What other info can I provide?
Thanks in advance...!

Offline

#4 2006-02-07 08:09:55

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: SpellChecker woes

Are you using the aspell which you can download from http://xinha.python-hosting.com/wiki/SpellChecker


James Sleeman

Offline

#5 2006-02-07 09:19:55

showdown
New member
Registered: 2006-02-04
Posts: 3

Re: SpellChecker woes

[egg on my face] yeah well had I payed attention during any of the dozens of time I read that page I would have noticed that the PERL is not maintained and that I must use the PHP version...[egg on my face]

thanks for the tip... I appppreciate it- my seplining will foreverr be corrrectt!

-Julian

Offline

Board footer

Powered by FluxBB