Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: onDocumentReady in IE displays secure/nonsecure message

  1. #1
    Touch Premium Member
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    17

    Default onDocumentReady in IE displays secure/nonsecure message

    I have web pages that are secured via SSL. When I use YAHOO.ext.EventManager.onDocumentReady on these pages I receive a popup message in IE 6 which states:

    "This page contains both secure and nonsecure items. Do you want to display the nonsecure items?"

    I have tested with releases yui-ext.0.33-rc2 and yui-ext.0.33-rc3.

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Is one of your js/css/images files being pulled from a non-secure url? Do you still reference the YUI js files from the yahoo url (us.js.yimg.com) instead of hosting it yourself?

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    Also try a search for SSL_SECURE_URL, there are a couple threads on this.

  4. #4
    Touch Premium Member
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    17

    Default

    The first thing I did was check to see if there were any non-secure URLs for images or JS files.
    Couldn't find any.

    I started to comment out lines of code until I found that commenting out the line which had:
    YAHOO.ext.EventManager.onDocumentReady
    on it stopped these warning messages from appearing.

    What is the url us.js.yimg.com for? I can't seem to find any information about this url and the js libraries it hosts?
    I see that Jack uses the utilities library. Is this equivalent to the yahoo-dom-event.js and the dragdrap.js?

    I'll take a look at the SSL_SECURE_URL and see if I have any luck.

  5. #5
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    us.js.yimg.com is the YAHOO provided URL for Jack to host his copy of the yui js files. It's not for public use - you need to replace it with paths to your local copies. This can be the individual js files or utilities.js which is a combination of the major yui js files. Check the readme in the utilities folder for further details.

    If you're accessing the YAHOO url, it's likely that is the source of your unsecured file b/c they probably still have couple gifs in there hard-coded to non-secure urls

  6. #6
    Touch Premium Member
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    17

    Default

    If I replace the external url and I use my local yui libraries, I notice that I need to include the yahoo-dom-event.js and the dragdrop.js file.
    If I don't provide the dragdrop.js I receive a DDProxy not found error.

    Why do I need to include this if the features I am using do not need the drag-drop feature?

    Isn't yui-ext a-la-carte just like YUI?

  7. #7
    Sencha User
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    What version are you using? That dependency was eliminated a while ago.

    If you have the latest version and still receive the problem, please look it up in firebug and post where in the code it is happening. Thanks.

  8. #8
    Touch Premium Member
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    17

    Default

    I believe I was using .33 rc1 OR rc2. Not exactly sure.

    I am in the process of moving over to the latest build.
    I noticed that you no longer have the *-lib.js files in your distribution any more.
    Is there a reason why?

    When I deploy your yui-ext js files to my web server is there a recommended tree structure that you would suggest, or do I put the whole distribution on the webserver?

    Thanks for your time.

  9. #9
    Sencha User
    Join Date
    Mar 2007
    Location
    New York, NY
    Posts
    6,956

    Default

    I would deploy it as is. That way you don't have to remap the css image paths but that's up to you.

    The -libs were a maintenance nightmare. They have been replaced by the "build your own" feature.

  10. #10
    Touch Premium Member
    Join Date
    Mar 2007
    Location
    Canada
    Posts
    17

    Default

    I came across the 'YAHOO.util.DDProxy is not a constructor' problem again.

    These are the declarations that I am using:

    <script src="/system/scripts/yui/yahoo-dom-event/yahoo-dom-event.js"></script>
    <script src="/system/scripts/yui-ext/yui-ext-debug.js" type="text/javascript"></script>

    And when I am creating a grid with array data I receive the error above at line 6088 of the file yui-ext-debug.js

    I am using YUI 0.12.0 and yui-ext 0.33

Page 1 of 2 12 LastLast

Similar Threads

  1. IE6 Nonsecure items message for SSL
    By vtswingkid in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 10 Jul 2007, 2:05 AM
  2. about Ext.EventManager.onDocumentReady
    By mysticav in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 6 Mar 2007, 12:01 PM
  3. onDocumentReady in IE6
    By reignman in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 9 Jan 2007, 3:39 AM
  4. Firefox displays continuous refreshing icon after render
    By mangesh in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 13 Dec 2006, 6:42 AM
  5. IE Grid displays all content in left column
    By manxomfoe in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 24 Oct 2006, 10:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •