0
我刚刚切换到与godaddy cpanel服务器。我完全与pspell集成,它工作得很好。现在我得到了以下错误位于服务器上的aspell库在哪里?我如何检查他们?
Warning: pspell_new(): PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en".
这是我的代码
$pspell_config = pspell_config_create("en");
pspell_config_personal($pspell_config, "/home/user/public_html/custom.pws");
pspell_config_repl($pspell_config, "/home/user/public_html/custom.repl");
$pspell_link = pspell_new_config($pspell_config);
error_reporting(E_ALL);
@ini_set('display_errors', 1);
// Call it once first because of a bug in Windows' Aspell.
pspell_new('en');
$test = pspell_new('en');
echo '
Testing pspell.... ', pspell_check($test,'thisisnotawordandyouknowit') ? 'failure' : 'pass', '.<br />
If no error messages were displayed, Aspell is installed and working properly.';
我该如何定位我的服务器上的语言文件或测试呢?我打电话给godaddy,他们说aspell已经建立,我测试了我的php,它说pspell已启用。