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

Fixed  View image bug? (logged out attachment)

calorie

Active member
#1

BTW, nice that [list] keeps the spacing.
 

Mike

XenForo developer
Staff member
#3
The trailing slash is actually correct. What browser?

Can you use a HTTP header inspector to see what cookies are being sent with the request?
 

calorie

Active member
#4
Live HTTP headers output...
Code:
----------------------------------------------------------
http://xenforo.com/community/attachments/8-3-10-10-08-55-am-gif.307/

GET /community/attachments/8-3-10-10-08-55-am-gif.307/ HTTP/1.1
Host: xenforo.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.11) Gecko/20100701 Firefox/3.5.11 ( .NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://xenforo.com/community/threads/view-image-bug.1042/
Cookie: foro_session=<removed>; foro_user=271%<removed>
If-Modified-Since: Tue, 03 Aug 2010 18:09:58 GMT

HTTP/1.1 304 Not Modified
Date: Tue, 03 Aug 2010 20:52:13 GMT
Server: Apache/2.2.3 (Red Hat)
Connection: close
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, max-age=0
----------------------------------------------------------
Other attachments I'm able to view.
 

Mike

XenForo developer
Staff member
#5
If you go to the URL where you got an error and hard refresh (ctrl+f5), does it work then? Wondering if it's a 304 not modified issue...
 

calorie

Active member
#7
Hmm, I could have sworn I hard refreshed before starting this thread, just to be sure I was getting what I was getting, but I didn't hard refresh when getting the headers, so that explains the 304 not modified. Refreshing again just now does show that image. No more error message. Sorry for the report. :oops:
 

Brogan

XenForo moderator
Staff member
#12
What OS and browser are you using?

I have tried with Win 7 + FF, IE8 and Chrome and Vista + FF, IE7 and Chrome and haven't come across that problem (yet).
 
#17
I just had a similar issue trying to view this image http://xenforo.com/community/attachments/screen-shot-2010-07-31-at-04-35-35-png.104/

Try to recreate:-
View forum (not logged in)
Browsed to this thread http://xenforo.com/community/threads/xenforo-overview.567/
Clicked link in Section 9 - SMTP (More Information)
Attempted to open image in Post 2 (Still not logged in)
Opens login page in new tab
Try logging in and get login / security error (Shows correct user details in top nav bar though)
Close new tab and refresh original thread page
Shows correct user details in top nav bar ( viewImage1.jpg )
Try clicking on image again and get login page. ( viewImage2.jpg )
Try logging in again and shows login error ( viewImage3.jpg )

OS - Windows XP
Browser - FF 3.6.8