I have a safecracker file displaying the URL twice:

 <a href="{contract}" target="_blank">View Contract</a>

It's displaying like so:


Any thoughts?


I would recommend taking a look at your upload locations setup. It looks like something may be set incorrectly for the location's URL. (This could be setup through the CP or in your config.php)

  • Hi Jeremy - I'm using the same upload directory for lots of other parts of the site and there are no issues. – Jon Nixon Sep 25 '13 at 15:28
  • Well that's odd indeed then. Are these uploads coming from a Safecracker form? Or are they uploaded through the CP? The only thing is if you're using relative paths, it may be saving the paths differently somehow. – Jeremy Gimbel Sep 25 '13 at 15:41
  • 1
    You might also look directly in the database to see what data is being stored. – Anna_MediaGirl Sep 25 '13 at 15:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.