Thread Rating:
  • 269 Votes - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SecurityError: Error #2122
05-24-2009, 01:51 AM
Post: #1
SecurityError: Error #2122
Hey Guys not sure if you can help.
I get the following error when logging into my site

SecurityError: Error #2122: Security sandbox violation: Loader.content: http://www.jussoundz.com/blog/wp-content...xied=false cannot access http://jussoundz.com/blog/wp-content/upl...0x212.jpg. A policy file is required, but the checkPolicyFile flag was not set when this media was loaded.
at flash.display::Loader/get content()
at featurific::ScreenImage/initListener()

However when I go to a different page then back to home page the images load fine.

I have tried looking around on the net to find a fix but get confused. I have uploaded crossdomain.xml file, but I doubt its right.

Please help
Find all posts by this user
06-23-2009, 06:31 AM
Post: #2
RE: SecurityError: Error #2122
Hi jasman,

I've done some research on what's going on, and I think I've tracked down the problem. If you look at the two URL's posted, you'll notice that one of them begins with 'www.jussoundz.com', while the other one begins with just 'jussoundz.com'. From the browser's perspective, these URL's constitute two different (although related) security domains. I've never seen this issue before, but I'm guessing that when you add the images to your posts, you're using absolute URL's. An absolute URL looks like this:

http://jussoundz.com/blog/wp-content/upl...00x212.jpg

The relative URL equivalent of this would be:

/blog/wp-content/uploads/2009/05/joint-300x212.jpg

Using the second URL format should sidestep the problem, since the images will be loaded from the same domain.

Let me know if this helps!
-Rich

P.S. If this doesn't help, another approach you could try is to forward all requests made to http://www.jussoundz.com to jussoundz.com. This can be done with .htaccess files. More info can be obtained via the links referenced in this Google search: http://www.google.com/search?q=www+htacc...=firefox-a . Good luck! Smile
Find all posts by this user


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Error code doesn't match referenced line Sfov 9 10,615 05-21-2010 08:12 AM
Last Post: rinogo
  Fatal Error theflea 6 24,977 03-23-2010 05:33 AM
Last Post: rinogo
  Flash error Phenix 4 3,737 12-31-2009 10:53 AM
Last Post: rinogo
  Fatal Error on line 156 Guest 1 2,794 10-14-2009 04:16 AM
Last Post: rinogo
  [error]Source XML not specified romuloctba 1 2,530 09-19-2009 04:25 AM
Last Post: rinogo
  error fail line 1978 elroy 1 2,458 09-11-2009 03:26 AM
Last Post: rinogo
  Fatal error upgrading to wordpress 2.7 cquerol 3 6,031 06-10-2009 04:31 AM
Last Post: rinogo
  Fatal Error on attempting to activate plugin Guest 10 10,580 05-20-2009 01:44 AM
Last Post: rinogo

Forum Jump:


User(s) browsing this thread: 1 Guest(s)