Skip to main content

Bug Tracker

Side navigation

#11381 closed bug (invalid)

Opened February 23, 2012 07:45PM UTC

Closed March 12, 2012 08:30AM UTC

Last modified September 26, 2012 10:39AM UTC

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

Reported by: viliam.kubis@gmail.com Owned by: viliam.kubis@gmail.com
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

Attachments (0)
Change History (5)

Changed February 23, 2012 08:06PM UTC by sindresorhus comment:1

owner: → viliam.kubis@gmail.com
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.

Changed February 23, 2012 08:28PM UTC by Viliam Kubis <viliam.kubis@gmail.com> comment:2

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

Changed February 26, 2012 07:37PM UTC by Viliam Kubis <viliam.kubis@gmail.com> comment:3

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.

Changed March 12, 2012 08:30AM UTC by trac-o-bot comment:4

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!

Changed September 26, 2012 10:39AM UTC by anonymous comment:5

invalid procedure call or argument

jquery 1.7.1.min.js line 2 character 12630