Linux OS: FreeBSD
Apache 2
PHP5
FCKeditor v.2.6.3
I am getting an Error Message in the Editor when I press the Check Spelling Button.
Error Message:
System error: Aspell program execution failed (`aspell -a --lang=en_US --encoding=utf-8 -H --rem-sgml-check=alt < /path/aspell_data_wiAFJG 2>&1`)
Screenshot:
I recently upgraded our server. This worked before the server transition. It still works on my development server.
Aspell is installed on the new server.
When I run the aspell command from a command prompt, it returns some text with suggestions for how to properly spell the misspelled word.
Do you have any suggestions for where I could begin troubleshooting this?
Thank you,
Daryl
Tue, 01/13/2009 - 20:10
#1
Re: System error: Aspell program execution failed
I found the file on my system at:
/usr/local/share/aspell/en_US.multi
Re: System error: Aspell program execution failed
The Apache Environment Variable (Path) must have the path to the aspell file.
Otherwise Apache doesn't know where to run Aspell from.
In my case it was because of the way I restarted apache. I use a provide named Verio that has their own custom restart_apache script to restart apache. I had restarted apache using the standard /usr/local/apache2/bin/apache2ctl restart command. So if your having troubles with this, check your apache environmental variable for the path, and make sure it has the path to aspell in it. Ie. Add phpinfo(); to a php file and have a look at it.
Daryl
Re: System error: Aspell program execution failed
Daryl, I have exactly the same error, and I assume when you talk about the environment variable you mean the httpd.conf file? Would you mind showing me specifically what you did to add aspell?
Thank you very much!
David
Re: System error: Aspell program execution failed
Hi ,
i am also getting error in IE.
when i click on spell checking button it show the window with one text field and with one Cancel button. It is not showing any other button
I am not able to see any other button and it show the "http://h1.spellchecker.net/spellcheck2/if/miframe.html?
xdt==http://localhost/js/fckeditor/edtior/editor/wsc/ciframe.html&id=126531&cmd=init................"
like this error is showing .
but it is working in Firefox.
Re: System error: Aspell program execution failed
-a -l en_US --encoding=utf-8
Of course, your language and encoding may vary from my own. Basically and Ironically, dropping the "-H" was the key in my case.