minibb®
Fight the automated spam - protect your miniBB-forums,
getting the Captcha addon! Click here to read more.
Captcha Addon for miniBB
Community Forum
 | Forums | File Bank | Sign Up | Reply | Search | Statistics | Manual |
Official Addons and Solutions miniBB Community Forum / Official Addons and Solutions /

mSpell: The Spell Checker add-on discussions

 Page:  ««  1  2  3  4  5  »» 
marsbar
Associated Member
#46 | Posted: 26 Oct 2006 22:44
Reply 
Thanks for your reply, Sergei - unfortunately, the spell checker (mSpell) does not seem to be very happy with your suggested changes. :-(

Problem: spell check pop-up shows up without any options (i.e. the spell check pop up is blank).
The error as logged by Firefox's error console:
Error: unterminated string literal
Source File: path to...mspell_f/mSpell.php?setlang=eng
Line: 38, Column: 37
Source Code:
document.forms["spForm"].spellText.value=sqFreeText;

Mac users (Camino, Safari, Firefox) are also encountering the same problem.

-mb
Sergei
Team member
#47 | Posted: 28 Oct 2006 23:50 | Edited by: Sergei
Reply 
ohh, in my second post i forgot to mention that
document.forms["spForm"].spellText.value=sqFreeText;
needs \ at the bottom like in my first post :)

so it should be:

document.forms["spForm"].spellText.value=escape(sqFreeText);\
marsbar
Associated Member
#48 | Posted: 29 Oct 2006 22:35
Reply 
Ah sweet success - thank you, Sergei!
-mb
Sergei
Team member
#49 | Posted: 29 Oct 2006 23:55
Reply 
marsbar
so does it work now correctly with Macs? :)
marsbar
Associated Member
#50 | Posted: 30 Oct 2006 21:27
Reply 
Hi Sergei,
No complaints from the Mac camp so far! :-)
-mb
Sergei
Team member
#51 | Posted: 31 Oct 2006 19:42
Reply 
ok, cool ;) just included this fix in the official addon package on our Downloads page.
Sergei
Team member
#52 | Posted: 1 Nov 2006 20:04
Reply 
marsbar
although there're no complaints from your members :) i've found a critical bug in the addon today and updated it once again. Please, update your mspell.php file from the latest package taking it from our Downloads page.
harootun
Forums Member
#53 | Posted: 15 Jan 2007 22:11
Reply 
I'm getting an error that has been discussed here before. Been trying to find the solution. Tried putting in absolute path for file, but no luck. Perhaps I'm doing it wrong. Here's the error message (made generic for posting purposes):

Warning: include(./lang/mspell_eng.php) [function.include]: failed to open stream: No such file or directory in /usr/www/virtual/username/www.mysite.com/forum/mspell_f/mSpell.php on line 25

Warning: include() [function.include]: Failed opening './lang/mspell_eng.php' for inclusion (include_path='.:/usr/local/lib/php') in /usr/www/virtual/username/www.mysite.com/forum/mspell_f/mSpell.php on line 25

Any advice will be greatly appreciated!!!
Paul
CEO
#54 | Posted: 16 Jan 2007 04:42
Reply 
I'm not sure about the addon because I'm not the author... but the error you reported just indicated there's a file mspell_eng.php missing under /lang/ folder... probably you just need to copy it there...?

If this file is on the place, be sure you've specified $pathToFiles setting (setup_options.php) correctly. Most likely in your case it should be

$pathToFiles='/usr/www/virtual/username/www.mysite.com/forum/';
harootun
Forums Member
#55 | Posted: 16 Jan 2007 06:26
Reply 
Appreciate the help. The mspell_eng.php file is definitely in the proper /lang/ folder. Tried changing the $pathToFiles in the setup_options.php before writing. I get a different error when I do that.

<!-- var wParent=opener; var msb=wParent.msMode, confAfterRep=true; var p2=0, ec=0, gL=0, blck=false; var po=new Array(), g=new Array(); var rep=new Object(); function spellCheckDone(){ alert("Spell check complete!"); self.close(); } function S(p,sw){ this.p=p; this.sw=sw; this.w=function (s) { s=new Option(s); this.b[this.c++]=s; } this.b=new Object(); this.c=0; this.replaced=false; }
Fatal error: Call to undefined function pspell_config_create() in /usr/www/virtual/username/www.mysite.com/forum/mspell_f/mSpell.php on line 109

Again, any advice appreciated. Sorry for my ignorance!
Sergei
Team member
#56 | Posted: 16 Jan 2007 20:56
Reply 
hello.. the other message means that the path problem is solved, but there's another problem on your server. You don't have the Pspell PHP module installed. You need to install it in order to use the spell checker.
harootun
Forums Member
#57 | Posted: 21 Jan 2007 18:08 | Edited by: harootun
Reply 
Sorry to be a pest. I realized I had not had my ISP install the Pspell module for PHP (I'm on a virtual host and can't do it myself). I thought installing apsell was all i needed. Sorry about that. Anyway, now aspell and pspell are there. On info.php it says that pspell has been enabled.

Now when i click on "Spell check" the window pops up, but it is completely blank. No error messages. Nothing. And yes, there were misspelled words in what I spell-checked.

Is there any way to test the aspell/pspell installation to make it is indeed working? Any other suggestions? My ISP's server is apache, by the way. And if there's any info i could supply that might offer an answer, please let me know.

Finally, I emailed Sergei about discussing paid support for this, but haven't heard back as of yet.

Thanks in advance!
Sergei
Team member
#58 | Posted: 22 Jan 2007 07:50
Reply 
hello ;-) I've just replied to you via email. I can help you in installing the addon.
MKJ
Forums Member
#59 | Posted: 9 Feb 2008 07:28 | Edited by: MKJ
Reply 
I just installed this program and there is a critical error in the mspell.php file. The paths to the lang directory are wrong on 2 lines - line 24 and 25. They should read '../lang/mspell_' and '../lang/mspell_eng.php'. The mspell file is looking for the mspell_eng.php file in the mspell_f directory instead of the lang directory! Either alter the above file or upload the lang directory (with files to the mspell_f directory) as well as uploading the contents of the lang directory to the minibb lang directory.
harootun
Forums Member
#60 | Posted: 29 Jun 2008 19:43
Reply 
I just switched web hosts (had mspell running on my forum previously). Asked the new guys to install aspell for me, and they said that it runs on Debian Linux, but not Red Hat Linux, which is what my new server is.

Is this true? Sorry to be an idiot about this, but I don't know anything about the subject.
 Page:  ««  1  2  3  4  5  »» 
Your reply
Bold Style  Italic Style  Image Link  URL Link 


» Username  » Password 
You are welcome to post anonymously by entering a nickname with no password (if that nickname has not been taken by another member) or by leaving both fields empty. If you have a forums membership account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, be sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

 
Online now: Guests - 21
Members - 0
Most users ever online: 191 [24 Dec 2007 14:33]
Guests - 191 / Members - 0

Forums are powered by miniBB®