Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Site Functionality _ HTML Files display correctly in File Manager but not online

Posted by: sunny gupta Apr 1 2012, 06:11 PM

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.

Posted by: pandy Apr 1 2012, 06:24 PM

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

Posted by: sunny gupta Apr 1 2012, 08: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

Posted by: sunny gupta Apr 1 2012, 08:56 PM

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.


Posted by: pandy Apr 1 2012, 09: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/

Posted by: sunny gupta Apr 1 2012, 10:52 PM

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

Posted by: sunny gupta Apr 1 2012, 11:02 PM

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.

Posted by: Christian J Apr 2 2012, 08: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">

Posted by: sunny gupta Apr 2 2012, 09:29 AM

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???

Posted by: Darin McGrew Apr 2 2012, 11:56 AM

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

Posted by: sunny gupta Apr 2 2012, 01:51 PM

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.

Posted by: Christian J Apr 2 2012, 03: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).


Posted by: sunny gupta Apr 2 2012, 03:42 PM

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

Posted by: Christian J Apr 2 2012, 04:02 PM

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

Posted by: sunny gupta Apr 2 2012, 05:58 PM

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?

Posted by: pandy Apr 2 2012, 06:13 PM

Typing the correct URL, but we don't know where that folder is. Can you get the URL to it from the file manager?

Posted by: Christian J Apr 2 2012, 06: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.

Posted by: sunny gupta Apr 2 2012, 07:16 PM

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

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)