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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorIssue with FCKEditor 01.00.07Issue with FCKEditor 01.00.07
Previous
 
Next
New Post
11/29/2006 6:56 AM
 

We have found a bug in the new release of the FCKEditor 01.00.07.  The issue occurs only when the editor is added to an ASPX page which does not contain a module instance.

The error returned is something along following:

DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.HtmlEditor.FckHtmlEditorProvider.Fckeditor.Fckeditor_Init(Object sender, EventArgs e) in C:\Inetpub\wwwroot\DotNetNuke\Providers\HtmlEditorProviders\FckhtmlEditorProvider\Components\FckEditorControl.vb:line 536 at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.UserControls.TextEditor.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

This is caused by the FindModuleInstance method which returns null when there is no module instance exists.  For those interested, the issue can be addressed by changing line 536 of ..\Components\FckEditorControl.vb from

If MyparentModule.ModuleId = -1 Then

To

If MyparentModule Is Nothing OrElse MyparentModule.ModuleId = -1 Then

 

 

Enterprise Forms for DotNetNuke

Version Control, Forms and Workflow Suite

 
New Post
11/29/2006 6:58 PM
 
Thank you for that information. The change has been entered for the next version.

-Dan
 
New Post
1/9/2007 3:38 AM
 

Hi,

I've modified line 536 of FckEditorControl.vb, but I still get an error in the pop-up when I try to add an HTML item to my form template. The editor works fine anywhere else on the portal.

See below for the exact error:

-----

An error has occurred.
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.HtmlEditor.FckHtmlEditorProvider.Fckeditor.Fckeditor_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.UserControls.TextEditor.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---

 
New Post
1/9/2007 8:39 AM
 

This issue has been solved.
The solution provided by Ethuongmai does work. Sorry for the misunderstanding!

Thanks,
Stijn

 
New Post
4/13/2007 7:49 AM
 

Hi Dotnetnuke guys.

I installed FCKEDITOR to the appropiate directories however I get the following error message:

critical error has occurred.
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Can any one help me out. It seems to be a minor mistake though.. well I HOPE !

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorIssue with FCKEditor 01.00.07Issue with FCKEditor 01.00.07


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