I'm trying to use Autoform Plus (Doc2Form) together with a rich text editor box (using TinyMCE) to obtain content from members who are logged in. Everything seems to work fine, as long as I'm logged into Umbraco. As soon as I log out, the text editor disappears and from the debug output the following error can be found:
Error adding macro Doc2Form - Form Incorrect TinyMCE
configuration. Parameter name: Configuration at
umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String
Configuration) at
umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() at
cln.umb.Doc2Form.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
umbraco.presentation.templateControls.Macro.CreateChildControls()
From this thread it seems that TinyMCE check for Users that are online, and not members. This could explain why no error occures when I'm logged into Umbraco. However, the if-test referred in that thread (line 115 in TinyMCE.cs) should only affect advanced settings, which I do not use.
Otherwise it would seem that the following line might be the problem (line 307 in tinyMCEPreValueConfigurator.cs)
return SqlHelper.ExecuteScalar<string>("select value from cmsDataTypePreValues where datatypenodeid = @datatypenodeid", SqlHelper.CreateParameter("@datatypenodeid", _datatype.DataTypeDefinitionId));
which might return an invalid value to the TinyMCE constructor. (Unfortunately I do not have full access at the moment to debug and retrieve this value).
I'm using Umbraco v4, currently Firefox 3.5.2 (but also tried Explorer v7) and IIS7.
TinyMCE not rendering when logged out
Hi,
I'm trying to use Autoform Plus (Doc2Form) together with a rich text editor box (using TinyMCE) to obtain content from members who are logged in.
Everything seems to work fine, as long as I'm logged into Umbraco. As soon as I log out, the text editor disappears and from the debug output the following error can be found:
Error adding macro Doc2Form - Form
Incorrect TinyMCE configuration.
Parameter name: Configuration
at umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration)
at umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor()
at cln.umb.Doc2Form.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 umbraco.presentation.templateControls.Macro.CreateChildControls()
This problem is actually quite similar to this:
http://forum.umbraco.org/yaf_postst10053_Autoform--RTE-not-render.aspx
I could not continue that thread, as it was was from the old forum (and there was still no solution posted).
I have also found the following thread which might be related
http://our.umbraco.org/forum/using/ui-questions/3220-TinyMCE-Editor-problem---Firefox-and-IE
From this thread it seems that TinyMCE check for Users that are online, and not members. This could explain why no error occures when I'm logged into Umbraco. However, the if-test referred in that thread (line 115 in TinyMCE.cs) should only affect advanced settings, which I do not use.
Otherwise it would seem that the following line might be the problem (line 307 in tinyMCEPreValueConfigurator.cs)
which might return an invalid value to the TinyMCE constructor.
(Unfortunately I do not have full access at the moment to debug and retrieve this value).
I'm using Umbraco v4, currently Firefox 3.5.2 (but also tried Explorer v7) and IIS7.
Cheers,
AK
is working on a reply...