Project

General

Profile

Actions

Bug #14904

closed

Error when usin spell check (Aspell)

Added by Gustaf S¤rner over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-08-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)

Actions #1

Updated by Stanislas Rolland over 19 years ago

When you use the Configuration option of the backend admin tools menu, what value do you have for:

$TYPO3_LOADED_EXT['rtehtmlarea']['siteRelPath'] ?

Actions #2

Updated by Seirer Florian about 19 years ago

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...

Actions #3

Updated by Stanislas Rolland about 19 years ago

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

Actions #4

Updated by Seirer Florian about 19 years ago

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...

Actions #5

Updated by Stanislas Rolland about 19 years ago

Ok, this fix will be included in next version.

Please see the manual: http://typo3.org/documentation/document-library/rtehtmlarea/Introduction-e064fa8d4b/
Aspell 0.60+ is required.

If you are using Mozilla or Firefox, see news://news.netfielders.de:
or
http://spellbound.sourceforge.net/
as an alternative.

Actions

Also available in: Atom PDF