Izimpendulo zakamuva ze-Fckeditor stopped working after upgrade to Firefox 17.0https://support.mozilla.org/zu/questions/9424382012-12-03T17:37:45-08:00This problem is solved with Firefox 17.0.1... This browser is great thanks to things like this: spee2012-12-03T17:37:45-08:00Mithrandhttps://support.mozilla.org/zu/questions/942438?page=2#answer-386145<p>This problem is solved with Firefox 17.0.1... This browser is great thanks to things like this: speed and proximity with users. Greetings!
</p>The fix is that they have decide to back out the bug fixes via Bug 815743 that initially caused this2012-12-01T14:27:54-08:00cor-elhttps://support.mozilla.org/zu/questions/942438?page=2#answer-385547<p>The fix is that they have decide to back out the bug fixes via Bug 815743 that initially caused this issue by modifying the user agent and that changed the Gecko/&lt;date&gt; (Gecko/20100101) part to Gecko/&lt;Firefox version&gt; (Gecko/17.0) (Bug 588909).<br>
There were already a lot of prefs defined in Firefox 17.0 that allowed to override the user agent for specific known websites and that now no longer are required.
</p>Yes thanks firefox for sorting it... it seems fine now but please do more testing for future updates2012-11-30T23:21:22-08:00mrcityrunnerhttps://support.mozilla.org/zu/questions/942438?page=2#answer-385360<p>Yes thanks firefox for sorting it... it seems fine now but please do more testing for future updates... this was a serious situation that could be snowballed. Webmasters worldwide can breath a sigh of relief.
</p>Thank you Firefox development team for fixing the problem and publishing the fix via the latest 17.02012-11-30T10:54:17-08:00veriatechhttps://support.mozilla.org/zu/questions/942438?page=2#answer-385249<p>Thank you Firefox development team for fixing the problem and publishing the fix via the latest 17.0.1 update! All is once again well (at least where this issue was concerned) in my world!
</p>The latest Firefox update has fixed the problem. Thank you.
2012-11-30T07:33:59-08:00LyndenMhttps://support.mozilla.org/zu/questions/942438?page=2#answer-385170<p>The latest Firefox update has fixed the problem. Thank you.
</p>Found it !
Firefox 17 is acting like gecko 10
Edit file "fckeditorcode_gecko.js"
Search for2012-11-29T23:29:39-08:00andrebrasshttps://support.mozilla.org/zu/questions/942438?page=2#answer-385067<p>Found it&nbsp;!
Firefox 17 is acting like gecko 10
</p>
<ol><li> Edit file "fckeditorcode_gecko.js"
</li><li> Search for a line "A.IsGecko10=B&lt;20051111"
</li><li> Replace it by "A.IsGecko10=false
</li></ol>
<p>Enjoy it&nbsp;!
</p>I am still having an issue after applying the suggested fixes, matching the version or just returnin2012-11-28T19:19:30-08:00twentyonehundredhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384778<p>I am still having an issue after applying the suggested fixes, matching the version or just returning true.
</p><p>I get a TypeError either way saying that the FCKeditor API is undefined, resulting in a broken blank area where my input field used to be.
</p><p>It remains functional in Chrome and other browsers.
</p>And really, for me, this update / breakage wasn't so much about the fckeditor issue (I realize that'2012-11-28T01:39:31-08:00veriatechhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384604<p>And really, for me, this update / breakage wasn't so much about the fckeditor issue (I realize that's what the thread subject was titled) but more about the fact that my customers external facing website presences are perceived broken by site visitors using the updated Firefox 17 browser. Being a techie, a webmaster... I expect there are going to be problems on the backend. It is the front end I am most concerned about. This is the first time in all my years on the web (since 1997) a website went down as a result of a browser update.
</p>That code will break in 10 years. Say 1000 instead of 100.
Gerv
2012-11-28T01:26:22-08:00gervhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384602<p>That code will break in 10 years. Say 1000 instead of 100.
</p><p>Gerv
</p>For the PURE JS versions you also need to:
Open fckeditorcode_gecko.js look near line 121 - you will2012-11-28T01:18:09-08:00tarekadamhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384601<p>For the PURE JS versions you also need to:
Open fckeditorcode_gecko.js look near line 121 - you will see something about "function(A)" - now you're in the right area.
</p><p>look at/near line 125
A.IsGecko10 = B &lt; 20051111;
</p><p>problem: B == 17 (not a date anymore)
</p><p>change it to something like this:
if(B &lt; 100){
</p><pre> A.IsGecko10 = false;
</pre>
<p>}else{
</p><pre> A.IsGecko10 = B &lt; 20051111;
</pre>
<p>}
</p><p>By using B &lt; 100 I'm basically differentiating between date or non-date
</p>I too am using fckEditor.Net and was able to fix this problem by adding the following in the "OnPreR2012-11-28T00:44:36-08:00rcbrownhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384598<p>I too am using <a href="http://fckEditor.Net" rel="nofollow">fckEditor.Net</a> and was able to fix this problem by adding the following in the "OnPreRender" code of FCKEditor.vb (which inherits from FredCK.FCKeditorV2.FCKeditor)
</p><p>m_IsCompatible = Me.CheckBrowserCompatibility()
If Page.Request.Browser.Type.Contains("Firefox") Then
</p><pre> m_IsCompatible = True
</pre>
<p>End If
</p><p>Hope this helps someone
</p>In an unwise but common programming pattern, web developers scan the "User Agent" string which ident2012-11-27T23:39:46-08:00gervhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384583<p>In an unwise but common programming pattern, web developers scan the "User Agent" string which identifies the browser to try and determine its capabilities. In Firefox 17, we made a change to that string to eliminate a part of it which had been static and vestigial for nearly 3 years, and replace it with a more useful version number. Unfortunately, there appears to be more old code than we thought which takes action based on the original value.
</p><p>This is not the case for IE and Chrome because a) those browsers have different user agents which are detected in different ways, and b) presumably they have not recently made a change. Although the User Agent does change when a new version is released of e.g. IE, or for IE Metro with Touch, or for other similar reasons. This is why User Agent sniffing is a bad idea.
</p><p>To fix your customer's websites, you can either wait for Firefox 17.0.1 or you can find the code which checks the "gecko date" in the User Agent string and work out what it's doing with that information and how to get it to do the right thing instead of the wrong thing with the new value.
</p><p>Old (Firefox 16 and 17.0.1):
Gecko/20100101
</p><p>"New" (Firefox 17.0.0):
Gecko/17.0
</p><p>"If you release an update that breaks websites, you are going to lose market share, plain and simple."
</p><p>The web is big enough and diverse enough that pretty much any change will break _something_. The web is a living and growing thing; that means that both browsers and sites need to be actively maintained to account for changes in the other. Having said that, this breakage was unexpected and larger than anticipated, which is why we are reverting the change.
</p>My questions are, why is this not an issue in any other browser software, such as Internet Explorer 2012-11-27T23:01:35-08:00veriatechhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384578<p>My questions are, why is this not an issue in any other browser software, such as Internet Explorer and Chrome? And where can I specifically find more information about the "updated user agent" and how to provide a custom fix to my customer's websites? To the Firefox development team: This is NOT best practice. If you release an update that breaks websites, you are going to lose market share, plain and simple. That's the bottom line here. Webmasters are getting phone calls by customers. Phone calls take their time. Time is money. Understand? We obviously won't bill our customers for the time it will take us to "fix" this debacle, which you released. From my chair, Firefox now has a black eye, which is too bad. I had grown very fond of Firefox up until now.
</p>The change which caused this problem is being reverted in Firefox 17.0.1.
However, any site which wa2012-11-27T19:11:16-08:00gervhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384555<p>The change which caused this problem is being reverted in Firefox 17.0.1.
</p><p>However, any site which was broken by this change is also broken in Firefox for Android and Firefox OS, which have had the updated user agent for quite some time. Therefore, you are encouraged to fix them anyway.
</p><p>Gerv
</p>Veriatech - I echo your sentiments. Firefox 17 also broke my fckeditor and menu in my clients websit2012-11-27T00:44:27-08:00mrcityrunnerhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384357<p>Veriatech - I echo your sentiments. Firefox 17 also broke my fckeditor and menu in my clients websites. Unless Firefox does something about these issues urgently, I feel a lot of web masters will abandon Firefox and quite rightly it was a nice ride while it lasted.
</p>This is going to be a MAJOR problem for a lot of webmasters who run DotNetNuke as a CMS as many vers2012-11-27T00:33:24-08:00veriatechhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384352<p>This is going to be a MAJOR problem for a lot of webmasters who run DotNetNuke as a CMS as many versions of DNN have shipped with FCKeditor.
</p><p>In addition, after upgrading to Firefox 17, I am having an issue where a website navigational menu module is now no longer functioning on one of my customers websites - See <a href="http://www.rmtb.org" rel="nofollow">www.rmtb.org</a> for an example of the broken menu on my customer's live production website.
</p><p>Now what to do? Why the update with all the problems? This is going to cause a huge mess for a lot of people. The quick fix for me will be to abandon Firefox altogether and recommend as such to everyone I know and support as well, unfortunately. It was a nice ride while it lasted.
</p>Also, anyone running Microsoft IIS and using the ASP.net embedding of FCKeditor versions 2.5.1 or 2.2012-11-26T20:00:33-08:00gervhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384314<p>Also, anyone running Microsoft IIS and using the <a href="http://ASP.net" rel="nofollow">ASP.net</a> embedding of FCKeditor versions 2.5.1 or 2.6.3 or earlier has a remote file execution security vulnerability. You need to upgrade. See:
<a href="http://www.securityfocus.com/archive/1/513422/30/0/threaded" rel="nofollow">http://www.securityfocus.com/archive/1/513422/30/0/threaded</a>
</p><p>Gerv
</p>The reason for this problem is the way Firefox tells it's version number.
String "17.0 fir" is not2012-11-26T17:35:47-08:00tiensuuhttps://support.mozilla.org/zu/questions/942438?page=2#answer-384305<p>The reason for this problem is the way Firefox tells it's version number.
String "17.0 fir" is not able to parse to double and thus any comparing to version number can't be done.
</p>DO NOT implement fixes which will break again if we decide to switch this back (which is not entirel2012-11-25T21:57:39-08:00gervhttps://support.mozilla.org/zu/questions/942438#answer-384041<p>DO NOT implement fixes which will break again if we decide to switch this back (which is not entirely out of the question).
</p><p>ywarnier's solution will break in about 10 years time, when the Firefox version number gets over 100.
</p><p>Best thing is to eliminate UA sniffing and do feature detection. But, if you must know the version of Gecko, look at the numbers following the "rv:" token.
</p><p>Gerv
</p>I resolved for fckeditor in asp.net application using fckeditor.net control: from fckeditor.net sour2012-11-25T18:14:46-08:00Krumokhttps://support.mozilla.org/zu/questions/942438#answer-384008<p>I resolved for fckeditor in <a href="http://asp.net" rel="nofollow">asp.net</a> application using <a href="http://fckeditor.net" rel="nofollow">fckeditor.net</a> control: from <a href="http://fckeditor.net" rel="nofollow">fckeditor.net</a> source i modify FCKeditor.cs file like that:
</p><p> if ( sUserAgent.IndexOf( "Gecko/" ) &gt;= 0 )
{
Match oMatch = Regex.Match( request.UserAgent, @"(?&lt;=Gecko/)\d{8}" );
if ( sUserAgent.IndexOf( "Gecko/17" ) &gt;= 0 )
{
return true;
}
else {
return ( oMatch.Success &amp;&amp; int.Parse( oMatch.Value, CultureInfo.InvariantCulture ) &gt;= 20030210 );
}
}
</p><p>rebuild and updating the .dll in my project everything works, now i refine the gecko/17 control with some regexp but this approch works, for application using <a href="http://fckeditor.net" rel="nofollow">fckeditor.net</a> dll you have to modify the source and rebuild i found the source here: <a href="http://sourceforge.net/projects/fckeditor/files/FCKeditor.Net/" rel="nofollow">http://sourceforge.net/projects/fckeditor/files/FCKeditor.Net/</a>
</p>