News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Question concerning pspell library

Started by Methen, October 22, 2008, 11:35:37 PM

Previous topic - Next topic

Methen

Are there any detail instructions for setting up pspell library  to work with smf?
Somebody is asking for a Hinne Whooping!

ThorstenE

pspell must be installed and enabled in php.ini, aspell and a dictionary must be installed on the server.. then you should be able to enable the spellchecker in SMF..

Methen

A few questions (please)
1 where exactly do I upload the  aspell files?
2 How exactly do I Install it?
3 Where do I upload the dictionarys?
Somebody is asking for a Hinne Whooping!

wmcintosh

Ask your host to install them, unless you host yourself, if the case sorry cannot help.

ThorstenE

hehe, this is depending on the OS you are using ..
example for debian (my favorite OS): apt-get install aspell aspell-en

for other linux distributions or even windows it's different because each has it's own package management.. goolge should help..

Methen

well I pay for my web host but I know they  use debian as for my I have xp pro on my computer so it would not be possible for me to do this my self ?
Somebody is asking for a Hinne Whooping!

greyknight17

Unless you plan on hosting it on your own computer, stick with your paid webhost. Contact them and ask them to install it if you don't have it.

Methen

Somebody is asking for a Hinne Whooping!

ThorstenE

you can test the function of pspell.. create a small php-script

Code (spellchecker.php) Select

<?php
echo 'TEST';
$pspell_link = pspell_new("en");

if (
pspell_check($pspell_link, "Testt"))
   echo
"spelled right";
else
   echo
"Sorry, wrong spelling";

?>


if the output shows only "TEST" the script works but the pspell-extension is not working..

Advertisement: