News:

Wondering if this will always be free?  See why free is better.

Main Menu

question about spell checker

Started by Jerry Jingles, April 01, 2005, 10:20:21 AM

Previous topic - Next topic

Jerry Jingles

what do i need to do to get the spell checker to work?
   

    

Rob

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

Jerry Jingles

   

    

Ben_S

Liverpool FC Forum with 14 million+ posts.

pasmith

#4
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 [nofollow] since I've seen you asking to see that....

And a testspell.php here: http://gamesroundtable.com/testspell.php [nofollow]

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 [nofollow]

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

[Unknown]

Yes, that means Aspell/pspell is not installed properly, I'm afraid.  You shouldn't need to dl() it.

-[Unknown]

Advertisement: