ASpell Error Message

ASpell Error Message

by Edward Roche -
Number of replies: 1
Good Morning Everyone

Not sure if this is the right forum but the issue is happening in the HTML editor so I will take a shot.

We use the Aspell plugin for our spell checking on our site. Up until a couple days ago it was working great now once we hit the spell check button the pop-up opens and says "spell check in progress" then displays the error "error = 'Couldn\'t create handle!';". We didn't change anything so not sure what teh issue could be. Everything else is working great.

We are running Moodle 1.8.2+ on a Windows 2003 R2 server with IIS, MySQL 5, GNU ASpell 0.50-3.

Any ideas or thoughts would be great.

Thanks
Ed
Average of ratings: -
In reply to Edward Roche

Re: ASpell Error Message

by Erik Nielsen -

Sounds like your permissions to cmd.exe got reset somehow.

That error happens when the spell check engine cannot run Aspell with shell_exec.

To get shell_exec to work in PHP you need to reset the permissions on cmd.exe (which does introduce a security risk).

This thread explains the procedure.