All Apps and Add-ons

Windows App and Javascript error

Path Finder

Hello all,

I have the latest Windows App (June 16 2010) downloaded from Splunkbase.com running on Splunk 4.1.3 under Windows 7 32-bit.

I noticed that the IE 8 browser will frequently complain about Javascript errors - "Errors on this webpage might cause it to work incorrectly". The error message is something like:

"Message: Unspecified error Line: 56 Char: 17 Code: 0 URI: http://127.0.0.1:8000/en-US/static/@80534/js/splunk.jquery.csrf_protection.js

Seems like Firefox 3.6.6 works better without throwing the results. Not sure if anybody out there can confirm my findings as well.

0 Karma

Splunk Employee
Splunk Employee

Hi there,

since IE 8 seems to have serious problems with Javascript at all, you can change the mode in which you are running IE 8 in. You can choose from three different modes:

IE5 Quirks - your page has no doctype, page renders like IE5 did IE 7 Standards Mode - you have a doctype, but either opted out of IE8 standards mode, or are running on localhost, or in "Compatibility Mode" IE 8 Standards Mode - you have a doctype, and are on the INTRANET (default mode)

Following the Microsoft documentation you should change the mode to “Compatibility Mode” to workaround this issues.

See following documentation:

http://support.microsoft.com/kb/956197

Hope that helps!

Cheers,

Christian

0 Karma