Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8480443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:17:46+00:00 2026-06-10T19:17:46+00:00

I’ve read quite a few other articles on the SCRIPT5: Access is Denied issue

  • 0

I’ve read quite a few other articles on the SCRIPT5: Access is Denied issue in IE9 but as far as I can tell this one is a little different and I’m not exactly sure why its happening.

The situation arose on a WordPress 3.4.1 install using the standard 2011 theme. I enqueued my scripts with the following function:

function my_scripts(){
    wp_deregister_script('jquery');
    wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js',null,null,true);
    wp_register_script('cycle', 'http://ajax.microsoft.com/ajax/jquery.cycle/2.88/jquery.cycle.all.js',null,null,true);
    wp_register_script('plugin', get_stylesheet_directory_uri() . '/scripts/plugin-init.js',null,null,true);
    wp_enqueue_script('jquery');
    wp_enqueue_script('cycle');
    wp_enqueue_script('plugin');
}

First the jquery and the cycle scripts are both being pulled from CDNs. The plugin script is empty with the exception of a basic cycle call on a single element.

At this point all browsers worked fine with the exception of IE9. I received the following error:

 SCRIPT5: Access is denied
 jquery.min.js, line 2 character 68522 

I found out quickly enough that this was a cross origin issue:

Access denied to jQuery script on IE

SCRIPT5: Access is denied in IE9 on xmlhttprequest

I found this odd since there were no cross origin functions in my plugins. Also the issue was showing up on jquery itself and not my code. Tried several suggested fixes but had no luck.

Tried some basic stuff. Moved the script directly into the footer. Tried moving it directly into the header. Tried cutting my scripts out of the equation. Pulling my hair out at this point.

My best bet was going to be to actually see what was causing the error in the code (since I couldn’t on the minified version). At this point the code was directly in the header so removed the .min from the script, did a refresh, and TA-DA: Everything is now working without a hitch.

If I try to move the unminified script declaration back to the my_scripts() function using wp_register_script & wp_enqueue_script it will fail again. If I try to move the unminified script declaration into the footer it will fail again. I did not test a local copy at the time, only the CDN versions.

It’s the same SCRIPT5 error but I unfortunately don’t have the code the error is generating from handy. This was at the office the other day and I’m off for the weekend. I attempted to reproduce the events on my personal sandbox but was unsuccessful in recreating the error, which leads me to believe something unlisted may be the culprit.

Does anyone have any idea what’s going on here? Why would jquery.min fail where the unminified file would not? And why would the unminified file continue to fail unless its directly in the <head>?

Happy to supply more information, although some of it may have to wait until I return to work this coming week. As soon as I’m able I will try to get the rest of the code posted.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:17:48+00:00Added an answer on June 10, 2026 at 7:17 pm

    i had the same problem, jQuery 1.8.1 fixed this problem for me

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
I know there's a lot of other questions out there that deal with this
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.