Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-01-14 18:42:49

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Body with class "not-ready": white windows

I’ve installed today for the first time a current 4.7 Nightly (ca35d2b55fd5aff59013dac0bcdaeaa3). In one FF the body has class “not-ready” (white page for opacity=“0”), another FF (same version but no extensions) displays the body. Are there any reasons why this TXP version behaves like that?

Edit: This one FF seems to be the only one with class not-ready, BTW. All other tested browsers and FF instances don’t have that behaviour.

Edit 2 after transferring topic to “Troubleshooting” : I’ve now disabled all extensions and disabled cache, but no changes. Where else can I drill?

Last edited by uli (2018-01-14 19:51:03)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#2 2018-01-14 22:28:29

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,081
Website

Re: Body with class "not-ready": white windows

uli wrote #308667:

In one FF the body has class “not-ready” (white page for opacity=“0”), another FF (same version but no extensions) displays the body.

The class is normally removed on `dom-ready` or something

  1. enable debug in the TXP install
  2. check the console in Firefox for possible JS errors

Same version of Firefox?


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#3 2018-01-14 22:36:13

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: Body with class "not-ready": white windows

Empty/refresh the cache?

Offline

#4 2018-01-14 23:06:31

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,081
Website

Re: Body with class "not-ready": white windows

Also – remove any cookie and local storage data for that domain.

local storage can be removed from the “storage” tab in the developer tools.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2018-01-16 12:40:51

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Body with class "not-ready": white windows

Thanks for your help, guys! For whatever reason, local storage was turned off, and 4.7 uses that feature, different from 4.6.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2018-01-16 12:47:33

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,273
Website GitHub

Re: Body with class "not-ready": white windows

uli wrote #308689:

local storage was turned off

Wasn’t aware it could be turned off! Is our reliance on it going to cause a problem? Or do we need to state it’s a requirement – the same as enabling cookies is a requirement, otherwise you’d need to log in every time you clicked an admin-side panel.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#7 2018-01-16 12:49:51

etc
Developer
Registered: 2010-11-11
Posts: 5,055
Website GitHub

Re: Body with class "not-ready": white windows

uli wrote #308689:

For whatever reason, local storage was turned off, and 4.7 uses that feature, different from 4.6.

That’s weird, localStorage is already used in 4.6, though we have added new data in 4.7…

Offline

#8 2018-01-16 12:50:55

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,081
Website

Re: Body with class "not-ready": white windows

uli wrote #308689:

For whatever reason, local storage was turned off, and 4.7 uses that feature, different from 4.6.

Uh, I didn’t know either that you could turn it off. And yes, as far as I understand it , 4.7 uses it more than 4.6. depending on which panel you land, that might cause problem (Oleg will know …)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#9 2018-01-16 13:02:33

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Body with class "not-ready": white windows

etc wrote #308691:

That’s weird, localStorage is already used in 4.6

Ah, you are right: I just saw I made a diff between 4.5.7’s JS file and the 4.7 one.

I’ve fiddled and tweaked some settings in about:config for privacy/tracking reasons.

Bloke wrote #308690:

Or do we need to state it’s a requirement – the same as enabling cookies is a requirement

I guess there are more folks conscious about cookies than about local storage. But hinting at possible problems is always a good thing, I think. But I might be biased here ;)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#10 2018-01-16 13:04:26

etc
Developer
Registered: 2010-11-11
Posts: 5,055
Website GitHub

Re: Body with class "not-ready": white windows

Should be patched now, with localStorage disabled settings are not remembered, but, at least, you don’t get a blank page (sorry for that).

Offline

#11 2018-01-16 13:38:29

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: Body with class "not-ready": white windows

OK, I should be a little more precise so no fault creeps in: The setting I altered is named dom.storage.enabled. Sorry for any inconvenience I might have caused.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB