Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/01/2010, 13:15
magTpeak
 
Fecha de Ingreso: septiembre-2007
Mensajes: 189
Antigüedad: 16 años, 7 meses
Puntos: 1
The key "strip-accents" is unknown

Buenas, tengo un pequeño problema con aspell en php y no se cual es la solucion, que debo hacer?
Error:
Cita:
Warning: pspell_new() [function.pspell-new]: PSPELL couldn't open the dictionary. reason: D:\web\as\dict/en.multi:2: The key "strip-accents" is unknown. in D:\xampp\htdocs\bot\test.php on line 19

Warning: pspell_check() [function.pspell-check]: 0 is not a PSPELL result index in D:\xampp\htdocs\bot\test.php on line 21
Sorry, wrong spelling
Codigo:
Código PHP:
$pspell_link pspell_new("en");

if (
pspell_check($pspell_link"testt")) {
    echo 
"This is a valid spelling";
} else {
    echo 
"Sorry, wrong spelling";

Y si lo pongo en español me da el siguiente error:

Cita:
Warning: pspell_new() [function.pspell-new]: PSPELL couldn't open the dictionary. reason: The file "D:\web\as\dict/es.rws" is not in the proper format. in D:\xampp\htdocs\bot\test.php on line 19

Warning: pspell_check() [function.pspell-check]: 0 is not a PSPELL result index in D:\xampp\htdocs\bot\test.php on line 21
Sorry, wrong spelling
Código PHP:
$pspell_link pspell_new("es");

if (
pspell_check($pspell_link"casa")) {
    echo 
"This is a valid spelling";
} else {
    echo 
"Sorry, wrong spelling";

He instalado todo bien de la pagina oficial (http://aspell.net/win32/) pero no se que quiere decir el error ni como solucionarlo.
Un saludo!