DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

HTML Editor Settings issues in 9.9 and 9.8

 6 Replies
 3 Subscribed to this topic
 30 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here
New Poster
New Poster
Congrats on posting!

Hi All,

We are having issues getting to the HTML Editor settings in DNN Platform 9.9 and 9.8. Sometimes it works, depending on version, sometimes it doesn't. Note that these sites were upgraded from older versions of DNN. Various methods are described below. Thanks for looking!

Methods to Access HTML Editor Settings

General note: HTML Editor Manager can be very slow to load

Method 1: Site Settings

Note: This method fails on all of our 9.9 and some 9.8 sites.   

  1. Select Site Settings from Settings Menu in left menu bar (cog wheel icon)
  2. Select Site Behavior Tab
  3. Select MORE tab
  4. Select Open HTML Editor Manager button
  5. Get 404 error

 

Method 2:  HTML Module Instance

Note: This method fails on some 9.9 sites, Works on 9.8 sites.

 

  1. Locate an instance of the HTML module.  In Edit mode, select Edit Content from the Edit menu (Pencil Icon) of the HTML Module.

  1. Make sure the dropdown menu next to the Version History button is set to Rich Text Editor.
  2. Select Custom Editor Options.

  1. Pop-up window opens with Critical Error
    1. https://redacted.com/Defa...one+matching+element

AbsoluteURL:/Default.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:c7a61eaf-c0b2-482a-9472-cadeba9c15cf

AssemblyVersion:9.9.0

PortalId:0

UserId:27274

TabId:36

RawUrl:/Home/tabid/36/ctl/CKEditorOptions/ModuleId/9152/minc/txtContent/PortalID/0/langCode/en-US/popUp/true/Default.aspx

Referrer:https://redacted.com/Home...id/9152/Default.aspx

UserAgent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36

ExceptionHash:vhncePbs9ehEi9D27lIp/0FYODQ=

Message:Sequence contains more than one matching element

StackTrace:

InnerMessage:Sequence contains more than one matching element

InnerStackTrace:

  at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at DNNConnect.CKEditorProvider.CKEditorOptions.On_gvToolbars_RowDataBound(Object sender, GridViewRowEventArgs e)
   at System.Web.UI.WebControls.GridView.OnRowDataBound(GridViewRowEventArgs e)
   at System.Web.UI.WebControls.GridView.CreateRow(Int32 rowIndex, Int32 dataSourceIndex, DataControlRowType rowType, DataControlRowState rowState, Boolean dataBind, Object dataItem, DataControlField[] fields, TableRowCollection rows, PagedDataSource pagedDataSource)
   at System.Web.UI.WebControls.GridView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)
   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
   at System.Web.UI.WebControls.GridView.PerformDataBinding(IEnumerable data)
   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
   at DNNConnect.CKEditorProvider.CKEditorOptions.BindUserGroupsGridView()
   at DNNConnect.CKEditorProvider.CKEditorOptions.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.OnLoad(EventArgs e)
   at DotNetNuke.Entities.Modules.PortalModuleBase.OnLoad(EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.d__246.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Web.Util.WithinCancellableCallbackTaskAwaitable.WithinCancellableCallbackTaskAwaiter.GetResult()
   at System.Web.UI.Page.d__523.MoveNext()

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: REDACTED.

 

 

Method 3:  Find Page in Host Menu that contains the Html Editor Management Module

Note: This method fails on some 9.9 sites, Works on 9.8 sites.

  1. Select Extensions from Settings Menu in left menu bar (cog wheel icon)
  2. Find HTML Editor Management module in extensions list and select the Yes link. 
  3. Select Host from the “Showing Pages from Site:” dropdown menu.

  1. Select link to HTML Editor Manager Page

https://redacted.com/Default.aspx?tabid=2316 fails to load – ERR_TOO_MANY_REDIRECTS

Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
Is the site behind a load balancer, reverse proxy, cloudflare, other waf, etc. Anything that might have ssl termination elsewhere or where the public url would somehow not be the website URL as DNN would know it ?
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Personally, I have always noticed that this view loads slower than any other in DNN. But, I rarely find myself needing to use it. It's mostly been 'out of sight, out of mind'. 🫣
New Around Here
Posts: 3
New Around Here
New Poster
New Poster
Congrats on posting!
Posted By Daniel Valadas on 8/2/2024 12:03 PM
Is the site behind a load balancer, reverse proxy, cloudflare, other waf, etc. Anything that might have ssl termination elsewhere or where the public url would somehow not be the website URL as DNN would know it ?

Sorry for the egregiously long delay in response. Yes, it is behind an appliance, and it does... stuff with SSL. The primary alias info for portal 0 is as expected, meaning that the URL the public puts in is what is in the primary alias info. Not sure any of this is helpful.

 

 

New Around Here
Posts: 2
New Around Here
Hi, I am having what looks like the same issue on v9.13.07. Plus if a user is not an administrator (perhaps has edit page permissions) the editor is missing half its buttons at the top and the content does not render correctly. Again it has been upgraded over time since initial installation in 2011. It also sits behind an nginx reverse proxy that handles the SSL, however I get the same symptoms if I access the site locally without SSL on the LAN. Any ideas on where to look?
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

I would check the network tab in your browser tools (F12) to see what urls get blocked

New Around Here
Posts: 2
New Around Here
Good point. To cut a long story short and after consulting a number of other blog posts based on what I then found, I resolved the 404 error on the HTML Editor Manager by changing the "urlFormat" in the web config file from "humanfriendly" to "advanced". This didn't solve the editor not rendering correctly and not showing all the buttons. I resolved this by using the HTML Editor Manager screen to switch on Full Toolbars within the CKEditor Settings. This both showed all the buttons (not surprisingly, I hadn't realised this was a setting!) but also fixed the rendering of the content within the editor window. All fixed, thank you for the pointer!

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved