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

XF 1.5 Image upload issue...

Discussion in 'XenForo Questions and Support' started by RyanC, Oct 14, 2015.

  1. RyanC

    RyanC Active Member

    So... this is a weird issue that I've just started to get reports of and that I can reproduce.

    So, you start a thread and upload some images. Everything works fine. Then, you reply to that thread and add some more images. You get this error:

    The following error occurred
    There was a problem uploading your file.

    However, if you close your browser (in this case, safari) and reopen, the upload goes fine.

    Any ideas?
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Your forum is quite heavily customised so it's possible an add-on or the style is involved.
    Have you recently upgraded XF or any of the add-ons, or style?

    The first thing to check is whether everything works as expected in a completely default unedited style, with all add-ons disabled.
  3. RyanC

    RyanC Active Member

    I think I have it figured out... If you try to upload images to a thread that has had replies since your last page refresh, the images almost always fail to upload. Could this be a bug?
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Brogan

    Brogan XenForo Moderator Staff Member

    Also, do you have ads displayed to members in or between posts?
  6. RyanC

    RyanC Active Member

    I don't... But, I think I just fixed it...

    I went to admin cp > options >attachments

    And changed "Max attachment file size" from 9000kb to 10000kb. The problem went away...
  7. RyanC

    RyanC Active Member

    Nope. Not fixed... And I've confirmed the issue....

    If you try to upload a file as a reply to a post, but someone has already replied to the same post since your last refresh, you will get the error...
  8. Brogan

    Brogan XenForo Moderator Staff Member

    I have replied to your ticket.

    It actually appears to be related to sessions persistence as I am being force logged out after a few minutes.

Share This Page