HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorError loading FCK setting - Reverse HTML Encode output)Error loading FCK setting - Reverse HTML Encode output)
Previous
 
Next
New Post
1/30/2009 7:17 PM
 

Hi Mauricio,

Because I have made a lot of use of the customisation facilities in your provider, I decided I should run several test and completely replace the entire FCK folder and the settings in the web.config and the dll in the bin with fresh files the standard 02.00.03 package. I ended up testing each step one at a time until it failed.

This is the result:

  • Opening an instance of the editor (text/HTML module) and closing it again, produces no errors.
  • Opening the editor, then opening the customer editor options and closing it again, produces no errors.
  • Opening the customer editor options, making no changes, applying the unchanged settings, and closing it again, produces no errors.
  • Clicking the “Refresh editor” link causes the two errors pasted below
  • From this point on, every time the editor is opened and every time the editor is closed, cause the same two errors.
  • updated post: If I reset/clear the custom settings again, the errors stop.

From what I can see in the new provider, there are two new HTML Encode settings. They are both set to “default” by default. It looks to me as if there are no actual default settings, and therefore, after any customisation is applied, the lack of settings triggers the errors.

In order to test this, I changed both of the new options to “Yes”, then applied the settings, and checked for errors. From this point on there were no longer any errors.

Is there any way that defaults for these two settings could be applied in the web.config htmlprovider section?

These are the relevant errors:

InnerException: Error loading FCK setting (Reverse HTML Encode output)
StackTrace:
Message: System.Exception: Error loading FCK setting (Reverse HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---

InnerException: Error loading FCK setting (HTML Encode output)
StackTrace:
Message: System.Exception: Error loading FCK setting (HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---

Rob

 
New Post
2/3/2009 4:16 PM
 

Shall I put this in Gemini?

 
New Post
2/7/2009 3:42 AM
 

It's now in Gemini

 
New Post
2/20/2009 2:16 AM
 

Do we know if this was fixed in 4.9.2? Wierd thing is i get this when i try and use a custom options first showing unknown toolbar item "Universal Key"

    20/02/2009 02:53:16   General Exception   CMitchell     AssemblyVersion: 04.09.02; PortalID: 0; PortalNa ...
AssemblyVersion: 04.09.02
PortalID: 0
PortalName: My SIte
UserID: 3
UserName: MK
ActiveTabID: 61
ActiveTabName: Forums
RawURL: /MEMBERSZONE/Forums/tabid/61/ctl/PostEdit/forumid/1/postid/1459/action/edit/mid/431/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mydomain.co.uk/MEMBERSZONE/Forums/tabid/61/ctl/PostEdit/forumid/1/postid/1459/action/edit/mid/431/language/en-GB/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 3.5.21022; OfficeLiveConnector.1.3; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 59a7b2f2-87b3-4792-9d91-975283420834
InnerException: Error loading FCK setting (Reverse HTML Encode output)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Boolean.Parse
StackTrace:
Message: System.Exception: Error loading FCK setting (Reverse HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---
Source:
Server Name: DEDI468
  20/02/2009 02:53:16   General Exception   CMitchell     AssemblyVersion: 04.09.02; PortalID: 0; PortalNa ...
AssemblyVersion: 04.09.02
PortalID: 0
PortalName: My Site
UserID: 3
UserName: MK
ActiveTabID: 61
ActiveTabName: Forums
RawURL: /MEMBERSZONE/Forums/tabid/61/ctl/PostEdit/forumid/1/postid/1459/action/edit/mid/431/language/en-GB/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.mydomain.co.uk/MEMBERSZONE/Forums/tabid/61/ctl/PostEdit/forumid/1/postid/1459/action/edit/mid/431/language/en-GB/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; .NET CLR 3.5.21022; OfficeLiveConnector.1.3; OfficeLivePatch.1.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 9c731d2f-9599-491e-8d1f-32ab43a82951
InnerException: Error loading FCK setting (HTML Encode output)
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Boolean.Parse
StackTrace:
Message: System.Exception: Error loading FCK setting (HTML Encode output) ---> System.formatException: String was not recognized as a valid Boolean. at System.Boolean.Parse(String value) at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.LoadFCKCTLSettings(Boolean mAdmin) --- End of inner exception stack trace ---
Source:
Server Name: DEDI468

 
New Post
2/20/2009 3:32 AM
 

Hi i believe i have found the reason why for myself. It looks like the Providers\HtmlEditorProviders\Fck\Custom\fckconfigsecure.js has got the 'Universal Key' entries back in. I believe it's only affect users with custom editor settings.

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/127/threadid/123082/scope/posts/threadpage/2/Default.aspx

Regards

Craig Mitchell

 
Previous
 
Next
HomeHomeDotNetNuke Forg...DotNetNuke Forg...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorError loading FCK setting - Reverse HTML Encode output)Error loading FCK setting - Reverse HTML Encode output)


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Telerik JustCode Free
Exact Target Exec Alert
PowerDNN

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.