# Erratic behaviour when clicking an attachment link

**URL:** <https://meta.discourse.org/t/erratic-behaviour-when-clicking-an-attachment-link/27842>\
**Category:** Bug\
**Created:** [April 22, 2015, 7:11pm UTC](https://meta.discourse.org/t/erratic-behaviour-when-clicking-an-attachment-link/27842 "2015-04-22T19:11:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![georgiano](https://avatars.discourse-cdn.com/v4/letter/g/58956e/32.png) [@georgiano](https://meta.discourse.org/u/georgiano)\
**Post date:** [April 22, 2015, 7:11pm UTC](https://meta.discourse.org/t/erratic-behaviour-when-clicking-an-attachment-link/27842/1 "2015-04-22T19:11:34Z")

</div>

> [@](#):
>
> Continuing the discussion from [Clicking an attachment link works only once](https://meta.discourse.org/t/clicking-an-attachment-link-works-only-once/24927/4):

These bugs are probably related.  
My config requires users to be logged on to download attachments.

I have several attachments in one post.

**Firefox**

1. When logged off user first time clicks attachment, popup window appears saying login is required. Any consecutive clicks on the same attachment does nothing.
2. Clicking another attachment renders empty page.

If there is only one attachment in post then see fact 1  
After reloading page same behaviour happens.

**Internet explorer**  
Clicking any attachment always shows 404 error page.

**access.log**  
GET requests on attachments return 404.

---

_[View the full topic](https://meta.discourse.org/t/erratic-behaviour-when-clicking-an-attachment-link/27842)._
