I need to refresh everytime.

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
User avatar
Polaire
Registered User
Posts: 8
Joined: Thu Aug 20, 2015 4:42 pm

I need to refresh everytime.

Post by Polaire »

What version of phpBB are you using? phpBB 3.2.11
What is your board's URL? https://forum.fibromyalgiesos.fr/
Who do you host your board with? apache
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Restauration en DB (forum and wordpress)
Is registration required to reproduce this issue? Yes
Do you have any extensions installed? Yes
What version of phpBB3 did you update from? duno
What extensions do you have installed? EXTENSION NAME CURRENT VERSION OPTIONS ACTIONS
Enabled Extensions
Scroll To Up and Bottom
What styles do you currently have installed? SE Square Left
What language(s) is your board currently using? French
Which database type/version are you using? MySQL(i) 5.6.50-log
What is your level of experience? Depend
What actions did you take (updating your board; installing a MOD, style or extension; etc.) prior to this problem becoming noticeable? Refresh, purge cache, synchronize every forum

Hello, recently at the slightest action I need to refresh the page to see the effect. For example when a subject is published, once written we return to the list of subjects it does not appear: you have to refresh the page to see it. Every action need a refresh. It's obviously a cache problem but I returned all the forums without finding a really conclusive answer. Any ideas ?

Thank you !
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: I need to refresh everytime.

Post by thecoalman »

It would appear the server is overriding the headers set by phpBB, you will probably need to contact host. Specifically it's adding:

Code: Select all

cache-control: max-age=604800, public
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
Polaire
Registered User
Posts: 8
Joined: Thu Aug 20, 2015 4:42 pm

Re: I need to refresh everytime.

Post by Polaire »

thecoalman wrote: Mon Apr 19, 2021 9:09 pm

Code: Select all

cache-control: max-age=604800, public
I found it in the .htaccess , Should I change the value?

Thank you for the answer. :)
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5871
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: I need to refresh everytime.

Post by thecoalman »

If the .htaccess file is in phpBB directory that line should not be there at all.

This is default .htaccess that comes with 3.2.11

Code: Select all

<IfModule mod_rewrite.c>
RewriteEngine on

#
# Uncomment the statement below if URL rewriting doesn't
# work properly. If you installed phpBB in a subdirectory
# of your site, properly set the argument for the statement.
# e.g.: if your domain is test.com and you installed phpBB
# in http://www.test.com/phpBB/index.php you have to set
# the statement RewriteBase /phpBB/
#
#RewriteBase /

#
# Uncomment the statement below if you want to make use of
# HTTP authentication and it does not already work.
# This could be required if you are for example using PHP via Apache CGI.
#
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

#
# The following 3 lines will rewrite URLs passed through the front controller
# to not require app.php in the actual URL. In other words, a controller is
# by default accessed at /app.php/my/controller, but can also be accessed at
# /my/controller
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ app.php [QSA,L]

#
# If symbolic links are not already being followed,
# uncomment the line below.
# http://anothersysadmin.wordpress.com/2008/06/10/mod_rewrite-forbidden-403-with-apache-228/
#
#Options +FollowSymLinks
</IfModule>

# With Apache 2.4 the "Order, Deny" syntax has been deprecated and moved from
# module mod_authz_host to a new module called mod_access_compat (which may be
# disabled) and a new "Require" syntax has been introduced to mod_authz_host.
# We could just conditionally provide both versions, but unfortunately Apache
# does not explicitly tell us its version if the module mod_version is not
# available. In this case, we check for the availability of module
# mod_authz_core (which should be on 2.4 or higher only) as a best guess.
<IfModule mod_version.c>
	<IfVersion < 2.4>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>
	</IfVersion>
	<IfVersion >= 2.4>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfVersion>
</IfModule>
<IfModule !mod_version.c>
	<IfModule !mod_authz_core.c>
		<Files "config.php">
			Order Allow,Deny
			Deny from All
		</Files>
		<Files "common.php">
			Order Allow,Deny
			Deny from All
		</Files>
	</IfModule>
	<IfModule mod_authz_core.c>
		<Files "config.php">
			Require all denied
		</Files>
		<Files "common.php">
			Require all denied
		</Files>
	</IfModule>
</IfModule>
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Post Reply

Return to “[3.2.x] Support Forum”