PDA

View Full Version : Display Help


michelledivinedesign
Tue., Oct. 7, 2008, 11:19 am
I have just switched over to a Linux Server and had to re-up my whole website to do so. Afterwards, I was testing in Firefox and found a very weird situation happening with my flash templates. I can't figure it out for the life of me.

Basically when you go to my flash templates and click on a template to view it, it pulls up a different template than request - AND - it is sometimes pulling up a template that is not even listed anywhere in the coding on that page! There are only a couple templates that work correclty (the third and ninth one) and I don't see anything different in the coding for these two temps than the others. Everything works great in IE so I'm sure it's a cbc issue but can't figure out what it is to fix it.

www.hisdivinedesign.net/flashtemps.html (http://www.hisdivinedesign.net/flashtemps.html) Pull it up in Firefox and click on any template but 3rd and 9th to see what I mean.

Please HELP! thank you
Michelle

David Gillaspey
Tue., Oct. 7, 2008, 9:15 pm
Hi Michelle,

Consider template #4, that is, Row 2, Column 1. The image there is linked to

http://www.hisdivinedesign.net/f7.html

If you examine the Flash code in the source code of this page, you'll see

<param name="movie" value="flash_templates/temp7/temp7.swf" />

but later

<embed [big snip] src="temp7.swf" [big snip]>

Explorer appears to be looking to the first parameter shown above to find the source for the movie. That is the correct path.

Firefox appears to be looking to the <embed> tag for the source of the movie. The path is wrong. It points to some file on the root level of your website. If I enter the following in Firefox's address bar

http://www.hisdivinedesign.net/temp7.swf

I see that I am redirected to

http://www.hisdivinedesign.net/temp.swf,

which is the movie the visitor actually sees rather than the correct one.

So you have two problems: 2) incorrect URLs in the <embed> tag of your Flash code; and 2) some kind of redirect causes

http://www.hisdivinedesign.net/temp7.swf

to be redirected to

http://www.hisdivinedesign.net/temp.swf

For some reason, problem #2 doesn't happen when I enter

http://www.hisdivinedesign.net/temp3.swf

or

http://www.hisdivinedesign.net/temp6.swf

in Firefox's address bar.

So, to solve your problem:

1) correct the URLs in the Flash code in the source code of all your pages.

2) correct whatever is causing the redirects mentioned above

3) remove any .swf's from the root level of your website.

The goal of #2 and #3 is to ensure that you get "File not found" when there's a problem with the code. That would have alerted you to where the real problem lie.

Hope this helps.

michelledivinedesign
Wed., Oct. 8, 2008, 1:20 pm
Awesome - thank you very much. I corrected the embed code and they all work perfectly now.

As for the redirect, I have no idea why that was happening. What's weird is there was no temp7.swf on the root directory so it seems to have just picked another .swf file that was on the root directory instead. The one that it displayed alot was on the root directory which was temp12. Not sure where it got the other .swf from though as it is no where on my root directory.

All that said, it's working now though with the embed code correction.
Thank you very much.
Michelle

michelledivinedesign
Wed., Oct. 8, 2008, 1:22 pm
P.S. The reason problem #2 didn't happen when you clicked on temp3 and temp6 was because they were on the root directory. So it had the proper file to pull. I am removing them from my root now though. Thank you again.