Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#11381 closed bug (invalid)

IE8 problems [unknown runtime error & invalid procedure call or argument] on this specific website (a website of mine)

Reported by: viliam.kubis@… Owned by: viliam.kubis@…
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

I am experiencing bugs in IE8 inside jquery.js file, newest version, 1.7.1. Template maker has done a terrible job on this website, that's the truth, but that should not cause errors in main jquery file. For the site to work, I have patched the original jquery code with very bad "fixes" like this one:

if ($.browser.msie) {

if(parseInt($.browser.version, 10) > 8 )

elem[ type ]();

} else

elem[ type ]();

I have no idea why this site causes these errors. My local development copy (another data) does NOT cause any of these errors. However when it is loaded from production domain (demisport.sk), IE8 goes nuts. I don't know if this has something to do with site's content (development "lorem ipsum" vs. real production content) or web server settings (it is possible the webserver provider has different settings for apache - sends another headers, handles communication a little differenty [so other scripts load first] etc).

I have modified the page in a way that if you specify ?dev=1 parameter in any URL, jquery.js (original) will be loaded. Otherwise the patched version will.

Anyway, the errors are:

1) on address http://demisport.sk/kontakt/?dev=1 Line 8826, Char 5: Invalid procedure call or argument -- repeats every time any item in the left menu is clicked (and happens on page load because the first item is "clicked" by inline javascript). Does NOT happen for the last item ("kontaktny formular"), why?

2) on address http://demisport.sk/produkty/?dev=1 Line 3715, Char 6: Unknown runtime error -- after the error, product categories do not work

If this is a bug on templater's side, I'm sorry. But it should not throw errors like that. Cheers

Change History (5)

comment:1 Changed 8 years ago by sindresorhus

Owner: set to viliam.kubis@…
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/FrKyN/ Open the link and click to "Fork" (in the top menu) to get started.

comment:2 Changed 8 years ago by Viliam Kubis <viliam.kubis@…>

I'm sorry, my browser freezes on that, I can't use that.

comment:3 Changed 8 years ago by Viliam Kubis <viliam.kubis@…>

Just to be clear bug is in main jquery.js code, and pasting 8300+ lines into jsfiddle is just incredibly slow. Test case - I don't know, because I have not written jquery and do not understand the code.

comment:4 Changed 8 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

comment:5 Changed 7 years ago by anonymous

invalid procedure call or argument jquery 1.7.1.min.js line 2 character 12630

Note: See TracTickets for help on using tickets.