Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#37 2021-06-26 11:50:28

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

Re: smd_at_work: click to put your site in maintenance mode

Hmm, have you got the latest version?


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

#38 2021-06-26 12:33:04

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 453
Website

Re: smd_at_work: click to put your site in maintenance mode

Interesting issue, I just ran into.

On my error page I use <txp:output_form form="styles" /> to load the styles of my site.

When I turn on smd_at_work’s Maintenance mode, the output form is not loaded. Therefore no styles…


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#39 2021-06-26 12:45:05

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

Re: smd_at_work: click to put your site in maintenance mode

Kjeld wrote #330724:

On my error page I use <txp:output_form form="styles" /> to load the styles of my site. When I turn on smd_at_work’s Maintenance mode, the output form is not loaded.

That’s likely going to be because of Themes rather than specific to the plugin. Recall that forms (pages/styles) are tied to a theme. Until one of the recent versions (4.8.4 or 4.8.5?) where we found an issue with loading forms, the theme context was lost on error pages so it didn’t know where to find the forms.

Are you running Txp 4.8.7? It should work fine on that.


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

#40 2021-06-26 12:52:27

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 453
Website

Re: smd_at_work: click to put your site in maintenance mode

Bloke wrote #330725:

That’s likely going to be because of Themes rather than specific to the plugin. Recall that forms (pages/styles) are tied to a theme. Until one of the recent versions (4.8.4 or 4.8.5?) where we found an issue with loading forms, the theme context was lost on error pages so it didn’t know where to find the forms.

Are you running Txp 4.8.7? It should work fine on that.

That explains it. I am running 4.8.4.

I will upgrade tomorrow.

Thanks, Bloke!


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#41 2021-06-27 04:22:45

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 453
Website

Re: smd_at_work: click to put your site in maintenance mode

Thanks again for the assistance with smd_at_work yesterday, Bloke.

The styles are now loaded.

I have one question:

When maintenance mode is switched on, I also get to see a 503 error status on the public side when I am logged into the admin side.

Is that the way it is supposed to be?


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#42 2021-06-27 05:52:46

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

Re: smd_at_work: click to put your site in maintenance mode

Kjeld wrote #330738:

When maintenance mode is switched on, I also get to see a 503 error status on the public side when I am logged into the admin side.

Is that the way it is supposed to be?

You see the error page (on the public side) in the same browser as the one you are logged in ? That is weird. I can see the public side of the site just fine.


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

Offline

#43 2021-06-27 09:24:14

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

Re: smd_at_work: click to put your site in maintenance mode

Nope. That’s not right, as phiw13 says. Are you using Safari in incognito mode, or something like that? Browsers sometimes don’t share credentials across tabs.


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

#44 2021-06-27 10:25:59

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 453
Website

Re: smd_at_work: click to put your site in maintenance mode

Bloke wrote #330745:

Nope. That’s not right, as phiw13 says. Are you using Safari in incognito mode, or something like that? Browsers sometimes don’t share credentials across tabs.

I am not using a Private Window in Safari, and am logged in as admin (displayed as ‘publisher’).


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#45 2021-06-27 11:22:35

Kjeld
Member
From: Tokyo, Japan
Registered: 2005-02-05
Posts: 453
Website

Re: smd_at_work: click to put your site in maintenance mode

Just logged in on Google Chrome. Same problem…


Old Photos of Japan – Japan in the 1850s~1960s (100% txp)
MeijiShowa – Stock photos of Japan in the 1850s~1960s (100% txp)
JapaneseStreets.com – Japanese street fashion (mostly txp)

Offline

#46 2021-06-27 22:42:36

johnno
Member
Registered: 2007-06-14
Posts: 30

Re: smd_at_work: click to put your site in maintenance mode

Bloke wrote #330723:

Hmm, have you got the latest version?

I have now! Thanks Bloke – latest v0.5.0 works fine with 4.8.7.
Tracking down most recent plugins is complicated.
smd_at_work doesn’t feature in plugins page, whilst (ahem) a certain menagerie only has v.0.22 ;)

Offline

#47 2021-06-27 22:52:52

johnno
Member
Registered: 2007-06-14
Posts: 30

Re: smd_at_work: click to put your site in maintenance mode

Kjeld wrote #330748:

Just logged in on Google Chrome. Same problem…

FWIW just tested Firefox 89.0.2, Brave 1.25.70 and Safari 14.1 each in turn and they all perform as they should when logged in on admin side: the public side shows no 503 error status, whilst maintenance mode is correctly displayed to other logged-out browsers.

Offline

#48 2021-06-27 23:12:28

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

Re: smd_at_work: click to put your site in maintenance mode

johnno wrote #330758:

Tracking down most recent plugins is complicated.

They should all be on plugins.textpattern.com. We’re getting there slowly. Any help appreciated from anyone! The more assistance, the faster it’ll go.

whilst (ahem) a certain menagerie only has v.0.22 ;)

Ack, I’ll update that. Thanks for reminding me.

Edit: Done

Last edited by Bloke (2021-06-27 23:14:47)


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

Board footer

Powered by FluxBB