FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

"Document not found" in iframe

 


woundedhealer
I'm getting "document not found" in my iframe. This only happened when I uploaded my files. I tried using the whole web address in the link and the folder and file name, also../folder/file.htm but nothing works. The pages are in my root folder at the moment, and my iframe page is in my links folder, which is in my root folder. I've checked my coding and can't find anything wrong there.
timerecords
Can you post your URL's so we could check, because now I can't help you...
yjwong
Some webservers are case sensitive (for example Frihost's web servers). If you type http://www.frihost.com/images/frihost2.JPG instead of http://www.frihost.com/images/frihost2.jpg, the picture will not show.
woundedhealer
This is all the coding for the iframe.

<div align="center"><iframe name="nav" src="../links/navigation.htm"
align="centre" valign="top" width="100%" frameborder="no" scrolling="no">This
is an iframe. Please click on the link to take you to the<a href="../sitemap.htm">
SITEMAP</a></iframe></div>

It's fine when I preview it in my browser.
Stubru Freak
Obviously, the document just isn't in ../links/navigation.html

If you give us the location of both pages we can fix it.
woundedhealer
The page which goes into the iframe is at www.earthspirit.frih.net/links/navigation.htm

The iframe is at the top ofall my pages. At the moment these pages are all in the earthspirit folder, so the location of these pages is www.earthspirit.frih.net/file_name.htm

I've checked that all files & folder names are in lower-case. & don't know what else to try.
Stubru Freak
Try

Code:
<div align="center"><iframe name="nav" src="links/navigation.htm"
align="centre" valign="top" width="100%" frameborder="no" scrolling="no">This
is an iframe. Please click on the link to take you to the<a href="sitemap.htm">
SITEMAP</a></iframe></div>


Without the ../
SlowWalkere
I can't find anything on the site at all.

I tried the link for the navigation iframe, and links/navigation.htm was file not found. In fact the whole folder /links was not found.

I tried going to the root folder to look for the index file and www.earthspirit.frih.net came up forbidden access. I couldn't find any files in the folder either (index.htm, index.html, index.php, home.htm, home.html, navigation.htm all came up file not found).

Are you sure the files uploaded successfully? What is the link to one of the actual pages that contains the iframe (i.e. index page, or something)? Because as far as I can tell nothing is there at all.

- Walkere
woundedhealer
Quote:
I can't find anything on the site at all.

I tried the link for the navigation iframe, and links/navigation.htm was file not found. In fact the whole folder /links was not found.

I tried going to the root folder to look for the index file and www.earthspirit.frih.net came up forbidden access.

That was going to be the next problem to be solved.

Idea I decided to delete all the files & folders I had uploaded & uploaded them again. I don't know why, but everything is fine now. My iframes are working fine & when I put the address of a file in the address box, it came up, just like magic. Yippeeeee Very Happy

Many thanks for all the advice.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.