Weird uploading problems
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Weird uploading problems
Weird uploading problems
11-02-2011 8:46 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Just uploaded my website to the htdocs directory using CuteFTP (a dozen or so html pages, some css for the nav buttons, and a couple of pdf files).
Everything seemed to transfer fine BUT:
- the size of each html file now sitting in htdocs is about 1kb less than those I uploaded
- when I check my site online, all of the images within each html files are missing
- I cant get the pdf files to open online
I'm a newbie and I cant locate any guidance on these probs so I'm probably failing to do something blindingly obvious ::). but .... what is it?
Thanks

Re: Weird uploading problems
11-02-2011 8:56 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
The most usual problem with images not displaying or files not being available is that absolute paths have been used instead of relative paths. If you give us your website URL we will probably be able to tell you very quickly what is wrong.
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: Weird uploading problems
11-02-2011 9:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
File sizes do vary from one OS to another - Windows reports 2 different sizes in XP - it shows the file size and then the file on disk size... whatever thats meant to mean! I wouldn't worry about the file sizes being different on the server.
PDF files will be down to your browser and or adobe reader. Have a prowl around your browsers settings for a adobe plugin and check its enabled. Also check your firewall to be sure it adobe reader has access to the internet.
Jelv, you beat me to it

Re: Weird uploading problems
11-02-2011 10:29 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
TBH, I'm really struggling to understand what you're saying! No offence intended but I havent a clue about the difference between relative and fixed paths.


All I can tell you is that, many months ago, I uploaded an NVU-prepared webpage with images on it to my site and it worked fine. This time it hasn't

NVU lets you test the pages out and they worked perfectly on my local system. I uploaded them and they dont work.
As for the pdf files, they too were tested prior to uploading and worked fine until they were uploaded! I'm confident there are no firewall or adobe reader issues.
The file paths are absolutely identical to the paths on my local system. Everything was/is within one directory.
Re: Weird uploading problems
12-02-2011 12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Fixed or relative file paths could be anything.. Say for example you designed your site in c:\mysite - the image paths in your websites html could be pointing to c:\mysite\myimage.jpg instead of simply myimage.jpg. When your browser tries to download the image it requests it from the server as c:\mysite\myimage.jpg which of course won't be available because linux doesn't use a c: drive and secondly you'll have a different file path than \mysite.
Re: Weird uploading problems
12-02-2011 12:51 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Weird uploading problems
12-02-2011 10:46 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
jelv (a.k.a Spoon Whittler) Why I have left Plusnet (warning: long post!) Broadband: Andrews & Arnold Home::1 (FTTC 80/20) Line rental: Pulse 8 Home Line Rental (£14.40/month) Mobile: iD mobile (£4/month) |
Re: Weird uploading problems
12-02-2011 10:52 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
and the links for the images seem to refer to non existent locations
Re: Weird uploading problems
12-02-2011 12:02 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote Not found - 404
URL requested (/logo for website) not found
Thats the parent directory for the images. I've tried going into /circles logo/10x2 etc just in case and that wasn't found either.
To make a long story short, log into your site via ftp again and check to see that the directory with your images is actually there.
EDIT:
This could be the problem:
src="../../logo%20for%20website/circles%20logo/10x2banner%20pib%20homepage.jpg"
Note the ../../ in there. I suspect that the directory containing the images on your local hard drive is outside of the websites parent directory on your hard drive. On the website it needs to be IN the same directory because the users browser can ONLY request files in the same directory on most basic configurations.
What is happening here is that your browser is attempting to call images from a directory 2 levels up from your htdocs folder on your PN hosting. The webserver is unable to serve these images as they're not inside htdocs.
To fix this, you need to move the images directory (logo for website) IN TO your htdocs folder and manually adjust the src= paths by getting rid of ../../ I would highly recommend you do this on your local hard drive too because otherwise the next time you change the page and upload it you will have the same problems all over again.
Re: Weird uploading problems
13-02-2011 5:51 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Should be like this:
http://www.hollytree16.plus.com/logo_for_website/circles_logo/10x2banner_pib_homepage.jpg
Re: Weird uploading problems
13-02-2011 7:35 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Weird uploading problems
13-02-2011 9:16 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator

Right at the start, I said that I'd probably erred in some blindingly obvious way.... and sure enough I had made the very silly newbie mistake of assuming that the images were somehow contained within the html script for each page. Yeah, yeah, silly me


So, in the immortal words of the Fast Show's Mark Williams, "I'll get me coat."

PS. How did Old Jim find my site? He clearly moves in mysterious ways his wonders to perform.
Re: Weird uploading problems
13-02-2011 9:25 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Re: Weird uploading problems
13-02-2011 9:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
It was a guess based on your email address - as a moderator I can see that - and I assumed you wouldn't mind
Quote from: hollytree PS. How did Old Jim find my site? He clearly moves in mysterious ways his wonders to perform.
Re: Weird uploading problems
14-02-2011 12:26 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Quote from: hollytree So, in the immortal words of the Fast Show's Mark Williams, "I'll get me coat."
Seriously don't get yourself down about it, we've ALL done this type of thing. Even once we've been at it a while we still make stupid blunders.
@MC: You might think its bad practice to use spaces in urls but I've known several commercial websites which do it and as far as I'm aware there isn't an RFC which recommends against it. As I've said, all browsers url encode the space anyway which is automatically url decoded at the other end automatically so it doesn't really make any difference

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- Re: Weird uploading problems