Forum unreadable following update from 3.1.10 to 3.2

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
MaGie70
Registered User
Posts: 3
Joined: Mon Jan 30, 2017 8:13 am

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by MaGie70 »

Thank you all for clearing things up. Since my forum had big problems during the upgrade, including it being unreadable, I wanted to give my users some advice.

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22083
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by Mick »

MaGie70 wrote:
Wed Feb 01, 2017 10:58 pm
I wanted to give my users some advice
If I were you, I'd keep schtum, need to know only basis ;)
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
janus_zonstraal
Registered User
Posts: 4073
Joined: Sat Aug 30, 2014 1:30 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by janus_zonstraal »

Lumpy Burgertushie wrote:
Wed Feb 01, 2017 6:17 pm
so far, I have not seen a single instance where the normal users have seen these problems after the owner updates. so far , it has only been the board owner/updater that has the css cache problem.

robert
I got plenty complains about the cache issue, from members of several boards.
Sorry! My English is bat ;) !!!

User avatar
Mick
Support Team Member
Support Team Member
Posts: 22083
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket.

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by Mick »

janus_zonstraal wrote:
Wed Feb 01, 2017 11:11 pm
I got plenty complains about the cache issue, from members of several boards
Have you got examples?
"The more connected we get the more alone we become" - Kyle Broflovski

Please read: “Am I In The Right Place?” before posting.

User avatar
janus_zonstraal
Registered User
Posts: 4073
Joined: Sat Aug 30, 2014 1:30 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by janus_zonstraal »

All the complains are in Dutch :-)

But several from my board https://www.zonstraal.be/forum/
And a lot from this board https://www.schildklier-forum.nl/
Sorry! My English is bat ;) !!!

buksida
Registered User
Posts: 308
Joined: Thu Feb 04, 2010 9:11 am

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by buksida »

It does seem that a lot of people are having this css cache issue (admins and users alike), so it would be pertinent to warn readers/members with a notice in the header that they have to hard refresh their browsers after the update to prevent them seeing a totally screwed up forum. I know I had to with the four forums I manage.

User avatar
P_I
Registered User
Posts: 1035
Joined: Tue Mar 01, 2011 8:35 pm
Location: Calgary
Contact:

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by P_I »

buksida wrote:
Thu Feb 02, 2017 12:31 am
so it would be pertinent to warn readers/members with a notice in the header that they have to hard refresh their browsers after the update to prevent them seeing a totally screwed up forum.
I've been investigating that, the challenge is timing the announcement so that member and lurkers can actually read it before you update the forum.
From the comments in tracker, there is already some cache busting built into the phpBB code, but clearly not enough.

I've been researching this further in preparation for rolling out forum upgrades in the near future. I found HTTP Caching  |  Web  |  Google Developers which might offer some clues or steps that can be taken on the server side to mitigate or eliminate the problem. Particularly
Google wrote:"no-store" is much simpler. It simply disallows the browser and all intermediate caches from storing any version of the returned response—for example, one containing private personal or banking data. Every time the user requests this asset, a request is sent to the server and a full response is downloaded.
I haven't tested it out yet, but I'm thinking that once I know the timing of updating my forum I could/should add to my .htaccess file:

Code: Select all

<IfModule mod_headers.c>
# Update coming with known CSS changes, prevent caching
<FilesMatch ".(js|css|swf)$">
 Header set Cache-Control "no-store"
</FilesMatch>
</IfModule>
Once the upgrade has been completed, then remove this directive.
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams

buksida
Registered User
Posts: 308
Joined: Thu Feb 04, 2010 9:11 am

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by buksida »

Thanks for that, please let us know if it works.

I can see many confused readers looking at totally messed up forums here because they haven't done the hard refresh.

User avatar
P_I
Registered User
Posts: 1035
Joined: Tue Mar 01, 2011 8:35 pm
Location: Calgary
Contact:

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by P_I »

I've now tested this on my local testbed (CentOS 7) and can confirm it works.

While the forum was running phpBB 3.1.10 with prosilver board style, I added the following code to the .htaccess file in the board root directory.

Code: Select all

<IfModule mod_headers.c>
# phpBB 3.2 upgrade coming with CSS changes, prevent caching
<FilesMatch ".(ico|gif|jpg|jpeg|png)$">
 Header set Cache-Control "no-store"
</FilesMatch>
<FilesMatch ".(js|css|swf)$">
 Header set Cache-Control "no-store"
</FilesMatch>
</IfModule>
I then disabling board (via ACP) and upgraded to phpBB 3.2.0 using these instructions with two exceptions a) I kept the ext/ directory and b) I used the command line method to update the database.

Once the upgrade has been completed, then remove these directives.

At no time during the upgrade process there were no "weird characters" of hanging Quick links menus, which have generally been the observed behaviours reported above.

Hope this helps somebody,
P_I
Normal people… believe that if it ain’t broke, don’t fix it. Engineers believe that if it ain’t broke, it doesn’t have enough features yet. – Scott Adams

User avatar
larryl9797
Registered User
Posts: 29
Joined: Thu Feb 15, 2007 2:07 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by larryl9797 »

Any resolution for those boards that upgraded this morning (like mine) . Some of my user's are reporting screwed-up characters also. Most are too stupid to figure out CTRL + F5.. Would be good to do it for them.

User avatar
DavidIQ
Customisations Team Leader
Customisations Team Leader
Posts: 17138
Joined: Thu Jan 06, 2005 1:30 pm
Location: Fishkill, NY
Name: David Colón
Contact:

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by DavidIQ »

larryl9797 wrote:
Thu Feb 02, 2017 6:14 pm
Any resolution for those boards that upgraded this morning (like mine) . Some of my user's are reporting screwed-up characters also. Most are too stupid to figure out CTRL + F5.. Would be good to do it for them.
The advice about changing .htaccess is not really recommended for anyone as this disables the browser cache for sites. Even if it was temporary for the upgrade it would not be a guaranteed benefit for much of anyone as it would require those users have visited the site during that time.

Try the following:
Open up styles/prosilver/theme/stylesheet.css
Replace the contents with:

Code: Select all

/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.1.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?v=3.2");
@import url("base.css?v=3.2");
@import url("utilities.css?v=3.2");
@import url("common.css?v=3.2");
@import url("links.css?v=3.2");
@import url("content.css?v=3.2");
@import url("buttons.css?v=3.2");
@import url("cp.css?v=3.2");
@import url("forms.css?v=3.2");
@import url("icons.css?v=3.2");
@import url("colours.css?v=3.2");
@import url("responsive.css?v=3.2");
Then also purge the forum cache and see if that helps your users.
Apply to become a Jr. Extension Validator
My extensions | In need of phpBB services? | Was I helpful today?
No unsolicited PMs unless you're planning on asking for paid help.

User avatar
larryl9797
Registered User
Posts: 29
Joined: Thu Feb 15, 2007 2:07 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by larryl9797 »

Thanks, Will give it a try. There is a game tonight so most of my users will be active http://CCSUFANS.COM

User avatar
larryl9797
Registered User
Posts: 29
Joined: Thu Feb 15, 2007 2:07 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by larryl9797 »

DavidIQ wrote:
Thu Feb 02, 2017 6:52 pm
larryl9797 wrote:
Thu Feb 02, 2017 6:14 pm
Any resolution for those boards that upgraded this morning (like mine) . Some of my user's are reporting screwed-up characters also. Most are too stupid to figure out CTRL + F5.. Would be good to do it for them.
The advice about changing .htaccess is not really recommended for anyone as this disables the browser cache for sites. Even if it was temporary for the upgrade it would not be a guaranteed benefit for much of anyone as it would require those users have visited the site during that time.

Try the following:
Open up styles/prosilver/theme/stylesheet.css
Replace the contents with:

Code: Select all

/*  phpBB3 Style Sheet
    --------------------------------------------------------------
	Style name:			prosilver (the default phpBB 3.1.x style)
	Based on style:
	Original author:	Tom Beddard ( http://www.subblue.com/ )
	Modified by:		phpBB Limited ( https://www.phpbb.com/ )
    --------------------------------------------------------------
*/

@import url("normalize.css?v=3.2");
@import url("base.css?v=3.2");
@import url("utilities.css?v=3.2");
@import url("common.css?v=3.2");
@import url("links.css?v=3.2");
@import url("content.css?v=3.2");
@import url("buttons.css?v=3.2");
@import url("cp.css?v=3.2");
@import url("forms.css?v=3.2");
@import url("icons.css?v=3.2");
@import url("colours.css?v=3.2");
@import url("responsive.css?v=3.2");
Then also purge the forum cache and see if that helps your users.

Tested and can confirm this resolves my issue. Had Mobile device that was experiencing this. Modded stylesheet.css and it cleared up. Also purged cache and sessions.


THANKS!!!!!

User avatar
chanlon1
Registered User
Posts: 187
Joined: Wed Mar 09, 2005 10:01 pm
Location: Belfast, N. Ireland
Contact:

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by chanlon1 »

Hi,
I updated my site tonight from 3.1.10 to 3.2.0
Everything went successfully, however, I got exactly the same muddled graphics appearing.
I can confirm that the above stylesheet changes remove this.

Good job ... thanks

atom0s
Registered User
Posts: 6
Joined: Sun Jan 15, 2017 9:09 pm

Re: Forum unreadable following update from 3.1.10 to 3.2

Post by atom0s »

Another thing to note is if you use Cloudflare, be sure to purge your sites cache on their site panel for your forum.
Cloudflare support for phpBB 3.1.10+ / 3.2.x - https://github.com/atom0s/phpbb-extension-cloudflare

Post Reply

Return to “[3.2.x] Support Forum”