Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Googiespell Mod stopped working
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jamesdavis
Starting Member

USA
26 Posts

Posted - 11 November 2007 :  16:32:11  Show Profile  Visit jamesdavis's Homepage
I have used the googiespell mod on several of my sites for years and have been essentially delighted with its functionality.

However, two weeks ago the feature stopped working on one of my sites. At first I noticed that it would always say that there were no errors even when there were obvious errors in the text. Finally, the spell check button simply disappeared.

It took a lot of time to track down what happened. It appears that the problem resulted from my upgrade from msxml4 to msxml6 on my server.

What I found was that multi-line comments in javascript were no longer being seen as comment lines so the text in those lines would cause exceptions and the scripts would simply fail.

That was easy to fix - simply change the multi-line comments to single line comments. That is, for every line that was included between one that started with '/*' and a line that ended with '*/', just prepend '//' to each line. There are only a few in googiespell.js and ajs.js.

The more difficult problem to pin down was that now there is a builtin 'getcookie()' function which gets control instead of any similarly named function in your own code. Cookiesupport.js defines that function as one which expects to receive a string variable while the built-in function expects to receive an object.

I fixed that by renaming getcookie() to mygetcookie() in that program and changed the single call to it in googiespell.js.

The feature now works again exactly as it used to.

Thought those of you who used this neat little mod would appreciate this feedback.

Edited by - jamesdavis on 11 November 2007 16:32:32

garyrobar
New Member

Canada
90 Posts

Posted - 13 April 2008 :  12:33:54  Show Profile  Visit garyrobar's Homepage
Argh this is frustrating! Mine just stopped working (but I can't pinpoint what is different now from before. Your changes didn't work, but I'm going to investigate my sites native JS based on your fix.

SEO For Snitz Forum
Go to Top of Page

garyrobar
New Member

Canada
90 Posts

Posted - 13 April 2008 :  13:02:09  Show Profile  Visit garyrobar's Homepage
I can't find anything. If anyone has had similar issues, please do let me know!!

SEO For Snitz Forum
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.36 seconds. Powered By: Snitz Forums 2000 Version 3.4.07