Bug #14904
closed
Error when usin spell check (Aspell)
Added by Gustaf S¤rner over 19 years ago.
Updated over 18 years ago.
Category:
RTE (rtehtmlarea + ckeditor)
Description
I installed Aspell to use for spellchecking with rtehtml. Everything is installed as it should be assording to documentation on a windows server. When pressing the spellchecker, the popup window opens with this error message:
"Filereference, "c:/inetpub/wwwroot/l/c:/inetpub/wwwroot/l/typo3conf/ext/rtehtmlarea/pi1/locallang.php", not found!"
There is clearly a bug in that line! The path is dubbled somewhere. I have looked in the rtehtml code but couldn't find the error. Does anyone have an idea where that path is set?
(issue imported from #M1349)
When you use the Configuration option of the backend admin tools menu, what value do you have for:
$TYPO3_LOADED_EXT['rtehtmlarea']['siteRelPath'] ?
I'm experiencing the same issue which prevented me from using the spellchecker feature.
Here are the values from $TYPO3_LOADED_EXT['rtehtmlarea']:
[siteRelPath]=typo3conf/ext/rtehtmlarea/
[typo3RelPath]=../typo3conf/ext/rtehtmlarea/
[ext_localconf.php]=D:/htdocs/typo3conf/ext/rtehtmlarea/ext_localconf.php
[ext_tables.php]=D:/htdocs/typo3conf/ext/rtehtmlarea/ext_tables.php
[ext_tables.sql]=D:/htdocs/typo3conf/ext/rtehtmlarea/ext_tables.sql
typo3 (v3.8) runs on a Windows machine with PHP v4.4.0 and MySQL v4.1.15...
Please try to add the following statement:
define('TYPO3_OS', (stristr(PHP_OS,'win') && !stristr(PHP_OS,'darwin')) ? 'WIN' : '');
immediately after statement:
error_reporting (E_ALL ^ E_NOTICE);
at the beginning of script: ext/rtehtmlarea/htmlarea/plugins/SpellChecker/spell-check-logic.php
The error message dissapears after inserting your code so this might be OK for some users.
But now it says "Configuration problem: Aspell version too old. Spell checking cannot be performed in command mode".
I'm using version 0.50.3.3, haven't found a more recent version yet...
Also available in: Atom
PDF