1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 Pictures showing as attachments

Discussion in 'XenForo Questions and Support' started by Rigo, May 25, 2016.

  1. Rigo

    Rigo Active Member

    Starting yesterday, pictures in the forums are now showing as a text that says "View attachment XXXX" Why is the picture now showing instead?

  2. Chris D

    Chris D XenForo Developer Staff Member

    This would usually only happen if the process we use to convert [ATTACH] tags to actual attachment and data records is not working, or if you don't have permission to view the attachment. I've been on your forum, and it doesn't appear to be a permission issue as I can view the attachments when I click the link.

    Is this affecting all posts in the forum? What changes did you make before yesterday?

    My initial suspicion is an add-on so it may be worth disabling all add-ons to see if that brings them back.
    Rigo likes this.
  3. Rigo

    Rigo Active Member

    I disabled all add-ons and the issue still remains. I have not done any changes to the forum and it's only on some sections of the forum not all the forums. I checked the permissions and they look good to me. For example, I posted this yesterday and when I submitted it, it was fine. Today, it has the text instead of the actual image http://www.collectorsunleashed.com/forum/threads/my-new-car.3195/
  4. Rigo

    Rigo Active Member

    Now with all add-ons disabled, I click on the attachment link and it says I do not have permissions.
  5. Rigo

    Rigo Active Member

    I see what is going on now. It seems that these posts are not showing the images once they are also added to the article add-on created by @wang
    If I disable the add-on, the attachment links do not work and go to a "you don't have permissions error page". If it is enabled, you can click on the attachment link but it's just a link, not a picture showing as I wanted it.
  6. Chris D

    Chris D XenForo Developer Staff Member

    It sounds like the add-on might be doing something to the attachment records when they are added to that add-on. For example, if it switches the attachment content_type and content_id to something else then it could cause this.

    At this point it might be worth continuing the troubleshooting with the author of that add-on.
    Rigo likes this.
  7. Rigo

    Rigo Active Member

    Thank you @Chris D for your fast reply and support to my issue. I have posted this to the original add-on.
  8. wang

    wang Well-Known Member

    If all add ons are disabled and you still have the issue, then the problem might not be in the add ons. Otherwise the issues would have been solved once all add ons are disabled.
  9. Chris D

    Chris D XenForo Developer Staff Member

    Not necessarily. See my post above.

    It may be worth continuing the discussion in the add on thread rather than posting across two different threads.
    wang likes this.

Share This Page