Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:28
    Simon
    0

    NuPickers Data Types stopped working - Umbraco version 7.2.1

    Hi Guys,

    I have a live website using nuPickers 1.5.0

    Now, today when I was inputting some content, (not relationships) I have noticed that every nuPikcers data type is not working. When I go to see all nuPickers data types, properies are not being shown and also, when I go to node to do a relationship, I see nothing.

    I don't know exactly what happend. Relationships between content are still working.

    Can anyone guide me please?

    Thank you.

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:38
    Simon
    0

    Just a note,

    Recently, I have changed my website from HTTP:// to HTTPS://

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 09:46
    Dave Woestenborghs
    0

    What is the source of your nuPicker ?

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:47
    Simon
    0

    Hi Dave,

    What do you mean by Source?

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 09:48
    Dave Woestenborghs
    0

    The source of your nuPicker datatypes e.g. Examine, XMl, etc...

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:49
    Simon
    0

    This is an example what I am seeing now.

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:50
    Simon
    0

    Examine. Generally using TypedHead Lsit Picker

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 09:50
    Dave Woestenborghs
    0

    Hmm...strange

    Do you see errors in your console ?

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:50
    Simon
    0

    enter image description here

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:52
    Simon
    0

    Yes, These Errors. Related to HTTPS

    enter image description here

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 09:56
    Dave Woestenborghs
    0

    Do you have perhaps a rewrite url in place that appends a trailing slash ?

    I see that the request to the views of nupickers end with a trailing slash.

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 09:59
    Simon
    0

    Particulary, I have these:

       <add name="MobileRedirection"
     redirectMode="Permanent"
     ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
     virtualUrl="^~/mobile/$"
     destinationUrl="~/"
     redirect="Application"/>
    
    
       <add name="Mobile2Redirection"
     redirectMode="Permanent"
     ignoreCase="true" rewriteUrlParameter="IncludeQueryStringForRewrite"
     virtualUrl="^~/m/$"
     destinationUrl="~/"
     redirect="Application"/>
    

    But it is much more related to the HTTPS I think

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:01
    Dave Woestenborghs
    0

    Maybe you have some rewrites on IIS set. These can be found in the web.config

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:05
    Dave Woestenborghs
    0

    Hi Simon,

    I just checked on of our sites under https. And no issues with nupickers there. So i think it has to do how you configured the https

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:05
    Simon
    0

    I have this:

     <rewrite>
          <rules>
            <!-- SEO: Canonical host name - consistent use of www. -->
            <!-- better to use the www version -->
            <rule name="Canonical host name" stopProcessing="true">
              <match url=".*" />
              <conditions>
                <add input="{HTTP_HOST}" pattern="^(?!www\.)(.*)" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="http://www.{C:0}/{R:0}" />
            </rule>
            <!-- SEO: Canonical home page - redirect from home page /nodename to home page with no path -->
            <!-- assumes root node is called "Home" -->
            <rule name="Canonical home page" stopProcessing="true">
              <match url="^(home|home\.aspx)$" />
              <action type="Redirect" redirectType="Permanent" url="/" />
            </rule>
            <!-- SEO: Canonical home page - redirect from home page /nodename to home page with no path -->
            <!-- assumes root node is called "Home" -->
            <rule name="Changing of any default.aspx to /" stopProcessing="true">
              <match url="(.*)default\.aspx$" />
              <action type="Redirect" redirectType="Permanent" url="{R:1}" />
            </rule>
            <!-- SEO: Using Directory URLs, so force trim all .aspx -->
            <!-- exclude umbraco folder -->
            <rule name="Trim aspx for directory URLs" stopProcessing="true">
              <match url="(.*)\.aspx$" />
              <conditions>
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/install/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/config/splashes/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/([0-9]+).aspx" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/login.aspx" negate="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{R:1}" />
            </rule>
            <!-- SEO: Add trailing slash to URLs -->
            <!-- better for SEO to *have* the trailing slash? -->
            <rule name="Add trailing slash" stopProcessing="true">
              <match url="(.*[^/])$" ignoreCase="true" />
              <conditions>
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/bundles/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/([0-9]+).aspx" negate="true" />
                <add input="{URL}" pattern="^.*\.(asp|aspx|axd|asmx|css|js|jpg|jpeg|png|gif|mp3|php)$" negate="true" ignoreCase="true" />
                <add input="{URL}" pattern="/Base" negate="true" />
                <add input="{URL}" pattern="cdv=1" negate="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{R:1}/" />
            </rule>
            <!-- SEO: Remove trailing slash -->
            <!--
            <rule name="Add trailing slash" stopProcessing="true">
              <match url="(.*)/$" ignoreCase="true" />
              <conditions>
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/bundles/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{REQUEST_URI}" pattern="^/([0-9]+).aspx" negate="true" />
                <add input="{URL}" pattern="^.*\.(asp|aspx|axd|asmx|css|js|jpg|jpeg|png|gif|mp3|php)$" negate="true" ignoreCase="true" />
                <add input="{URL}" pattern="/Base" negate="true" />
                <add input="{URL}" pattern="cdv=1" negate="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{R:1}" />
            </rule>
            -->
            <!-- SEO: Force lower-case for URLs -->
            <!-- exclude umbraco folder, and all static requests to images, css, js and axd resource files -->
            <rule name="LowerCaseRule1" stopProcessing="true">
              <match url=".*[A-Z].*" ignoreCase="false" />
              <conditions>
                <add input="{REQUEST_URI}" pattern="^/umbraco/" negate="true" />
                <add input="{URL}" pattern="^.*\.(axd|asmx|css|js|jpg|jpeg|png|gif|mp3)$" negate="true" ignoreCase="true" />
                <add input="{URL}" pattern="/Base" negate="true" />
                <add input="{URL}" pattern="cdv=1" negate="true" />
              </conditions>
              <action type="Redirect" redirectType="Permanent" url="{ToLower:{URL}}" />
            </rule>
          </rules>
        </rewrite>
    

    But this was working before set the HTTPS protocol

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:06
    Dave Woestenborghs
    0

    Maybe you set this condition in the rule for append trailing slash

     <add input="{REQUEST_URI}" pattern="^/App_Plugins/" negate="true" />
    

    Edit : by the way i see you have the rule for appending the trailing slash multiple times in there

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:10
    Simon
    0

    Same Error :/

    enter image description here

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:13
    Dave Woestenborghs
    0

    Strange,

    I see the trailing slash has been removed, which is good.

    Maybe you can clear your client dependency cache ?

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:15
    Simon
    0

    How can I clear dependency cache?

    It is quite strange though because it much more related to HTTPS

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:18
    Dave Woestenborghs
    0

    Hi Simon,

    You can go to /App_Data/Temp/ClientDependency/ and clear everything in there.

    And just to be sure go to /config/ClientDependency.config and increment the version attribute on the clientdependency tag.

    And clear your browser cache.

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:26
    Simon
    0

    The same Dave.

    Mixed Content Error. Page loaded at https://..... but requested an insecure XMLHttpReuqest ednpoint with http://

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:28
    Dave Woestenborghs
    0

    Really strange,

    We have nuPickers on multiple environments running https. Never seen this issue.

    How are you putting your site under https ?

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:30
    Simon
    0

    Via Cloudfare

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:32
    Dave Woestenborghs
    0

    Maybe you can add this rewrite url as first rule in your web.config. We always have this redirect in place if we want everything to be under https

    <rule name="HTTP to HTTPS redirect" stopProcessing="true">
          <match url="(.*)" />
          <conditions>
            <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          </conditions>
          <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
        </rule>
    

    Dave

  • Simon 692 posts 1068 karma points
    Dec 15, 2015 @ 10:35
    Simon
    0

    I had a redirect loop once I add that rule.

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 10:36
    Dave Woestenborghs
    0

    Hmm..

    I'm afraid i am out of options. Seems to me the issues is the cloudfare configuration.

    Dave

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 15, 2015 @ 15:46
    Dave Woestenborghs
    0

    Hi Simon,

    Something just came to mind.

    Can you check this app setting in you web.config

     <add key="umbracoUseSSL" value="true" />
    

    Dave

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Dec 18, 2015 @ 15:30
    Dave Woestenborghs
    0

    Hi Simon,

    Were you able to solve this issue ?

    Dave

  • 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