DNN Forums

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

9.11.0 > HTML Module > Image-/Link-Browser error

 5 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 15
New Around Here

Since the update to DNN 9.11.0, access to images and links with "Browse Server" in the HTML module is no longer possible in 2 of 4 portal websites of the same DNN installation.

Instead of the Image-/Link-Browser, the active Page is shown in the popup with the error message:
"A self closing tag cannot have child controls and/or content"

The skins of the 4 portals are almost identical and the editor options also.

PopUp URLs working correct:
https://www.website1.com/...ser/Browser.aspx?...

PopUp URLs with error:
https://www.website2.com/...ols+and%2for+content

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

I don't think I see this issue reported by anyone else yet:  

https://github.com/dnnsof...3Aopen+browse+server

Do you see any related errors in the web developer tools in the web browser, or any related exceptions in the Admin Logs or Log4Net files?  

Video: Using the Admin Log and Log4Net Files

New Around Here
Posts: 15
New Around Here

salemkh has the same problem postet in Github:
https://github.com/dnnsof...Platform/issues/5325

 

This error appears in 9 out of 20 websites:
6 in multiportals, 3 in single portals

The developer tools show no errors,
the admin log and Log4Net show the same error:




Page Load Exception


AbsoluteURL /Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.
AbsoluteURL:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:cc8d1158-f54e-4389-b03e-34b4fbf3f3bf

AssemblyVersion:9.11.0

PortalId:0

UserId:1

TabId:59

RawUrl:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx?Type=Image&tabid=59&PortalID=0&mid=441&ckid=txtContent&mode=Portal&lang=de-DE&CKEditor=dnn_ctr441_EditHTML_txtContent_txtContent&CKEditorFuncNum=3&langCode=d

Referrer:https://www.website2.com/...t/mid/441?popUp=true

UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36 Edg/106.0.1370.42

ExceptionHash:9MN9V6uVJyxxefHV/WsCrjndV8c=

Message:A self closing tag cannot have child controls and/or content

StackTrace:

InnerMessage:A self closing tag cannot have child controls and/or content

InnerStackTrace:

bei DNNConnect.CKEditorProvider.Controls.HtmlGenericSelfClosing.get_Controls()
bei ClientDependency.Core.ControlExtensions.FlattenChildren(Control control)
bei System.Linq.Enumerable.d__17`2.MoveNext()
bei System.Linq.Enumerable.d__59`1.MoveNext()
bei System.Linq.Enumerable.d__17`2.MoveNext()
bei System.Linq.Enumerable.d__59`1.MoveNext()
bei System.Linq.Enumerable.d__17`2.MoveNext()
bei System.Linq.Enumerable.d__59`1.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control)
bei ClientDependency.Core.Controls.ClientDependencyLoader.RegisterClientDependencies(WebFormsFileRegistrationProvider provider, Control control, IEnumerable`1 paths)
bei ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
bei DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
bei System.Web.UI.Control.PreRenderRecursiveInternal()
bei System.Web.UI.Control.PreRenderRecursiveInternal()
bei System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: XXX

New Around Here
Posts: 15
New Around Here
Problem solved, thanks to Will and skarpik

The favicon file *.ICO must not be in the portal root folder:

I removed it from:

...\mysite\Portals\0\

to:

...\mysite\Portals\0\images\
New Around Here
Posts: 1
New Around Here

We were disussing the same issue on Github, thanks you saved our day

I am happy the DNN Community is getting active again


https://github.com/dnnsof...Platform/issues/5325

New Around Here
Posts: 2
New Around Here

Thank you! This would have taken me quite some time figuring out, I think

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