Sie sind nicht angemeldet.

1

Montag, 15. Juni 2009, 17:57

Security Error

I'm getting a security error on my global xml file when i try to open my virtual tour...

http://radialimages.com/virtualtour/tastingauction/welcome/

the strange thing is that everything was working awesome locally, but once i put it up on the server nothing works. any ideas? thanks!!

-erik

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »RadialImages« (15. Juni 2009, 18:14)


Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

2

Montag, 15. Juni 2009, 18:23

In your XML you have this...

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<plugin name="radar" url="C:\Documents and Settings\University Events\Desktop\tastingauction\plugins
/radar.swf" 
           heading="210" 
           fillcolor="0xffffff" 
           fillalpha="0.8"
           linecolor="0x000000"
           linewidth="1"
           linealpha="0.5"
		   align="lefttop"
		   x="157"
		   y="143"
		   width="80"
		   height="80" 
           />


the URL is pointing to a local file in your C drive... :) since this is a security concern, you get that error, change it accordingly to your web server e.g

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
<plugin name="radar" url="radar.swf" 
           heading="210" 
           fillcolor="0xffffff" 
           fillalpha="0.8"
           linecolor="0x000000"
           linewidth="1"
           linealpha="0.5"
		   align="lefttop"
		   x="157"
		   y="143"
		   width="80"
		   height="80" 
           />

3

Montag, 15. Juni 2009, 18:24

ahhh, too easy. i looked through so many times and i thought i changed everything to the server links. thanks!


edit. i fixed the welcome.xml, and i did a search for "C:" in my global.xml but there is nothing pointing locally. it still is giving me the security error. *blink*

Shanti

Fortgeschrittener

Beiträge: 301

Wohnort: Puerto Vallarta

Beruf: Web Developer

  • Nachricht senden

4

Montag, 15. Juni 2009, 18:38

if you use this url the pano loads.

http://www.radialimages.com/virtualtour/…uction/welcome/

and this is because you don't have a crossdomain.xml file

Quellcode

1
2
3
4
<?xml version="1.0"?>
<cross-domain-policy>
  <allow-access-from domain="*.radialimages.com" />
</cross-domain-policy>


put this file in the root of your server.

or just change the global.xml and all of the other paths to use relative and not absolute paths

e.g

Quellcode

1
url="http://www.radialimages.com/etc/etc/global.xml"


change to

Quellcode

1
url="global.xml"


but the crossdomain.xml is the best solution

5

Montag, 15. Juni 2009, 18:48

amazing. thanks shanti!