Quote:
Originally Posted by SteveK
I get this error when attempting to spell check:
Fatal error: Call to undefined function: pspell_new() in /home/profit/public_html/forums/checkspelling.php on line 26
Line 26 is:
PHP Code:
$pspell_link = pspell_new ("$my_lang", "", "", "", PSPELL_FAST|PSPELL_RUN_TOGETHER);
Tried changing custom.pws from "en" to "english", no luck
I do have pspell installed, but unsure of dictionary location the aspell.conf file. How do I edit the aspell.conf file using SSH so that it points to the right dictionary file?
Thanks
|
I had got the same error. After some checkings, I noticed that PSpell was not compiled correctly with php. I did a re-compilation, and it got rid of the error after that. I compiled it initially with --enable-pspell, while it should have been --with-pspell instead. Check if you compiled it wrongly too.
I couldn't fix this problem here though, which was mentioned by Chris on Page 8 I think. The spellcheck ignores all the spacings and just inserts the text as a long paragraph when spellchecking, then outputs them as one long paragraph too. I tried re-uploading in Binary, or even saving it with VI, it just doesn't work. I am quite sure that it has to do with the codes of pulling the text from the text area.