You are not logged in.
Pages: 1
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
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
Are you using the aspell which you can download from http://xinha.python-hosting.com/wiki/SpellChecker
James Sleeman
Offline
[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
Pages: 1