Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: Jerry Jingles on April 01, 2005, 10:20:21 AM

Title: question about spell checker
Post by: Jerry Jingles on April 01, 2005, 10:20:21 AM
what do i need to do to get the spell checker to work?
Title: Re: question about spell checker
Post by: Rob on April 01, 2005, 10:33:42 AM
You need to have the "pspell library" installed on your server, and your PHP configuration must be setup to use the pspell library.

If you have bought a host, you can ask your host to setup pspell for you, then all you have to do is enable it in your "Edit Features and Options" in your Admin Area.

Hope that helps!

Rob
Title: Re: question about spell checker
Post by: Jerry Jingles on April 01, 2005, 12:48:27 PM
where do i get pspell?
Title: Re: question about spell checker
Post by: Ben_S on April 01, 2005, 01:19:37 PM
http://aspell.sf.net

Your host needs to install it.
Title: Re: question about spell checker
Post by: pasmith on April 11, 2005, 07:38:36 PM
Another site where the Spell Checker isn't working. If I look at php info I see "--with-pspell=/usr/local'" and SMF says the spell checker should work, but I get a pop-up window and a blank white screen.

Any ideas what I might do to get it to work? My SMF is wrapped in Mambo, if that matters.

UInknown, I put up a phpinfo page at http://gamesroundtable.com/phpinfo.php since I've seen you asking to see that....

And a testspell.php here: http://gamesroundtable.com/testspell.php

OK, while testspell.php crashes, if I use extension_loaded('pspell') (instead of dl('pspell')) I get a response the suggests pspell is loaded and get a bool(true) response.  Please see:

http://gamesroundtable.com/testspell1.php

This is the code in that file:
<?php

extension_loaded
('pspell');
var_dump(function_exists('pspell_new'));

?>



Dunno what, if anything, that tells you. I'm no php programmer. :)

[Yet more edits]

The more I look at this, the more I think its a problem with my ISP. If I write a script that just says:
$pspell_link = pspell_new("en");
(which looks to be the first step in using pspell) it hangs... that should work, right? I've sent my ISP's Support Line an email
Title: Re: question about spell checker
Post by: [Unknown] on April 14, 2005, 01:04:38 PM
Yes, that means Aspell/pspell is not installed properly, I'm afraid.  You shouldn't need to dl() it.

-[Unknown]