Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
Aspell on Windows
Avatar
dgm2 #1
User title: Windows Wikifier
Member since Feb 2007 · 20 posts
Group memberships: Members
Show profile · Link to this post
Subject: Aspell on Windows
I recently upgraded to the 2006-11-06 version, and broke my spellchecking. I'm running PHP 5.2, IE 6, and WinXP. It has always been a struggle to get this working on Windows, but the current hack (suggested by user 'tomasz' on the http://wiki.splitbrain.org/wiki:spell_checker page) is just not acceptable. It works, but it leaves your system wide open to the most basic attacks.

I have added the path to the .exe in the aspell.php, as follows;
// path to your aspell binary
if(!defined('ASPELL_BIN')) define('ASPELL_BIN','C:\Progra~1\Aspell\bin\aspell.exe');

Aspell has not been uninstalled or moved. It only works when installed to that location. But, I just get a messagebox saying "Error: The spellchecker did not respond".

I tried installing it on another machine, but on that machine, if I don't open it up to abuse by any 12 yr old hacker, I get a more elaborate error message;
"An error occurred while trying to run the spell checker: Could not run Aspell 'C:\Progra~1\Aspell\bin\aspell.exe'".

I don't know why I'd get a different error message, but I do. What do I do now?
Avatar
harv #2
Member since Jul 2007 · 11 posts
Group memberships: Members
Show profile · Link to this post
I believe you'll have to follow tomasz's suggestion.  That is the only way I have been able to get it to work. I run PHP 5 on IIS6 and this is the only way I have been able to get it to work.
Avatar
harv #3
Member since Jul 2007 · 11 posts
Group memberships: Members
Show profile · Link to this post
Another thoght is to use the real-time spell checker in Firefox or install the iespell add-on for IE7 (not real-time)

This will eliminate the command => iusr vulnerability, but require your users to have Firefox or the ie add-on.
Avatar
dgm2 #4
User title: Windows Wikifier
Member since Feb 2007 · 20 posts
Group memberships: Members
Show profile · Link to this post
I appreciate the thought, but neither of those is an option in our corporate environment.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-01-18, 12:15:10 (UTC +01:00)