Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: jdougher on July 24, 2013, 06:24:48 PM

Title: Blank box when using spell check
Post by: jdougher on July 24, 2013, 06:24:48 PM
Users are getting just a blank pop-up box when they try to use Spell Check.

I contacted the host, who says this:

I tried this and got the blank box when I clicked Spell Check, but there was no error output either in the Apache error log, or any of the files named error_log within /home/<site>/public_html. I would recommend contacting the developer of your forum software at this point to help track down the error. If they have any questions for us, or anything we need to know, let us know exactly so that we can assist in getting this resolved for you.

Can you help?

Thanks.
Title: Re: Blank box when using spell check
Post by: jdougher on July 24, 2013, 06:38:16 PM
The forum is throwing this error:

2: pspell_new() [<a href='function.pspell-new'>function.pspell-new</a>]: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
File: /home/<site>/public_html/Sources/Subs-Post.php
Line: 1301
Title: Re: Blank box when using spell check
Post by: Kindred on July 25, 2013, 02:38:05 PM
this error suggests that your host did not install the dictionaries with pspell/aspell.....
Title: Re: Blank box when using spell check
Post by: jdougher on July 25, 2013, 04:55:47 PM
Quote from: Kindred on July 25, 2013, 02:38:05 PM
this error suggests that your host did not install the dictionaries with pspell/aspell.....

From what I've gathered, pspell is not compatible with PHP 5.3.x. Is that correct?

If so, that could be the issue.
Title: Re: Blank box when using spell check
Post by: kat on July 25, 2013, 05:36:03 PM
Hmmm... That could be a pain.

QuoteAs of php 5.3. Pspell is no longer supported/bundled. Instead you can use the enchant which is bundled by default in 5.3.

http://php.net/manual/en/book.pspell.php

Mind you, most browsers have a spell-checker, built-in, now. :)
Title: Re: Blank box when using spell check
Post by: Arantor on August 10, 2013, 07:57:09 PM
That's not to say it won't work, merely that it's not bundled by default. It's still usable.