Copied to clipboard

Flag this post as spam?

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


  • Emrah 14 posts 34 karma points
    Jul 26, 2011 @ 17:35
    Emrah
    0

    Bug - No Output

    Hi,

    I've installed syntax highlighter about the output of the macro is being generated after </html> tag although I place the macro inside <head> tag.

    Is there any solution or a workaround for this??

    Thanks.

    Emrah

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jul 26, 2011 @ 18:22
    Ove Andersen
    0

    Yep. See new version uploaded today :-)

  • Emrah 14 posts 34 karma points
    Jul 27, 2011 @ 10:52
    Emrah
    0

    Hi,

    I've installed the new version. But the new version is also buggy.

    I get the error below when I use the macro in a template.

    [NullReferenceException: Object reference not set to an instance of an object.]
       ClientDependency.Core.Controls.ClientDependencyLoader.TryCreate(Control parent, Boolean& isNew) +40
       EyeCatch.Umbraco.SyntaxHighlighter.SyntaxHighlighterUserControl.Page_PreRender(Object sender, EventArgs e) +82
       System.Web.UI.Control.OnPreRender(EventArgs e) +8864486
       System.Web.UI.Control.PreRenderRecursiveInternal() +103
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

    Also installing the new version messes the TinyMCE configuration and the content pages at backend.  It gives

    [ArgumentException: Item has already been added. Key in dictionary: 'undo'  Key being added: 'undo']
       System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +9360699
       System.Collections.Hashtable.Add(Object key, Object value) +11
       umbraco.editorControls.tinymce.tinyMCEConfiguration.init() +1141
       umbraco.editorControls.tinymce.tinyMCEConfiguration.get_Plugins() +14
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +1858

    [ArgumentException: Incorrect TinyMCE configuration.
    Parameter name: Configuration]
       umbraco.editorControls.tinyMCE3.TinyMCE..ctor(IData Data, String Configuration) +5894
       umbraco.editorControls.tinyMCE3.tinyMCE3dataType.get_DataEditor() +100
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +93
       umbraco.controls.ContentControl.CreateChildControls() +610
       System.Web.UI.Control.EnsureChildControls() +102
       umbraco.controls.ContentControl.OnInit(EventArgs e) +32
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +197
       System.Web.UI.ControlCollection.Add(Control child) +79
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1249
       System.Web.UI.Control.InitRecursive(Control namingContainer) +140
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +480

    I had to manually modify TinyMCE config file to revert my backend.

    For now I've completely uninstallaed the package. The package still needs stabilization.

    Thanks.

    Emrah

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jul 27, 2011 @ 12:14
    Ove Andersen
    0

    Did you uninstall the package before installing the new one?

    (I know this is not in the documentation, so not your fault if you didn't do it)

  • Emrah 14 posts 34 karma points
    Jul 27, 2011 @ 13:55
    Emrah
    0

    hi,

    Yes. I had uninstalled version 1.0.0 before I installed 1.0.1

    The uninstall process should remove the related command entries in tinyMceConfig.config  file otherwise all the content pages using the rich text editor raise an error. You can't use the content section of the backend site.

    After uninstalling the package, in my rich text editor data type, i still see the highlighter button. It hasn't been removed yet. That does not raise an error but that button should also be removed.

     

     

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jul 27, 2011 @ 14:06
    Ove Andersen
    0

    The uninstall script is supposed to remove the command.

    This is definately a bug, will fix it as soon as possible.

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jul 27, 2011 @ 14:07
    Ove Andersen
    0

    ** Umbraco hiccupped **

  • Ove Andersen 435 posts 1536 karma points c-trib
    Jul 27, 2011 @ 14:47
    Ove Andersen
    0

    OK. Uninstall script has been fixed in v1.1.1. 

    Would you mind trying it out?

  • Emrah 14 posts 34 karma points
    Jul 28, 2011 @ 09:46
    Emrah
    0

    Ok. I've installed the latest version 1.1.1

    For now it seems to be working fine. But I've not tried uninstalling yet.

    Thanks for your help.

     

Please Sign in or register to post replies

Write your reply to:

Draft