I have updated our website from 8.00.04 to 9.01.01 and the HTML editor is not saving any changes.
The following is a list of things I tried before changing the htmlEditor:
- Updated all modules.
- I have tried changing to the original skin.
- Clearing the DNN cache.
- Restarting the server.
- Profiling the query (doesn't show anything).
- Checking the browser console for errors.
- Tried on a blank page.
- Checking DNN errors log (there are none)
- Checking IIS Errors log (there are none)
- Disable 51Degrees
The default htmlEditor provider was set to "CKHtmlEditorProvider" in the web config which I believe is an old version? So I have changed that to "DNNConnect.CKE"
Now my config looks like this:
<htmlEditor defaultProvider="DNNConnect.CKE">
<providers>
<clear />
<!--<add name="CKHtmlEditorProvider" type="WatchersNET.CKEditor.CKHtmlEditorProvider, WatchersNET.CKEditor" providerPath="~/Providers/HtmlEditorProviders/CKEditor/" />-->
<add name="DNNConnect.CKE" type="DNNConnect.CKEditorProvider.CKHtmlEditorProvider, DNNConnect.CKEditorProvider" providerPath="~/Providers/HtmlEditorProviders/DNNConnect.CKE/" settingsControlPath="~/Providers/HtmlEditorProviders/DNNConnect.CKE/Module/EditorConfigManager.ascx" />
<add name="DotNetNuke.RadEditorProvider" type="DotNetNuke.Providers.RadEditorProvider.EditorProvider, DotNetNuke.RadEditorProvider" providerPath="~/DesktopModules/Admin/RadEditorProvider" settingsControlPath="~/DesktopModules/Admin/RadEditorProvider/ProviderConfig.ascx" />
</providers>
</htmlEditor>
It still does not save the changes. However, now when I change the HTML Editor under Site Settings > Site Behavior> More it crashes and removes the defaultProvider in the web config. I would appreciate any help on getting this fixed. I get the following error in the log:
AbsoluteURL:/Default.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:a13c820b-e2e0-4770-b629-dd1fb0169c5c
AssemblyVersion:9.1.1
PortalId:0
UserId:6601
TabId:88
RawUrl:/Host/HTMLEditorManager?portalid=undefined&portpopUp=true
Referrer:https://testwebsiteurlname.co.nz/Host/HTMLEditorManager?portalid=undefined&portpopUp=true
UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
ExceptionHash:BEPxl40VHqMxWj+ONHMAsxsKSzc=
Message:Object reference not set to an instance of an object.
StackTrace:
InnerMessage:Object reference not set to an instance of an object.
InnerStackTrace:
at DotNetNuke.Modules.HtmlEditorManager.Presenters.ProviderConfigurationPresenter.LoadCurrentEditor(String editorName) at DotNetNuke.Modules.HtmlEditorManager.Presenters.ProviderConfigurationPresenter.View_Initialize(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:
FileName:
FileLineNumber:0
FileColumnNumber:0
Method: