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.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
My well working and validated website fell apart after upload.
Old 03-16-2009, 05:08 AM My well working and validated website fell apart after upload.
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
I just uploaded my first hand coded website.

Before upload: everything worked in Safari and Firefox. It passed the xhtml and the css validation without any error.

Now I upload it, and nothing works.

Nothing at all.

The iframe element stays dark. When I click on a thumbnail, nothing shows up in the iframe. The logo didn't load at all.

I put it in the same folder where the old site was (created with iWeb).

Looks like the upload destroyed my site.

I only get an index, and when I click on the name of the title page, I get the destroyed design.

What went wrong in the upload?
World is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-16-2009, 05:14 AM Re: My well working and validated website fell apart after upload.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,526
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No idea.



hint: any chance of seeing the problem first hand?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2009, 05:37 AM Re: My well working and validated website fell apart after upload.
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
My site is working now. Thanks to the great customer support by my webhost, Synhosting.

As far as I can tell, I named the folder for images "IMAGES" and that all-caps was a problem. Now it's "images" and it works.

I also didn't name the front page of the site "index.html", which probably was the second reason for my problem.

Looks like you have to call your front page "index.html" or the server software doesn't know what to do with it (or maybe it's the browser who gets confused when there's no "index.html").

Last edited by World; 03-16-2009 at 05:56 AM..
World is offline
Reply With Quote
View Public Profile
 
Old 03-16-2009, 06:02 AM Re: My well working and validated website fell apart after upload.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,526
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
There are obviously some rules to follow on how to put a site on a server
just two really:

1: files have to be in the same places relatively and not referenced as "file:////C:\Documents and Settings\My Name\My Webs\website\filename.ext"

2: Just remember that Windows is NOT case sensitive but Unix/Linux servers ARE. So "MyPicture.JPG is NOT the same as mypicture.jpg once it gets on the server.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-16-2009, 07:17 PM Re: My well working and validated website fell apart after upload.
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
Quote:
Originally Posted by chrishirst View Post
just two really:

1: files have to be in the same places relatively and not referenced as "file:////C:\Documents and Settings\My Name\My Webs\website\filename.ext"

In the same places relatively to what? And not referenced regarding what?

Could you expand on that?


PS: with my host you really do have to call your main page index.htm.
World is offline
Reply With Quote
View Public Profile
 
Old 03-16-2009, 09:20 PM Re: My well working and validated website fell apart after upload.
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,526
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
And not referenced regarding what?
If you are building the site with a WYSiWYG package on the HD of your machine, they will often use absolute referencing to the files and images etc (C:\path\) rather than a relative reference from the document or the site root (/path/file.ext). Hardcoding the drive letter and folders is of no use once you upload the site, because there probably isn't going to be a C:\Documents and Settings\ folder and even if there is, your site files will NOT be in it.

My short piece on includes shows relative addressing better than I could explain it.
http://www.candsdesign.co.uk/article...side-includes/

There are a few "standard" default document file names you can use. index.htm, index.html, index.php, index.shtm, index.shtml are the usual ones for Apache, but you can add to this list if .htaccess overrides are enabled.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-17-2009, 01:30 AM Re: My well working and validated website fell apart after upload.
World's Avatar
Extreme Talker

Posts: 202
Location: Santa Monica, CA
Trades: 0
Thanks for the link.

I had actually hand coded the site, as I don't even own a WYSIWYG application, as I erased iWeb from my hard drive.

So, that means I had relative references.

It was really the case sensitivity and the naming of the main page as "index.html" that I had to change.
World is offline
Reply With Quote
View Public Profile
 
Old 03-17-2009, 05:49 AM Re: My well working and validated website fell apart after upload.
~ServerPoint~'s Avatar
Defies a Status

Posts: 1,687
Name: Travis
Trades: 0
Quote:
Thanks for the link.

I had actually hand coded the site, as I don't even own a WYSIWYG application, as I erased iWeb from my hard drive.

So, that means I had relative references.

It was really the case sensitivity and the naming of the main page as "index.html" that I had to change.
I believe that you can also preview your web site beforehand on you PC. That is not a problem to test html files there
__________________
ServerPoint.com - a true hosting company since 1998
Web Hosting, colocation,
Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
~ServerPoint~ is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to My well working and validated website fell apart after upload.
 

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.27288 seconds with 12 queries