ID: 40759 User updated by: david at mytton dot net Reported By: david at mytton dot net -Status: Feedback +Status: Open Bug Type: Pspell related Operating System: Windows XP PHP Version: 5.2.1 New Comment:
I upgraded to Aspell 0.60 which is the latest version for Linux and it works fine now. The bug exists only in the 0.50 version it seems (this is the only version available for Windows). I also noticed that if the personal dictionary path provided to pspell_new_personal() doesn't exist or isn't accessible, the function does not return any kind of error or warning. For example if I change the permissions of the custom.dict file so the PHP user cannot access it, the function doesn't error but just doesn't make use of the custom dictionary file. Should I submit this as a separate bug? Previous Comments: ------------------------------------------------------------------------ [2007-03-13 19:15:14] [EMAIL PROTECTED] >Yeah. So how can we go about fixing this? First make sure it works for you using Aspell console utilities. >Is your personal dictionary in the same format as mine? It's a copy/paste. ------------------------------------------------------------------------ [2007-03-13 18:39:15] david at mytton dot net Yeah. So how can we go about fixing this? The pspell_new_personal() function doesn't seem to return any kind of error even if the personal dictionary path provided doesn't exist (error reporting all on etc). Is your personal dictionary in the same format as mine? custom.dict: personal_ws-1.1 en 1 bloomsbury ------------------------------------------------------------------------ [2007-03-13 15:45:20] [EMAIL PROTECTED] As I said, it works fine here both on Linux and Windows. ------------------------------------------------------------------------ [2007-03-13 15:28:41] david at mytton dot net I reinstalled Aspell on Windows and am still unable to get it to pick up the custom dictionary. The file format I am using is: personal_ws-1.1 en 1 bloomsbury in custom.dict with the code in my original description. ------------------------------------------------------------------------ [2007-03-13 11:04:52] [EMAIL PROTECTED] Not reproducible on Windows either. Check your Aspell install and make sure the dictionary format is correct. Not PHP problem. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/40759 -- Edit this bug report at http://bugs.php.net/?id=40759&edit=1