[pmwiki-users] spell checker

david roundell davidoswaldtwistle at hotmail.com
Sun Jun 15 06:41:24 CDT 2008




hello am trying to install this cookbook http://www.pmwiki.org/wiki/Cookbook/SpellChecker unfortunately the GB dictionary is not being picked up. when i run spell checker on the browser i get a javascript errors. this is caused by invalid html being picked up when it tries to retrieve the temporary file needed to run the spell checker <br /><b>Warning</b>:  shell_exec(): Unable to execute '&quot;C:\Program Files\Aspell\bin\aspell.exe&quot; -a --encoding=utf-8 &lt; C:\Temp\aspAEB.tmp 2&gt;&amp;1' in <b>C:\Inetpub\wwwroot\pub\speller\spellchecker.php</b> on line <b>93</b><br />error = 'System error: Aspell program execution failed (`"C:\Program Files\Aspell\bin\aspell.exe" -a --encoding=utf-8 < C:\Temp\aspAEB.tmp 2>&1`)';(the javascript errors seem erroneous but stem from the spellchecker.php - i think the html that is pulled in when the spell checker runs is causing the javascript errors - syntax error/wordWindowObj is undefined/object required) i hardcoded the path to the aspell.exe and used quotes as suggested in the cookbook. the webserver is running xp and as its at work i am unable to install any other operating system or use any other browser than ie v6.0.2900. i did investigate the 2>&1 in case this was a unix script but google suggests this can be used on a windows o/s. i have also hardcoded the temporary file to point to c:temp any suggestions or advice would be much appreciated. the spell checker would be of great benefit to the users! thanks david
_________________________________________________________________
Great deals on almost anything at eBay.co.uk. Search, bid, find and win on eBay today!
http://clk.atdmt.com/UKM/go/msnnkmgl0010000004ukm/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20080615/e166ebdb/attachment.html 


More information about the pmwiki-users mailing list