Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2019-12-24 06:20:33

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,001
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Just a quick one to say that I am also testing the demo site and pasted the following in a new page

<txp:header value="application/xml; charset=utf-8" /><?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc><txp:site_url /></loc></url>
<txp:section_list break="">
<url><loc><txp:section url="1" /></loc></url>
</txp:section_list>
<txp:article_custom section="articles"  limit="9999" status>
<url><loc><txp:permlink /></loc><lastmod><txp:modified format="%Y-%m-%dT%H:%M:%SZ" /></lastmod></url>
</txp:article_custom>
</urlset>

Accessing beta-demo.textpattern.co/index.php?s=sitemap returns a 502 error.


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#22 2019-12-24 06:24:10

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,014
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Did you create site txp-dev.local on your localhost?

Just wanted to say: txp-dev.local is my very local playground.

Offline

#23 2019-12-24 06:48:08

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,001
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Hi Philippe,
I have done the test on Pete’s demos, both on 4.8beta and the dev ones. Maybe I should try the current stable release. It works just fine on the current stable release.

Last edited by colak (2019-12-24 06:51:02)


Yiannis
——————————
neme.org | hblack.net | LABS | State Machines | NeMe @ github | Covid-19; a resource
I do my best editing after I click on the submit button.

Offline

#24 2019-12-24 06:54:48

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,014
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Somewhere some misunderstanding on the way – on Petes demos site you would looking at https://dev-demo.textpattern.co/index.php?s=sitemap which indeed return s a 502 bad gateway.

( i could use the code you just created, the install was not yet refreshed :-))

Offline

#25 2019-12-24 07:30:28

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,014
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Something else, for discussion, the theme panel, name column

If a site has only one (1) theme installed, should the “Assign sections” link and the “in use” note be actually displayed? Or should these be suppressed in this case? It looks kinda weird now, and a bit pointless.

And I don’t think a Section can exist without a theme assigned.

Offline

#26 2019-12-24 09:07:46

etc
Developer
Registered: 2010-11-11
Posts: 3,693
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

Ah, I see. <txp:header value="application/xml; charset=utf-8" /> is missing name attribute, it must be

<txp:header name="Content-Type" value="application/xml; charset=utf-8" />

I will revert name to 4.7-default Content-Type, sorry for the hassle.

Offline

#27 2019-12-24 11:56:38

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,465
Website

Re: Feedback to: Textpattern CMS 4.8.0-beta released

phiw13 wrote #320685:

If a site has only one (1) theme installed, should the “Assign sections” link and the “in use” note be actually displayed?… I don’t think a Section can exist without a theme assigned.

True at the moment. But see this thread on article snippets for a possible future in which sections may be themeless. Then marking them up this way makes sense.

But if we decide not to pursue this way of working then maybe yes we could hide the pills and (perhaps) link. Will give it some thought.


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

#28 2019-12-24 13:29:05

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,988

Re: Feedback to: Textpattern CMS 4.8.0-beta released

I’m curious about the 502 errors, I’ll investigate that – thanks for the heads up.

Offline

#29 2019-12-24 13:33:15

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,988

Re: Feedback to: Textpattern CMS 4.8.0-beta released

colak wrote #320681:

Accessing beta-demo.textpattern.co/index.php?s=sitemap returns a 502 error.

I can replicate this. Here’s the error in the Nginx log:

2019/12/24 13:31:55 [error] 14090#14090: *9004 upstream sent invalid status "application/xml; charset=utf-8" while reading response header from upstream, client: [IPv4 address], server: beta-demo.textpattern.co, request: "GET /index.php?s=sitemap HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.4-fpm.sock:", host: "beta-demo.textpattern.co"

Investigating…

Offline

#30 2019-12-24 13:36:33

gaekwad
Admin
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 2,988

Re: Feedback to: Textpattern CMS 4.8.0-beta released

etc wrote #320689:

Ah, I see. <txp:header value="application/xml; charset=utf-8" /> is missing name attribute, it must be […]

Confirming this fixes the 502 on the beta site.

Offline

Board footer

Powered by FluxBB