boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

upgrade problem
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    boardom Forum Index -> Installation issues
View previous topic :: View next topic  
Author Message
Jasonr



Joined: 14 Sep 2002
Posts: 5
Location: WA USA

PostPosted: Tue Nov 05, 2002 8:33 pm    Post subject: upgrade problem Reply with quote

After upgrading B2 from .6pre to 0.6.1, I been experiencing this problem: when I try and update my template, it says that the file has been edited, but when I visit the website, it hasn't. Any ideas what the problem may be?
_________________
Simple12 Network
Back to top
View user's profile Send private message Send e-mail AIM Address
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Wed Nov 06, 2002 12:21 am    Post subject: Reply with quote

Just force the refresh. That's a bug in MSIE, it seems...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
MiniSizeIt



Joined: 02 Nov 2002
Posts: 70

PostPosted: Wed Nov 06, 2002 4:36 am    Post subject: Reply with quote

.6 pre never had this problem, but with .6.1, I have to do a forced refresh just to see anything updated. Sad
Back to top
View user's profile Send private message
Jasonr



Joined: 14 Sep 2002
Posts: 5
Location: WA USA

PostPosted: Wed Nov 06, 2002 9:04 am    Post subject: Reply with quote

Sorry for a newb-like reply, but what would you consider a 'forced refresh'?

_________________
Simple12 Network
Back to top
View user's profile Send private message Send e-mail AIM Address
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Wed Nov 06, 2002 9:06 am    Post subject: Reply with quote

OK, let's see if this fixes your problem:

Open blog.header.php, look for these lines:
[php:1:ed7ebcb4bf]@header ("Last-Modified: $last_modified_header");
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');[/php:1:ed7ebcb4bf]
Replace them with these lines:
[php:1:ed7ebcb4bf]if (!$is_winIE) {
@header ("Last-Modified: $last_modified_header");
@header ('ETag: "'.md5($last_modified_header.$pagenow).'"');
}[/php:1:ed7ebcb4bf]
Next, look if you can refresh in MSIE.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
redletter



Joined: 06 Nov 2002
Posts: 1

PostPosted: Wed Nov 06, 2002 3:33 pm    Post subject: tnx Reply with quote

this worked for me Very Happy
Back to top
View user's profile Send private message Send e-mail
Jasonr



Joined: 14 Sep 2002
Posts: 5
Location: WA USA

PostPosted: Wed Nov 06, 2002 8:33 pm    Post subject: Reply with quote

Thx for the help, michel!
Very Happy
_________________
Simple12 Network
Back to top
View user's profile Send private message Send e-mail AIM Address
mikelittle



Joined: 11 May 2002
Posts: 376
Location: UK

PostPosted: Wed Nov 06, 2002 11:38 pm    Post subject: Reply with quote

Michel,
I don't think this is correct. Firstly I use Mozilla and it is showing the same problem.
The problem being that the last_modified date is defined by
$last_modified_header = mysql2date('D, d M Y H:i:s', get_lastpostdate());

This doesn't take into account comments, ping backs, trackbacks, external sources (eg recently updated b2 blogs), or modification to the template(s).

I don't think there is a sensible/quick way to determine the last 'modified' date for the index page.
I'm going to remove it from my code.
Sorry, Sad

Mike
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Thu Nov 07, 2002 3:17 am    Post subject: Reply with quote

Uhm, maybe I should just generate it only for RSS templates then.
It's weird, because on Opera and Mozilla it refreshes fine here...
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Phantom



Joined: 13 Nov 2002
Posts: 1

PostPosted: Wed Nov 13, 2002 8:17 am    Post subject: Reply with quote

These headers should work in IE:

Code:

header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");


I don't remember the exact difference between the two as it was a looong time ago that I first discovered them to work around the "refresh" problem. Since then, it's become pretty much standard for me to use these headers in all php output.
Back to top
View user's profile Send private message
allusion



Joined: 16 Jun 2002
Posts: 73
Location: Houston

PostPosted: Thu Nov 14, 2002 5:59 pm    Post subject: Reply with quote

Just a reminder that this code isn't currently in the zip file downloadable from SF. BTW the new filter function is awesome. Would you like me to write a little explanation for the smart quotes stuff for the documentation?
Back to top
View user's profile Send private message Visit poster's website AIM Address
Hakkai



Joined: 12 Sep 2002
Posts: 28

PostPosted: Sat Nov 30, 2002 12:59 am    Post subject: Reply with quote

is the fix now included with the files from source forge d/l site?
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
forgotten-angel.org



Joined: 16 Nov 2002
Posts: 3
Location: Bronx,NY,NY

PostPosted: Sat Nov 30, 2002 4:44 am    Post subject: Reply with quote

for me when I add a newlayout
and I click view site

I have to take out the extra / before index.php

to see it
_________________
XEROM FORUMS Powerd by VBULLETIN

X_E_R_O_M_X_!
Back to top
View user's profile Send private message Visit poster's website AIM Address
zbrox



Joined: 08 Nov 2002
Posts: 17
Location: Stara Zagora, Bulgaria

PostPosted: Tue Dec 03, 2002 7:25 pm    Post subject: finally? Reply with quote

sorry for asking, but finally what turns out we have to do to fix this annoying problem for IE users?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kraylus



Joined: 03 Dec 2002
Posts: 4

PostPosted: Tue Dec 03, 2002 7:51 pm    Post subject: Reply with quote

you could also go into the Tools>Internet Options menu and click the settings button undearneath temporary internet files. change "check for newer versions of the page" to "everytime you visit the page."

sure, it sucks for dialup users but ehh...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Installation issues All times are GMT + 1 Hour
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group