Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML Editor module won't let me editHTML Editor module won't let me edit
Previous
 
Next
New Post
10/8/2014 10:44 AM
 

I have a HTML Editor module on a page that was working fine.  Now all of a sudden I get an error when clicking edit.

Looks to be related to the auto save.  If I turn auto save off I can then edit the module.  As soon as I turn it back on it blows up again.  Is there a corrupt entry somewhere do you think?

ModuleId:1648

ModuleDefId:126

FriendlyName:

ModuleControlSource:DesktopModules/HTML/EditHTML.ascx

AssemblyVersion:7.3.2

PortalID:0

PortalName:DA External

UserID:1

UserName:xxxxx

ActiveTabID:521

ActiveTabName:Content Page

RawURL:/Templates/Content-Page/ctl/Edit/mid/1648

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:http://localhost/Templates/Content-Page

UserAgent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:73135c5b-3f35-4c0c-8cca-d8f1ee0da963

InnerException:Object reference not set to an instance of an object.

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:DotNetNuke.Modules.HtmlPro.AutoSaveController.getAutoSaveModuleId

StackTrace:

Message:

DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.
   at DotNetNuke.Modules.HtmlPro.AutoSaveController.getAutoSaveModuleId(HtmlTextInfo htmlcontent, Int32 requestPortalId)
   at DotNetNuke.Modules.HtmlPro.AutoSaveController.GetAutoSaveContent(HtmlTextInfo htmlcontent, Int32 requestPortalId)
   at DotNetNuke.Modules.HtmlPro.EditHtml.UserHasAutoSavedContent()
   at DotNetNuke.Modules.HtmlPro.EditHtml. (EventArgs e)
   --- End of inner exception stack trace ---
 
New Post
10/9/2014 3:48 AM
 
it sounds like a corrupt entry in the database, AFAIR there is a missing FK constraint in HTML tables.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/9/2014 4:39 AM
 

The module ID 1648 has 2 entries in the HtmlText table.  ItemIDs 1715 and 1919.  1715 is Verison 1, 1919 is Version 2.  Both say StateID of 1 and IsPublished of 1.

In the HtmlTextLog table there are 3 entries for ItemID 1715.  All Approved, the 2nd of the entries has StateID of 14 the rest are 1.  There is a single entry for 1919 with State ID of 1.

So is the State ID of 14 causing an issue or am I looking in the wrong place?

 

 

 
New Post
10/9/2014 5:02 AM
 
please check with workflowstates table, there should only one version being active.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/9/2014 5:33 AM
 







Not sure what you mean only one active?
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...HTML Editor module won't let me editHTML Editor module won't let me edit


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out