Upload paths are not working properly

4 posts by 2 authors in: Forums > CMS Builder
Last Post: November 25, 2011   (RSS)

By steve_e - November 25, 2011 - edited: November 25, 2011

Hi -
I have had some detail pages that were working perfectly well until recently. However (and this might have co-incided with a long overdue upgrade about three months ago) something strange is happening.

Images that are uploaded for certain fields are not displaying - when I check the source I often find that the path to the image is completely missing (so it only displays the filename).

I have the URL path set in 'General Settings'. I have tried various different things, such as setting custom paths and then unsetting them. I've checked everything I can think of but nothing seems to work.

One odd thing is that I'd expect old detail pages to follow suit as they are constructed 'on-the-fly' from the template file and the database, but the older records seem to work perfectly well. However, if I remove and re-upload the image it disappears (the path and the image)

Here's an example of an old record with the path and image still working (best practice logo top right): http://www.eyps.info/providers/Providerpage.php/7

And here's one that worked perfectly well until a few minutes ago when I deleted and re-uploaded the same image: http://www.eyps.info/providers/Providerpage.php/13.

As far as I can remember I haven't changed the template file, but can't swear to it. But I'd have thought it would have treated all files the same if it was the template causing the issue.

Any help would be gratefully received - it's one of those tear your hair out things which is probably perfectly obvious...

Re: [steve_e] Upload paths are not working properly

By Damon - November 25, 2011

Hi Steve,

The record that displays the image correctly here:
http://www.eyps.info/providers/Providerpage.php/7
has this code for the image:
<img src="/cmsadmin/uploads/BPN-logo-2010.png" alt="" height="74" width="172"><br>


The record that doesn't display the image correctly here:
http://www.eyps.info/providers/Providerpage.php/13
has this code for the image:
<img src="AngliaRuskinLogo_300dpi_Alt_text_%28300_x_125%29.jpg" alt="" height="125" width="300">

The image is actually located here:
http://www.eyps.info/cmsadmin/uploads/AngliaRuskinLogo_300dpi_Alt_text_%28300_x_125%29.jpg

In CMS Builder, under Admin > General Settings, go to Directories & URLs part of the page.

Make sure that both the "Upload Directory" and the "Upload Folder URL" are correct.

Let me know if that solves the issue.
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [steve_e] Upload paths are not working properly

By Damon - November 25, 2011

Sounds like we will need to take a closer look into this.

Can you send in a 2nd leveol support request here:
https://www.interactivetools.com/support/email_support_form.php

Thanks!
Cheers,
Damon Edis - interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/