Copied to clipboard

Flag this post as spam?

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


  • George 4 posts 25 karma points
    Jun 22, 2013 @ 18:39
    George
    0

    6.X Richtext Editor not working

    Problem

    Richtext Editor in admin panel does not show up in chrome only. Javascript error in chrome console.

    Uncaught SyntaxError: Unexpected token < tinymce3tinymceCompress.aspx:25448
    Uncaught ReferenceError: tinyMCE is not defined editContent.aspx:158

    Background

    Fresh install via Arvixe shared hosting filemanager Unzip

    /config/umbracosettings = Mvc

    No other changes to the core.

    Thoughts?

  • George 4 posts 25 karma points
    Jun 22, 2013 @ 21:18
    George
    0

     

     

     

     

     

    Fixed: 

    http://issues.umbraco.org/issue/U4-2326

    # HG changeset patch

    # User [email protected]

    # Date 1370472499 -43200

    # Branch 4.11.9

    # Node ID 40a70d49eb90460db8dde45812ecf80ec5ecf596

    # Parent  fb8fd83e8e706f8249f423e8acf52f5c12aa9f73

    #U4-2326 Added Try Catch for PlatformNotSupportedException

     

    diff -r fb8fd83e8e70 -r 40a70d49eb90 src/Umbraco.Web/UmbracoModule.cs

    --- a/src/Umbraco.Web/UmbracoModule.csWed May 29 07:44:01 2013 +0200

    +++ b/src/Umbraco.Web/UmbracoModule.csThu Jun 06 10:48:19 2013 +1200

    @@ -429,9 +429,16 @@

        app.PreSendRequestHeaders += (sender, args) =>

            {

                         var httpContext = ((HttpApplication)sender).Context;

    -                    httpContext.Response.Headers.Remove("Server");

    -                    //this doesn't normally work since IIS sets it but we'll keep it here anyways.

    -                    httpContext.Response.Headers.Remove("X-Powered-By");

    +try

    +{

    +httpContext.Response.Headers.Remove("Server");

    +//this doesn't normally work since IIS sets it but we'll keep it here anyways.

    +httpContext.Response.Headers.Remove("X-Powered-By");

    +}

    +catch (PlatformNotSupportedException ex)

    +{

    +// can't remove headers this way on IIS6 or cassini.

    +}

            };

     }

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies