Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Upload paths are not working properly

 

 


steve_e
User

Nov 25, 2011, 9:12 AM

Post #1 of 4 (602 views)
Shortcut
Upload paths are not working properly Can't Post

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


(This post was edited by steve_e on Nov 25, 2011, 9:13 AM)


Damon
Staff / Moderator


Nov 25, 2011, 10:04 AM

Post #2 of 4 (596 views)
Shortcut
Re: [steve_e] Upload paths are not working properly [In reply to] Can't Post

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/


steve_e
User

Nov 25, 2011, 10:48 AM

Post #3 of 4 (593 views)
Shortcut
Re: [Damon] Upload paths are not working properly [In reply to] Can't Post

Hi Damon -
Yes the general settings URL and folder are set correctly.
I did at one stage have the individual field set to a custom folder, but have turned this back off again, so they should be using the general settings specified.

However, as you have seen, the path seems to disappear completely when I create new records or amend (by re-uploading) old ones.

Regards, Steve.


Damon
Staff / Moderator


Nov 25, 2011, 10:59 AM

Post #4 of 4 (591 views)
Shortcut
Re: [steve_e] Upload paths are not working properly [In reply to] Can't Post

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/