Help - Search - Members - Calendar
Full Version: HTML Files display correctly in File Manager but not online
HTMLHelp Forums > Web Authoring > Web Site Functionality
sunny gupta
Hi,
I am making my web page in HTML using Kompozer editor.
Files unloaded in the file manager. Some files are showing
correctly online but some are not. Check the path and SRC
They are correct. What could be the problem??
Thanks in advance for all the help and appreciable.
pandy
In what way aren't they showing correctly? Can you post the URL to such a page?
sunny gupta
QUOTE(pandy @ Apr 1 2012, 07:24 PM) *

In what way aren't they showing correctly? Can you post the URL to such a page?


Sure and thanks for help.

www.homemadesilk.com
sunny gupta
QUOTE(sunny gupta @ Apr 1 2012, 09:54 PM) *

QUOTE(pandy @ Apr 1 2012, 07:24 PM) *

In what way aren't they showing correctly? Can you post the URL to such a page?


Sure and thanks for help.

www.homemadesilk.com


In file manager, you can access all the other pages, where as on URL, it show 404 page not available.
Some pages show all the images correctly in file manager, whereas on URL it is not, When checked the SRC
are correct.

pandy
OK. Have you created a directory on the server called "Sub Page", capitalized and with a space, and have you uploaded the files there?

If the server gives the correct error message, that directory doesn't exist.
http://www.homemadesilk.com/sub%20pages/
sunny gupta
QUOTE(pandy @ Apr 1 2012, 10:37 PM) *

OK. Have you created a directory on the server called "Sub Page", capitalized and with a space, and have you uploaded the files there?

If the server gives the correct error message, that directory doesn't exist.
http://www.homemadesilk.com/sub%20pages/


"Sub Page" directory do exist. If you see in URL -go and click on all the fabric -some will display and some will not, how come, all
HTML files are in Sub Pages and Source files of images are from Images Page.

Thanks for time you are spending in solving my problem, appreciated your help
sunny gupta
QUOTE(pandy @ Apr 1 2012, 10:37 PM) *

OK. Have you created a directory on the server called "Sub Page", capitalized and with a space, and have you uploaded the files there?

If the server gives the correct error message, that directory doesn't exist.
http://www.homemadesilk.com/sub%20pages/


Sorry, early posting not very clear.
In file manager when I access index. html- some file show correctly all the images where as some show no images, but all the pages displayed. When go to URL, then all the pages are missing why, not able to get. Then what you say is right. How to correct this.
Christian J
First, the "../" in the link URLs indicate a directory one level above the web root:

CODE
<a href="../Sub%20Pages/indiandupion.html">

but since browsers can't access such directories, they apparently try to resolve the URL to

CODE
http://www.homemadesilk.com/Sub%20Pages/indiandupion.html

instead, which is not correct. unsure.gif

Second, the image URLs point to locations on your own computer:

CODE
<img src="file:///C:/Users/KAVITA%20TEXTILES%20PLUS/Desktop/Home%20Made%20Silk%20Web/Images%20Fabric/Home%20Page/Indian.jpg">
sunny gupta
QUOTE(Christian J @ Apr 2 2012, 09:37 AM) *

First, the "../" in the link URLs indicate a directory one level above the web root:

CODE
<a href="../Sub%20Pages/indiandupion.html">

but since browsers can't access such directories, they apparently try to resolve the URL to

CODE
http://www.homemadesilk.com/Sub%20Pages/indiandupion.html

instead, which is not correct. unsure.gif

Second, the image URLs point to locations on your own computer:

CODE
<img src="file:///C:/Users/KAVITA%20TEXTILES%20PLUS/Desktop/Home%20Made%20Silk%20Web/Images%20Fabric/Home%20Page/Indian.jpg">



Thanks a lot and appreciated your reply. You told the problem, what is the solutions???
Darin McGrew
Put the subpages and images on your server somewhere that browsers can access, and use those URLs in your HTML.

Once you have working URLs to view the subpages and images, then see:
http://www.htmlhelp.com/faq/html/basics.html#relative-url
sunny gupta
QUOTE(Darin McGrew @ Apr 2 2012, 12:56 PM) *

Put the subpages and images on your server somewhere that browsers can access, and use those URLs in your HTML.

Once you have working URLs to view the subpages and images, then see:
http://www.htmlhelp.com/faq/html/basics.html#relative-url


Thanks Darin and all who helped me out. What I did is change every thing and do it again.
Just created a folder "hmsweb" in Root directory and in "hmsweb" put all the HTML files, also created another fold "ImagesFabric" and put all the images in these folder. Every thing show up correctly in the file manager but again not online. Not able to understand why??? All help will be appreciable.
Christian J
QUOTE(sunny gupta @ Apr 2 2012, 08:51 PM) *

Just created a folder "hmsweb" in Root directory and in "hmsweb" put all the HTML files, also created another fold "ImagesFabric" and put all the images in these folder. Every thing show up correctly in the file manager but again not online. Not able to understand why??? All help will be appreciable.

http://www.homemadesilk.com/hmsweb/ seems to work now.

But I suggest you put the HTML files directly in the web root directory. If you only have a few images you can put them there too. If you have lots of images you may consider a separate image directory (inside the web root, not parallell to it).

sunny gupta
QUOTE(Christian J @ Apr 2 2012, 04:17 PM) *

QUOTE(sunny gupta @ Apr 2 2012, 08:51 PM) *

Just created a folder "hmsweb" in Root directory and in "hmsweb" put all the HTML files, also created another fold "ImagesFabric" and put all the images in these folder. Every thing show up correctly in the file manager but again not online. Not able to understand why??? All help will be appreciable.

http://www.homemadesilk.com/hmsweb/ seems to work now.

But I suggest you put the HTML files directly in the web root directory. If you only have a few images you can put them there too. If you have lots of images you may consider a separate image directory (inside the web root, not parallell to it).


Thanks for help. url= http://www.homemadesilk.com is not working, http://www.homemadesilk.com/hmsweb is working.
Created folder "hmsweb" in root directory only and "ImagesFabric" sub folder. all HTML files are in hmsweb folder ony
Christian J
Move everything inside "hmsweb" (both the HTML files and the "ImagesFabric" sub folder) to the web root directory.
sunny gupta
QUOTE(Christian J @ Apr 2 2012, 05:02 PM) *

Move everything inside "hmsweb" (both the HTML files and the "ImagesFabric" sub folder) to the web root directory.


I am using ipage.com, not able to locate the root directory name in the file manager?/ Can you suggest how to find?
pandy
Typing the correct URL, but we don't know where that folder is. Can you get the URL to it from the file manager?
Christian J
QUOTE(sunny gupta @ Apr 3 2012, 12:58 AM) *

QUOTE(Christian J @ Apr 2 2012, 05:02 PM) *

Move everything inside "hmsweb" (both the HTML files and the "ImagesFabric" sub folder) to the web root directory.


I am using ipage.com, not able to locate the root directory name in the file manager?/ Can you suggest how to find?

The web root is the same directory that you put "hmsweb" in.
sunny gupta
QUOTE(Christian J @ Apr 2 2012, 07:34 PM) *

QUOTE(sunny gupta @ Apr 3 2012, 12:58 AM) *

QUOTE(Christian J @ Apr 2 2012, 05:02 PM) *

Move everything inside "hmsweb" (both the HTML files and the "ImagesFabric" sub folder) to the web root directory.


I am using ipage.com, not able to locate the root directory name in the file manager?/ Can you suggest how to find?

The web root is the same directory that you put "hmsweb" in.


Thanks a lot and appreciated every body's help. Web page is working fine except one or two file. In ipage.com root directory is ./
Any end is well, all is well, thanks
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.