Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Mar 10, 2012 @ 22:14
    suzyb
    0

    Error when new version installed

    I had the previous version installed but hadn't done anything with it yet so I just uninstalled the package and installed the new version.  Now I get this error when I try and create a newsletter.

    Item has already been added. Key in dictionary: 'newsletterstudioplugin'  Key being added: 'newsletterstudioplugin'

    The newsletter is created but accessing it brings up this error

    Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo'

     

    [ArgumentException: Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo']
       System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +12647222
       umbraco.editorControls.tinymce.tinyMCEConfiguration.init() +1093
       umbraco.editorControls.tinymce.tinyMCEConfiguration.get_Plugins() +20
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +1765
    
    [ArgumentException: Incorrect TinyMCE configuration.
    Parameter name: Configuration]
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +5968
       umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +123
       NewsletterStudio.Pages.Newsletter.Page_Init(Object sender, EventArgs e) +1403
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
       System.Web.UI.Page.OnInit(EventArgs e) +105
       umbraco.BasePages.UmbracoEnsuredPage.OnInit(EventArgs e) +93
       System.Web.UI.Control.InitRecursive(Control namingContainer) +133
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970

    Any suggestions how to fix?

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Mar 12, 2012 @ 06:39
    Markus Johansson
    1

    Hi!

    Looks like the configuration file for TinyMCE has multiple instanses of the "newsletterstudioplugin"-element. Have a look inside /config/tinymce.config and see if you can remove one of them.

  • suzyb 474 posts 932 karma points
    Mar 12, 2012 @ 14:54
    suzyb
    0

    I ended up going through the site and removing all mentions of newsletterstudio, then reinstalling it.  Seems to have worked.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Mar 12, 2012 @ 15:38
    Markus Johansson
    0

    Thank you for reporting you solution. The install-action dosen't look to se if there's allready an element in the config-file. I think we'll have to correct that. A clean install into a freash Umbraco V4.7 will work but I've got some complains about this problem when upgrading, sorry about that.

Please Sign in or register to post replies

Write your reply to:

Draft