Hello,
My upgrade from a 2006 version of Dokuwiki to the 2008 version has broken spellchecking for me. The problem seems to be in the spellcheck\aspell.php file. There is code there to detect the aspell version, but I think it's not properly detecting at least my version of aspell. Here is the aspell.php code:
// Aspell has a bug that can't be autodetected because both versions
// might produce the same output but under different conditions. So
// we check Aspells version number here to divide broken and working
// versions of Aspell.
$tmp = array();
preg_match('/^\@.*Aspell (\d+)\.(\d+).(\d+)/',$out,$tmp);
$this->version = $tmp[1]*100 + $tmp[2]*10 + $tmp[3];
// if ($this->version <= 603) // version 0.60.3
$r = $terse ? "\n*\n\$1" : "\n\$1"; // replacement for broken Aspell
// else
// $r = $terse ? "\n*\n" : "\n"; // replacement for good Aspell
By commenting out those three lines in the if statement, spellcheck functionality was restored.
Now, this copy of aspell identifies itself like this:
C:\Program Files\Aspell\bin>aspell --version
@(#) International Ispell Version 3.1.20 (but really Aspell 0.60.3)
I'm not sure if this is a non-standard version of aspell or not; when I originally installed Dokuwiki I had trouble finding a recent version of aspell for Windows, and ended up using the version available here:
http://www.nosq.com/blog/2005/07/aspell-0603-for-win32. But I'm guessing that the format of its version number is messing something up.
Thanks!