Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
error when trying to open index.html
Old 05-14-2007, 09:51 PM error when trying to open index.html
Novice Talker

Posts: 9
Name: someone
Trades: 0
first off, hi ppl :P my problem is i just JUST started learning about website, got my hosting, etc, up, figured out where to put webpages to display them haha, now when i go to the www.mysite.com/index.html (example), it shows


<?xml version="1.0" ?>
- <!-- TransferQueueItems -->f(clean);
- <Items>
<Version>1</Version>

</Items>

im unsure what this is meaning im doing wrong? HELP? i cant find any useful topics on google, or such, so im lost :/
scias is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-15-2007, 12:11 AM Re: error when trying to open index.html
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
It looks like your getting an xml page instead of the html. Could you post a link to your site? I think it will be easier to help if we could see the page.

But what you are seeing is xml based on the code you posted.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-15-2007, 01:16 AM Re: error when trying to open index.html
Novice Talker

Posts: 9
Name: someone
Trades: 0
unfortunatly, i erased most of the files off the site completly, as i messed up few, and cuteftp saved the darn things unknowingly :P also, non-"home pages" were loading perfect besides images. also quick note, for images, how do u set them up? i was told by many u go into the html, find the "src=" then edit the src to "src=image/(name of image here)" and dl it into your image directory, but seemingly not working, i tryed all the little nick nacks, name changing, no caps, etc, but all showed as red x, maybe u could explain that 1 2? hehe :P
scias is offline
Reply With Quote
View Public Profile
 
Old 05-15-2007, 01:18 AM Re: error when trying to open index.html
Novice Talker

Posts: 9
Name: someone
Trades: 0
so it seems only the index created by my editor is funkin up, as to set it as "index" i have to check a box on it, so i think that may be adding the xml problem, is their any way to manually setup a index.html file, and so it works manually?? may help the problem i think. :P
scias is offline
Reply With Quote
View Public Profile
 
Old 05-15-2007, 07:48 PM Re: error when trying to open index.html
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
To show an image in a page you'd want to use

<image src="pathToYourImage" />

pathToYourImage depends on where your image is located. For example if under the root directory (the directory where index.html will be) you create a folder called images and place an image called my-image.jpg inside then the html would be:

<img src="http://www.yourdomain.com/images/my-image.jpg" />

If you see the red x then the image wasn't located at the path you specified. It could be because you forgot to upload the image or because you pointed to someplace other than where the image was located.

I'm not sure I'm following the problem with your editor and the check box to set it as index. What editor are you using.

When I create an index.html file I just name the file index.html, create a valid html page, and upload it to the root folder for my site. I'm not understanding what you mean by manually setting it up. index.html is just a file name.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 05-16-2007, 01:45 AM Re: error when trying to open index.html
Novice Talker

Posts: 9
Name: someone
Trades: 0
after 2 todays messin about, i figured out both problems! my editor names my index "Index.html" with a capital, which screws it up it seems :P and images, i didnt realize you need src=/images/(pic here), i was using src=images/pick here, missed that slash which i realized today, and boom, it worked >_< ty for your help tho, well appreciated.
scias is offline
Reply With Quote
View Public Profile
 
Old 05-17-2007, 01:27 AM Re: error when trying to open index.html
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
That makes sense about the Capital 'I' and glad you figured it out.

You don't necessarily need that first slash. You can still write a correct path to the file without it. The first slash is saying start at the root and and I think it often makes it easier to write the correct path.

Glad you got everything worked out. I know how frustrating things can be, especially in the beginning as you're just getting started. On the positive side I bet you never forget not to name index.html as Index.html. It's actually good practice to use lower case for all your file names.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to error when trying to open index.html
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.56687 seconds with 12 queries