1 (edited by gaouzief 2004-01-14 16:13)

Topic: Messagesnot showing up

Hello,

The forum Home pages shows for example 2 messages
extern.php shows the latest messages

but when i go to the forum where the messages are supposed to be, I get "empty forum" ????

the url: http://www.can2004-info.com/forum/index.php

Re: Messagesnot showing up

Hmm, I don't understand. You have two posts in the forum "Groupe A | Tunisie - Rwanda - R.D. Congo - Guinée" and going there works fine.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Messagesnot showing up

exactly what i'm saying
http://www.can2004-info.com/forum/viewforum.php?id=3 says "Forum vide" which means empty forum whereas there should be 2 messages (one topic)

Re: Messagesnot showing up

Well, it sure doesn't say that for me. See:

http://w1.421.telia.com/~u42121130/can2004.png

Are you sure you aren't viewing a cached version of the page or something?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Messagesnot showing up

Ok,

Problem corrected, it was my browser caching an old version

Does Punbb send any header to prevent caching ?

something like "pragma: nocache"; that's extremely usefull to avoid such situations

Sorry for the "Noise"

Re: Messagesnot showing up

Yes, it does. It sends a few headers. Have a look at the top of header.php.

Might I ask what kind of browser you are using? Also, are you using a proxy?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

7 (edited by gaouzief 2004-01-14 16:35)

Re: Messagesnot showing up

Browser: IE5.5
i've taken a look at the headers they seem ok

May i suggest that you add max_age=0 in:

header ("Cache-Control: no-cache, must-revalidate, max_age=0");

and also i think what could create some trouble is :

header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');

in case there are some issues with server vs client time or the server time is not set correctly

but i'm not an expert at headers and browser caching behaviour smile)

Thanks for the replies

Re: Messagesnot showing up

Ok. I've never had cache problems with IE. Lots of problems with Opera though. I'll have a look at the headers later tonight.

"Programming is like sex: one mistake and you have to support it for the rest of your life."