Options

IE Operation Aborted? Post Here

12467

Comments

  • Options
    BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited April 18, 2007
    kathynmeg wrote:
    Me too! Me Too!! I am having these same issues and it is driving me crazy. My clients who are trying to make selections on their shoot cannot get in to view proofs. This started happening about 3 days ago. headscratch.gif

    Kathy

    Hi Kathy,

    I responded to your email from the help desk. Please let me know if you are still having the problem.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • Options
    kathynmegkathynmeg Registered Users Posts: 30 Big grins
    edited April 18, 2007
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited April 18, 2007
    This is what i found out about the problem
    This is what i found out about this problem (using Google and other sources).

    IE has an issue if you modify the DOM, in any which way, before the document has loaded (i.e. before the onload event of the BODY element is fired).

    This is not consistent in every situation. But there are some situations that make it appear constitently:
    http://weblogs.asp.net/infinitiesloop/archive/2006/11/02/Dealing-with-IE-_2600_quot_3B00_Operation-Aborted_2600_quot_3B002E00_-Or_2C00_-how-to-Crash-IE.aspx

    Quote:
    "The problem is you can't append to the BODY element from script that isn't a direct child to the BODY element"

    So, if this problem happens to you, look for < script > elements in your source-code (e.g. in your footer/header of Smugmug Customization). Examine these < script > elements for code that calls functions/methods that create HTML elements immediately (document.createElement, element.innerHTML=something, etc). With 'immediate' i mean that the HTML elements are created before the corresponding </ script > appears.

    However, document.write and document.writeln seem to work fine within a < script > element... I guess because these two statements are specifically designed to write dynamic (streaming) document-content.... but i'm not absolutely sure.

    Smugmug, JT:
    Is there a way to make sure that < script > can be added to the customization for the header and the footer but so that the < script > element is an immediate child of < BODY >?
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    {JT}{JT} Registered Users Posts: 1,016 Major grins
    edited April 18, 2007
    Smugmug, JT:
    Is there a way to make sure that < script > can be added to the customization for the header and the footer but so that the < script > element is an immediate child of < BODY >?

    Dutchie, I will think about adding maybe an additional field to customization. It won't happen any time soon, but I will keep it in mind the next time we go over customization optimizations.
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited April 18, 2007
    {JT} wrote:
    Dutchie, I will think about adding maybe an additional field to customization. It won't happen any time soon, but I will keep it in mind the next time we go over customization optimizations.

    Great!
    That would allow the user to add any stat-counter and such without worrying that this 'Operation aborted' error may occur.
    (i have not seen issues with Google Analytics or StatCounter, though)
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 18, 2007
    IE Problems
    I am having serious problems with Internet Explorer and my site.

    Example link: http://www.kasey.smugmug.com/gallery/2667867

    It was all working fine about a week ago, and I have not made any code changes to my site in many months (only added pictures). All of a sudden Internet Explorer does not work at all. No galleries can be displayed. If I use Firefox it is fine. I tried IE 6 and 7, and neither work.

    I am getting 3 different error seeming at random. The most common is;
    Internet Explorer cannot open Internet site
    http://www.kasey.smugmug.com/gallery/2667867
    Operation aborted.

    The second common is;
    Line: 63
    Error: 'obj' is null or not an object

    Third error;
    Line: 27
    Error: 'photoInfo[...].position' is null or not an object

    Both of the last two errors seem to come from;
    js.smugmug.com/include/js/gallery_ajax-20070412231148.js
    But this is way beyond my understanding...

    I wrote help@smugmug.com and asked for help, and they have instructed me to post here. I hope I am doing this right. I'm not sure who can assist me, but if you can help please email me at casey_james_martin@hotmail.com

    Edit: I have also read through this thread about the slideshow fix and I'm sorry but I would need someone to let me know if this will work for my site. There is a slideshow button at the top of each of my galleries, but I did not 'code' anything for a slideshow, so I don't know where to put this fix.

    Thanks
    Casey
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited April 18, 2007
    I am having serious problems with Internet Explorer and my site.

    Example link: http://www.kasey.smugmug.com/gallery/2667867

    It was all working fine about a week ago, and I have not made any code changes to my site in many months (only added pictures). All of a sudden Internet Explorer does not work at all. No galleries can be displayed. If I use Firefox it is fine. I tried IE 6 and 7, and neither work.

    I am getting 3 different error seeming at random. The most common is;
    Internet Explorer cannot open Internet site
    http://www.kasey.smugmug.com/gallery/2667867
    Operation aborted.

    The second common is;
    Line: 63
    Error: 'obj' is null or not an object

    Third error;
    Line: 27
    Error: 'photoInfo[...].position' is null or not an object

    Both of the last two errors seem to come from;
    js.smugmug.com/include/js/gallery_ajax-20070412231148.js
    But this is way beyond my understanding...

    I wrote help@smugmug.com and asked for help, and they have instructed me to post here. I hope I am doing this right. I'm not sure who can assist me, but if you can help please email me at casey_james_martin@hotmail.com

    Edit: I have also read through this thread about the slideshow fix and I'm sorry but I would need someone to let me know if this will work for my site. There is a slideshow button at the top of each of my galleries, but I did not 'code' anything for a slideshow, so I don't know where to put this fix.

    Thanks
    Casey

    I use IE6 on Windows XP. Your site's header shows and then Internet Explorer hangs: It consumes close to 100% CPU and it stays that way..

    I suspect it is the tree-control on the left side of your pages (i could see this tree when using FireFox)... but this is just a guess.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 19, 2007
    I use IE6 on Windows XP. Your site's header shows and then Internet Explorer hangs: It consumes close to 100% CPU and it stays that way..

    I suspect it is the tree-control on the left side of your pages (i could see this tree when using FireFox)... but this is just a guess.

    The tree navigation has been there for about a year, with no changes. It worked fine in IE6 and 7 until yesterday. Any idea why it would stop working between about a week ago and yesterday?

    I have no idea where to start trying to debug it on my own.

    Thanks
    Casey
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 19, 2007
    The tree navigation has been there for about a year, with no changes. It worked fine in IE6 and 7 until yesterday. Any idea why it would stop working between about a week ago and yesterday?

    I have no idea where to start trying to debug it on my own.

    Thanks
    Casey
    Make a separate posting in the customization forum and let the experts try and help you with your customizations...
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 19, 2007
    Andy wrote:
    Make a separate posting in the customization forum and let the experts try and help you with your customizations...

    OK, thanks, I have posted for help in that forum as well.

    Question. Has this been resolved for everyone else with the "slideshow" fix, or are there still others having problems? ie. is smugmug still looking into this?

    Thanks
    Casey
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 19, 2007
    OK, thanks, I have posted for help in that forum as well.

    Question. Has this been resolved for everyone else with the "slideshow" fix, or are there still others having problems? ie. is smugmug still looking into this?

    Thanks
    Casey
    The only fix is if you've modded the slideshow code, you must change what JT's suggested....
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited April 19, 2007
    OK, thanks, I have posted for help in that forum as well.

    Question. Has this been resolved for everyone else with the "slideshow" fix, or are there still others having problems? ie. is smugmug still looking into this?

    Thanks
    Casey

    Not only the slide-show code....
    If you have your own customized javascript, look at my earlier post on the previous page.
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 19, 2007
    Not only the slide-show code....
    If you have your own customized javascript, look at my earlier post on the previous page.

    I cannot tell if this solution applies to me or not.

    I looked at the article, and it seems to impy that if all javascript is located under the <body> section it should be fine? So I moved all the js I had all under the <body> and I still encounter the same problem.

    You said check all javascript in smugmug header and footer. Can you be more specific because smugmug has a "head tag", a "header" and a "footer", but as far as I can tell the "header" and "footer" both get placed under the <body> section. Only the "head tag" gets placed under the "head" section.

    Thanks
    Casey

    Edit: Also in IE 6.0, I always get the error "Error: 'obj' is null or not an object". I never get the error described on the link on the previous page. I believe I did get that error when I was using IE 7.0 though.
  • Options
    David TaylorDavid Taylor Registered Users Posts: 146 Major grins
    edited April 19, 2007
    Still have the error message
    I have added the footer changes that {JT} mentioned, and tried to follow the discussion, but still no dice. I've cleared cache and cookies... see here: http://davidtaylor.smugmug.com/gallery/2730481

    What am I doing wrong? Please help me smuggurus :D
  • Options
    BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited April 19, 2007
    I have added the footer changes that {JT} mentioned, and tried to follow the discussion, but still no dice. I've cleared cache and cookies... see here: http://davidtaylor.smugmug.com/gallery/2730481

    What am I doing wrong? Please help me smuggurus :D

    Hi David,

    I checked your code and made one further change for you. Can you let us know if you are still experiencing the problem?
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • Options
    BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited April 19, 2007
    I cannot tell if this solution applies to me or not.

    I looked at the article, and it seems to impy that if all javascript is located under the <body> section it should be fine? So I moved all the js I had all under the <body> and I still encounter the same problem.

    You said check all javascript in smugmug header and footer. Can you be more specific because smugmug has a "head tag", a "header" and a "footer", but as far as I can tell the "header" and "footer" both get placed under the <body> section. Only the "head tag" gets placed under the "head" section.

    Thanks
    Casey

    Edit: Also in IE 6.0, I always get the error "Error: 'obj' is null or not an object". I never get the error described on the link on the previous page. I believe I did get that error when I was using IE 7.0 though.

    Hi Casey,

    Can you give us a link to your site? I would be happy to check your code for you.

    As a rule, the code referred to in this thread is located in the footer section of your customization in the slideshow code.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 19, 2007
    Barb wrote:
    Hi Casey,

    Can you give us a link to your site? I would be happy to check your code for you.

    As a rule, the code referred to in this thread is located in the footer section of your customization in the slideshow code.

    Barb,

    All galleries on my site are not working.

    One example: http://www.kasey.smugmug.com/gallery/2667867

    Thanks
    Casey
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 19, 2007
    Barb,

    All galleries on my site are not working.

    One example: http://www.kasey.smugmug.com/gallery/2667867

    Thanks
    Casey
    Hi Casey, we aren't famililar with that code you're running, but we'll try and get {JT} to look at your site.
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 19, 2007
    Barb,

    All galleries on my site are not working.

    One example: http://www.kasey.smugmug.com/gallery/2667867

    Thanks
    Casey
    Casey, looking again, I'm getting an ie6 error, on your site, www.kasey.ca/calendar.php??? Something's not right...

    Who helped you program all this - can they assist? I really can't help, as this is a whole bunch of code that I'm just not familiar with. You've got stuff in your had tag, normally nothing should go there.
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 19, 2007
    Casey,

    from JT:
    your menu is what is causing the problem. Instead of creating the menu and and telling it to load using innerHTML or appending to the dom - you are doing it inline with document.write.

    Does this make sense?
  • Options
    David TaylorDavid Taylor Registered Users Posts: 146 Major grins
    edited April 19, 2007
    Barb wrote:
    Hi David,

    I checked your code and made one further change for you. Can you let us know if you are still experiencing the problem?
    Cheers Barb, that did the trick thumb.gif What did you change?
  • Options
    BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited April 19, 2007
    Cheers Barb, that did the trick thumb.gif What did you change?

    Hi David,

    You are using some code (that I also use) to change your breadcrumb to say "Home" insted of your name. That needed to be tweaked a bit.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 19, 2007
    Andy wrote:
    Casey,

    from JT:
    your menu is what is causing the problem. Instead of creating the menu and and telling it to load using innerHTML or appending to the dom - you are doing it inline with document.write.

    Does this make sense?

    Andy/JT,

    I am not sure what this means, but I will take a stab at it... do you mean that in my javascript file "http://www.kasey.ca/menus/tree.js&quot; I am using the command "document.write()" (on line 43) to create my menu? And I should not be doing this?

    I got all of the code for this menu from a free menu website;
    http://www.softcomplex.com/products/tigra_menu_tree/

    If I am correct, and I should not be using that code, can you point me in the direction of what I should be doing instead. You say "load using innerHTML or appending to the dom". Can you direct me to some information (web tutorials) on how to do this.

    Thanks
    Casey
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 20, 2007
    If I am correct, and I should not be using that code, can you point me in the direction of what I should be doing instead. You say "load using innerHTML or appending to the dom". Can you direct me to some information (web tutorials) on how to do this.

    Thanks
    Casey
    Allen can hook you up in the navbar thread with the flyout stuff, if that's what you are looking for...
  • Options
    flyingdutchieflyingdutchie Registered Users Posts: 1,286 Major grins
    edited April 20, 2007
    Andy/JT,

    I am not sure what this means, but I will take a stab at it... do you mean that in my javascript file "http://www.kasey.ca/menus/tree.js&quot; I am using the command "document.write()" (on line 43) to create my menu? And I should not be doing this?

    I got all of the code for this menu from a free menu website;
    http://www.softcomplex.com/products/tigra_menu_tree/

    If I am correct, and I should not be using that code, can you point me in the direction of what I should be doing instead. You say "load using innerHTML or appending to the dom". Can you direct me to some information (web tutorials) on how to do this.

    Thanks
    Casey

    The Tigra Menu in itself works... i went to the softcomplex site mentioned in your post and the tree (example) worked fine on IE6.

    Maybe it is something else that prevents your page from displaying properly...
    I can't grasp the notion of time.

    When I hear the earth will melt into the sun,
    in two billion years,
    all I can think is:
        "Will that be on a Monday?"
    ==========================
    http://www.streetsofboston.com
    http://blog.antonspaans.com
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 20, 2007
    Andy wrote:
    Allen can hook you up in the navbar thread with the flyout stuff, if that's what you are looking for...

    Andy, any help would be great at this point. It took me months to code my site originally because I do not know web programming, and learned as I went. I have also not made changes in probably 6 months, so I have definitely forgotten a lot of the javascript/etc that I learned.

    Before I really start though, I am just wondering if you can answer some questions.

    My menus work fine in IE 6 / 7 on the all of the other pages on my site (http://www.kasey.ca). The code also seems to work fine on the smugmug home page (http://www.kasey.smugmug.com/) and smugmug navigation (category) pages as well (http://www.kasey.smugmug.com/Montreal). It is only when I go into a smugmug gallery that I get this error. Also, the smugmug galleries worked fine with my code for about year, and only stopped a week ago.

    These things lead me to believe that something has changed on the smugmug side in the last week. Wouldn't that seem right? No one else seems to be discussing this though...

    If I have to re-do my site it will probably take me weeks maybe even months again because I will have to re-learn what I fogot over the last year, plus try to take extra effort to adher to coding standards. Although I have no idea how to do that because that is not readily available on the web. If the free menu I used (Tigra Tree) seems to be the cause of this issue, then anything out there could be corrupt.

    Then, after I spend all that time, there is no guarantee that the same thing will happen again, if I do not code properly.

    My question is this; Is smugmug still investigating this issue that everyone starting having all of a sudden last week, or do they considered it closed?

    I need to know this to re-evaluate weather I want to invest the time in re-doing my site, or consider different alternatives.

    Thanks
    Casey
  • Options
    AndyAndy Registered Users Posts: 50,016 Major grins
    edited April 20, 2007
    These things lead me to believe that something has changed on the smugmug side in the last week. Wouldn't that seem right? No one else seems to be discussing this though...

    Changes were made to the way the Javascript loads things, JT can explain more. But essentially, you are calling for things before the page is ready for them.

    We will try and help, but the code you are using is so different than what we are accustomed to. Stay tuned...
  • Options
    caseymartincaseymartin Registered Users Posts: 11 Big grins
    edited April 20, 2007
    Andy wrote:
    Changes were made to the way the Javascript loads things, JT can explain more. But essentially, you are calling for things before the page is ready for them.

    We will try and help, but the code you are using is so different than what we are accustomed to. Stay tuned...

    Andy, great, thanks for the info. I will not start any drastic changes until I hear back.

    Thanks for the help
    Casey
  • Options
    kazuri imageskazuri images Registered Users Posts: 69 Big grins
    edited April 20, 2007
    Thank you - please keep looking because the errors seem to be getting worse the last few days. With every click into a new gallery or trying to get anywhere in my website, I'm getting the operation error for everything - doesnt' matter what gallery or function I'm performing. HELP!
    www.kazuriimages.com
    Jcox wrote:
    EDIT BY ANDY..

    Hi guys, some of you are experiencing IE errors. We are aware of it. But we do not know yet what the cause is, user code, or SmugMug code. Our team is looking at it and we'll post here when we know more. Thanks for your patience!


    When choosing a gallery i get an error window saying that the action was aborted. Then the gallery loads. click on an image and attempt to change the size and nothing happens. Then you can't click on any other pics. Is this due to work being done on the site or do i have a prblem?

    www.jcox.smugmug.com

    EDIT #2 by Andy:

    See {JT}'s post here:
    http://www.dgrin.com/showthread.php?p=530041#post530041
  • Options
    BarbBarb Administrators Posts: 3,352 SmugMug Employee
    edited April 20, 2007
    Thank you - please keep looking because the errors seem to be getting worse the last few days. With every click into a new gallery or trying to get anywhere in my website, I'm getting the operation error for everything - doesnt' matter what gallery or function I'm performing. HELP!
    www.kazuriimages.com

    Hi :)

    Can you try your site now and see if you are still getting the errors? I made a change in your slideshow code for you that SHOULD fix it.
    Barb
    Smug since 2006
    SmugMug Help
    PhotoscapeDesign
Sign In or Register to comment.