Jump to content


The Case Of The Disappearing Posts


  • Please log in to reply
34 replies to this topic

#16 robert

robert

    Forum Peon

  • Members
  • Pip
  • 8 posts

Posted 19 April 2010 - 01:55 PM

View Postrobert, on 19 Apr 2010, 03:53 PM, said:

This should be it

Alright, everyone reading: before attempting to test this bug:
1. Clear website settings, client cache, and server cookies
2. Login to the site
3. Write a post
4. It should show up when reading the forum.
Robert
Volonteer developer for Abandonia
located in Borås, Sweden

#17 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 19 April 2010 - 04:54 PM

It's working!!
No more force refreshing! :P
Thanks Robert!

#18 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 21 April 2010 - 05:54 PM

Alright, here is an update on the situation... :Titan:

Everything worked fine for about.. 3 hours. Then when Frodo came online, she informed me that this wasn't working for her. Well guess what? It's not working for me.. OR ANYONE. :P

So while the forum cache problem was fixed for a few hours, we are now back to square one. :bye:

#19 Frodo

Frodo

    Your neck looks very... tasty!

  • Admin
  • 9535 posts

Posted 21 April 2010 - 07:19 PM

I sent a Private Message to Robert yesterday, to inform him of this.  :Titan:

Fingers crossed that he is working on the problem.  :P
Please click on my dragons to help them grow -    Posted Image   Posted Image   Posted Image

#20 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 30 May 2010 - 01:37 AM

How to Force Refresh a Page:

You probably know that by clicking the "Refresh" button on your browser bar or by pressing the F5 key, your browser refreshes the current page. Sometimes, however, due to webpage time stamps and our forum cache issue, this doesn't always work.. so you can't see the newest posts. To force refresh the page & cache, hold down your CONTROL (Ctrl) key and press F5.

You will need to do this on every page.
Hope this helps some of our forum guests/members. :P

#21 robert

robert

    Forum Peon

  • Members
  • Pip
  • 8 posts

Posted 09 June 2010 - 01:32 PM

View Postadnan, on 16 Mar 2010, 10:06 AM, said:

View PostNick, on 16 Mar 2010, 02:08 AM, said:

View PostFrodo, on 15 Mar 2010, 02:42 PM, said:

You have no attachments in that post.   :blink:

Try posting again, and adding attachments.   :(

I know that Frodo. I am talking about viewing OTHER users attachments. I can't see any of them. And when I try to view them, I get the permission error. :bleh:

Funny thing is that if you press reply and scroll down you will see the image attached by frodo.
I think you are not supposed to download it.
I think it's in IP bord settings admin has to change how attachments are handled.

I ll tell Robert , since I don't have admin account.

I have changed some in the IPB Administration, the forum is not cached anylonger.

Therefor the forum should appear normal, with no posts disappearing.

Rob
Robert
Volonteer developer for Abandonia
located in Borås, Sweden

#22 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 09 June 2010 - 06:41 PM

I don't want to celebrate yet, but for me.... I think it's working. :blink:

You know, I suggested disabling the forum cache a while ago. :bleh: At least I was right.

And thanks for the help Robert. Now we need to see if it works for everyone else as well.:(

#23 Frodo

Frodo

    Your neck looks very... tasty!

  • Admin
  • 9535 posts

Posted 09 June 2010 - 08:49 PM

And it's working for me as well.  This is looking very promising.   :bleh:

Thank Robert, it's appreciated.   :blink:
Please click on my dragons to help them grow -    Posted Image   Posted Image   Posted Image

#24 sup

sup

    Forum Peon

  • Members
  • Pip
  • 6 posts

Posted 18 July 2010 - 04:56 PM

After I made my first post (http://www.reloaded....showtopic=11085), I didn't see the thread in the forum, but I followed the suggestions in post #16 here and it worked.  Thanks.

#25 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 18 July 2010 - 11:10 PM

View Postsup, on 18 Jul 2010, 12:56 PM, said:

After I made my first post (http://www.reloaded....showtopic=11085), I didn't see the thread in the forum, but I followed the suggestions in post #16 here and it worked.  Thanks.

Sorry for the bugs.. hopefully they will be fixed soon. :blink:

#26 Nick

Nick

    Tech-Support Guru

  • Admin
  • 6055 posts

Posted 12 August 2010 - 07:22 AM

Possible Fix to Browser Cache Issue:

We have had this browser cache issue for long enough. It's downright frustrating. I've seen some of Studentis's staff attempt to fix it, but it usually ended in failure. So, I've taken matters into my own hands. Just like I did with our skin problem. And.. it seems like I "fixed" the refresh problem.

Now, it's pretty much impossible to literally fix the "actual" cache issue without server access, but I have come up with a simple solution.. that actually seems to work.

I've inserted a code into the "AR Neo (Default)" theme's header. This code tells the user's browser to NOT load the cache. In simple terms, it ignores the page stored on the user's computer, and loads a fresh one.

<%
Response.Expires = 15
Response.ExpiresAbsolute = Now&#40;&#41; - 2
Response.AddHeader &#34;pragma&#34;,&#34;no-cache&#34;
Response.AddHeader &#34;cache-control&#34;,&#34;private&#34;
Response.CacheControl = &#34;private&#34;
%>

This sort of "by-passes" the current forum cache problem. With this script in our header, pages *should* show new posts when refreshed.. without force refreshing. (CTRL-F5)

This will work in ALL browsers. However, you MUST be using our default AR Neo skin. (Why wouldn't you? :bleh:)

These changes can not be seen instantly though. You must either force refresh every page, or clear your browser cache.

Here are instructions on how to clear your cache, for every browser.

For me, after clearing Google Chrome's cache, pages are loading new posts without force refreshing.

Hope this works. Please post your feedback.  :angry:

#27 Qbix

Qbix

    AR-coholic

  • Members
  • PipPipPipPipPipPip
  • 605 posts

Posted 12 August 2010 - 08:40 AM

I don't see the new cache parameters
wget -S &#34;http&#58;//www.reloaded.org/forum/index.php&#34;
--10&#58;38&#58;19--  http&#58;//www.reloaded.org/forum/index.php
		   => &#96;index.php&#39;
Resolving www.reloaded.org... 94.247.169.19
Connecting to www.reloaded.org|94.247.169.19|&#58;80... connected.
HTTP request sent, awaiting response... 
  HTTP/1.1 200 OK
  Date&#58; Thu, 12 Aug 2010 08&#58;38&#58;17 GMT
  Server&#58; Apache/2.2.8 &#40;Ubuntu&#41; DAV/2 SVN/1.4.6 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g
  X-Powered-By&#58; PHP/5.2.4-2ubuntu5.10
  Set-Cookie&#58; reloaded_forumsession_id=a47cfde885b74f19a37135f5c208c75d; path=/; domain=.reloaded.org; httponly
  Cache-Control&#58; max-age=86400
  Expires&#58; Fri, 13 Aug 2010 08&#58;38&#58;17 GMT
  Connection&#58; close
  Content-Type&#58; text/html
Length&#58; unspecified &#91;text/html&#93;

	&#91;  <=>																											   &#93; 113,291	  472.11K/s			 

10&#58;38&#58;19 &#40;471.99 KB/s&#41; - &#96;index.php&#39; saved &#91;113291&#93;

They are as regular text at the top of the screen though.

#28 Frodo

Frodo

    Your neck looks very... tasty!

  • Admin
  • 9535 posts

Posted 12 August 2010 - 08:43 AM

Hmm, it worked at first, when I cleared my cache.  
But now it seems to... not work again.  I still have to press Ctrl F5 to see new posts.   :angry:
Please click on my dragons to help them grow -    Posted Image   Posted Image   Posted Image

#29 adnan

adnan

    N00b-a-R00b

  • Members
  • PipPip
  • 11 posts

Posted 12 August 2010 - 03:15 PM

View PostNick, on 12 Aug 2010, 07:22 AM, said:

Possible Fix to Browser Cache Issue:

We have had this browser cache issue for long enough. It's downright frustrating. I've seen some of Studentis's staff attempt to fix it, but it usually ended in failure. So, I've taken matters into my own hands. Just like I did with our skin problem. And.. it seems like I "fixed" the refresh problem.

Now, it's pretty much impossible to literally fix the "actual" cache issue without server access, but I have come up with a simple solution.. that actually seems to work.

I've inserted a code into the "AR Neo (Default)" theme's header. This code tells the user's browser to NOT load the cache. In simple terms, it ignores the page stored on the user's computer, and loads a fresh one.

<%
Response.Expires = 15
Response.ExpiresAbsolute = Now&#40;&#41; - 2
Response.AddHeader &#34;pragma&#34;,&#34;no-cache&#34;
Response.AddHeader &#34;cache-control&#34;,&#34;private&#34;
Response.CacheControl = &#34;private&#34;
%>

This sort of "by-passes" the current forum cache problem. With this script in our header, pages *should* show new posts when refreshed.. without force refreshing. (CTRL-F5)

This will work in ALL browsers. However, you MUST be using our default AR Neo skin. (Why wouldn't you? :bleh:)

These changes can not be seen instantly though. You must either force refresh every page, or clear your browser cache.

Here are instructions on how to clear your cache, for every browser.

For me, after clearing Google Chrome's cache, pages are loading new posts without force refreshing.

Hope this works. Please post your feedback.  :angry:

That is ASP code node PHP or Javascript.  It wont work even if you try your hardest ...



To all

Did you receive the newsletter ?

#30 Frodo

Frodo

    Your neck looks very... tasty!

  • Admin
  • 9535 posts

Posted 12 August 2010 - 03:56 PM

View Postadnan, on 12 Aug 2010, 04:15 PM, said:

To all

Did you receive the newsletter ?

I haven't had a newsletter.   :angry:
Please click on my dragons to help them grow -    Posted Image   Posted Image   Posted Image