Project

General

Profile

Trouble with JQuery after update to 2.6.9

Added by Pavel Sayk almost 9 years ago

Hi Guys!

After upgrading version from 2.1.3 to 2.6.9 i get error in JQuery in browser console.

You can see it here http://redmine.palpalych.ru/
I don't know what to do. The JQuery is connected.


Replies (1)

RE: Trouble with JQuery after update to 2.6.9 - Added by Gregor Schmidt almost 9 years ago

In Chrome, I see an additional error:

GET http://redmine.palpalych.ru/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js?1449305242
net::ERR_CONTENT_LENGTH_MISMATCH

The server reports a content-length of 340893 Bytes, while the file only contains 36564.

curl -s http://redmine.palpalych.ru/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js?1449305242 | wc -c
curl -sI http://redmine.palpalych.ru/javascripts/jquery-1.11.1-ui-1.11.0-ujs-3.1.4.js?1449305242 | grep Content-Length

I guess, that's why the script is not executed and therefore jQuery is undefined.

    (1-1/1)