What is the easiest way to hook up Speller Pages installed separately?
We have a couple of sites and whould like to share a single Speller Pages installation. I tried to replace php file with spllchecker.php provided, and then point to it from spellChecker.js, but it did not work.
Any ideas? Thanks!
We have a couple of sites and whould like to share a single Speller Pages installation. I tried to replace php file with spllchecker.php provided, and then point to it from spellChecker.js, but it did not work.
Any ideas? Thanks!
RE: External Speller Pages installation
RE: External Speller Pages installation
What you DO want to do is leave the file in it's defualt dir (editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellerpages.php) and set $aspell_prog to point at your aspell executable. be sure that ..\spellChecker.js is set to use the php version (default) That's it. You are done!
Happy Spleelling!
Speller installation - working class?
RE: Speller installation - working class?
sorry no definitave answer... I bet that if you wanted to use aspell within the java you would need to write a wrapper... I don't have one obviously...
RE: Speller installation - working class?
RE: Speller installation - working class?
Well, aspell works on linux. Thus, spellerpages will work on linux, if you have aspell installed. And PHP&Apache or some such, of course.
It took me 2 minutes to get spellerpages as the spellchecker for FCKEditor, and I didn't get any weird JS errors or anything. I was impressed (I'd had fingers crossed, after reading messages of late, neh?).
I like not having to rely on strictly windows binary files too =] Crossplatform, essay'd!
I'm not sure if that's what you meant, but I HIH!
RE: Speller installation - working class?
what were the steps you took ? if you dont mind me asking...
RE: Speller installation - working class?
I followed the directions for SpellerPages here:
http://fckeditor.wikiwikiweb.de/Develop ... ll_Checker
or
http://tinyurl.com/bkzkl
Changed the path to the aspell executable, and VIOLA! Worked like a charm!
What is happening with your's?
RE: Speller installation - working class?
I keep getting a CGI Error
IE says:
"The specified CGI application misbehaved by not returning a complete set of HTTP headers."
Mozzila:
its telling me (when i use Javascript: in the URL)
"unterminated string literal" line 11 and
"wordWindowObj is not defined" line 46
and
init_spell is not defined
in file:
/editor/dialog/fck_spellerpages/sever-scripts/spell-checker.php
and it gives me this line as the error:
ers%3A%20Area%20-%2021.09C('\\virtual Path to data on network storage\admin\editor\dialog\fck_spellerpages\sever-scripts\spell-checker.php
is the data in the text field causing it to puke ?
Please help!!
Thakns much
RE: Speller installation - working class?
I don't think it's the data in the text field. You are probably missing a closing ' or " in the spellchecker.php. Check line 11 (should be pretty close to where you specified the executable's location).

Getting closer...
RE: Speller installation - working class?
$textinputs = $_POST['textinputs']; # array
//$aspell_prog = 'aspell'; // by FredCK (for Linux)
$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
$lang = 'en_US';
It SEEMS to be dieing where there is a Parens in the body of the value of $textinputs. (value of the textarea) example.. if i have a word in parentheses. I will try to take some screen shots tomorrow and post them . (or links to them)..
Thanks again for your help xenden!
RE: Speller installation - working class?
Installed the SAME files the SAME way...
and copied the entire editor directory over mine here... and same thing.. so im sure that.. like you orginally said.. has nothing to do with the content in that box.
so..
the ONLY configuration difference is the fact that the web page files sit on the network with a UNC path instead of a local copy...
any ideas?
This error that i pointed out cantains this unc path:
ers%3A%20Area%20-%2021.09C('\\virtual Path to data on network storage\admin\editor\dialog\fck_spellerpages\sever-scripts\spell-checker.php
RE: Speller installation - working class?
this.spellCheckScript = 'server-scripts/spellchecker.php';
You could try a static (err, non-relative) path there. Um, after looking a little at past posts, I see you have:
$aspell_prog = '"C:\Program Files\Aspell\bin\aspell.exe"'; // by FredCK (for Windows)
For the path. Which should be:
$aspell_prog = '"C:\\Program Files\\Aspell\bin\\aspell.exe"'; // by FredCK (for Windows)
(escaped '\'s)
I'm thinking it's something along the lines of a missing quote or apostrophy or non-escaped slashes, because I feel like the solution is staring me in the face, but I canna figure it out. Perhaps try a fresh install again...
spellerpages works when tried alone? That would be a good thing to check. As well as maybe downloading venkman (or getting the extention for fire-fox;) which is a javascript debugger that may give more info than the javascript: method....
Keep me "posted" Heh.
and
May the Force be With You!
RE: External Speller Pages installation
howdy...
Ok.. i have it installed for the most part....
but im having issues with the dictionary.. do you have an english dictionary that i can dowlaod(zipped) ? or some insite in compling... im really having troupble..
Please see:
http://www.brotherstrust.com/forums/vie ... =2196#2196
for a pic of the error...
THanks so much for your continued help...
Terry
RE: External Speller Pages installation
you shouldn't have to compile anything. The binaries(or RPM's maybe? haven't looked at the linux install in a while) should be fine. Or just use your linux distro's version of it, if it has it!
RE: External Speller Pages installation
yea..l ok.. i was on another plain altogether when i was trying to do that ! its all installed using the instructions you gave me.. and all is ok .. well please see this post for other info:
https://sourceforge.net/forum/message.p ... id=3317599
Thanks so much for your devoted help!