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 '"C:\Program
Files\Aspell\bin\aspell.exe" -a --encoding=utf-8 < C:\Temp\aspAEB.tmp
2>&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
_________________________________________________________________
All new Live Search at Live.com
http://clk.atdmt.com/UKM/go/msnnkmgl0010000006ukm/direct/01/
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users