Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2020-07-20 10:20:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

I’m trying to get section specific results only. See here


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#32 2020-07-20 14:07:28

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: Textpattern 4.8.2 is nearly ready

Might be relevant to 4.8.2

In 4.8.1 I did this:

  • altered four-point-eight theme forms, pages and styles to my needs
  • then changed the name of the theme to mytheme
  • exported mytheme to disk
  • copied it to a themes folder in a new install
  • imported it no problems

But returning to original install, when trying to open any form, page or style, I get a blank page.

Yes I shouldn’t have changed the name and should have created a new theme as a duplicate of four-point-eight at the start and edited that one.

But perhaps there should be some safeguard against deleting the four-point-eight theme.

Last edited by zero (2020-07-20 14:07:58)


Dozy P My attempt at music

Offline

#33 2020-07-20 14:11:02

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,728
GitHub

Re: Textpattern 4.8.2 is nearly ready

zero wrote #324713:

In 4.8.1 I did this:

  • altered four-point-eight theme forms, pages and styles to my needs
  • then changed the name of the theme to mytheme

[…]

But returning to original install, when trying to open any form, page or style, I get a blank page.

Did you change the name back on the original site? Is it looking for four-point-eight and not finding it?

Offline

#34 2020-07-20 14:14:33

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: Textpattern 4.8.2 is nearly ready

gaekwad wrote #324714:

Did you change the name back on the original site? Is it looking for four-point-eight and not finding it?

No I didn’t change the name back. I’ve now re-imported mytheme from the new site and now I can see both themes’ pages, forms and styles – mytheme and mytheme2 (had to change json manifest themename for it to work)


Dozy P My attempt at music

Offline

#35 2020-07-21 18:08:19

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

I just installed the latest dev from github and noticed a lot of errors on debugging mode and some on testing. It’s getting late here so I’ll have to come back with more details tomorrow.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#36 2020-07-21 22:12:21

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

Re: Textpattern 4.8.2 is nearly ready

Pretty sure you need to be testing 4.8 not Dev branch?

Offline

#37 2020-07-22 04:11:03

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

philwareham wrote #324744:

Pretty sure you need to be testing 4.8 not Dev branch?

I first tested the one linked by Pete and yesterday i downloaded from github.com/textpattern/textpattern.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#38 2020-07-22 04:19:56

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,644
Website

Re: Textpattern 4.8.2 is nearly ready

colak wrote #324745:

I first tested the one linked by Pete and yesterday i downloaded from github.com/textpattern/textpattern.

yes that’s is TXP.next aka TXP-4.9.0-dev. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.


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

Offline

#39 2020-07-22 04:48:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

phiw13 wrote #324746:

yes that’s is TXP.next aka TXP-4.9.0-dev. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.

Great! Uploaded and I am only getting this error (added line breaks for legibility)


<pre dir="auto">Tag error: <b>&lt;txp:permlink /&gt;</b> -> 
<b> Warning: array_change_key_case() expects parameter 1 to be array, null given while parsing form
<strong>None</strong> on page <strong>default</strong></b></pre>
<pre dir="auto">Tag error: <b>&lt;txp:permlink /&gt;</b> -> 
<b> Warning: Invalid argument supplied for foreach() while parsing form <strong>None</strong>
on page <strong>default</strong></b></pre>

Having said that, the page appears that it is all there, and there are no visible issues when on live mode.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#40 2020-07-22 06:32:09

phiw13
Plugin Author
From: South-Western Japan
Registered: 2004-02-27
Posts: 3,644
Website

Re: Textpattern 4.8.2 is nearly ready

It is a warning, it seems so nothing disastrous. That said, I don’t see anything here with __my_ use of <txp:permlink />, which means little of course.

What is the context in which the tag is used ? And also: anything special on the server set up?


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

Offline

#41 2020-07-22 06:42:08

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

phiw13 wrote #324751:

It is a warning, it seems so nothing disastrous. That said, I don’t see anything here with __my_ use of <txp:permlink />, which means little of course.

What is the context in which the tag is used ? And also: anything special on the server set up?

Hi Philippe,

I think that the errors appear because I do not use a form/listform and favour container tags instead: <pre dir="auto">Tag error: <b>&lt;txp:permlink /&gt;</b> -> <b> Warning: array_change_key_case() expects parameter 1 to be array, null given while parsing form <strong>None</strong> on page <strong>default</strong></b></pre>

Last edited by colak (2020-07-22 06:45:54)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#42 2020-07-22 06:48:05

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,728
GitHub

Re: Textpattern 4.8.2 is nearly ready

phiw13 wrote #324746:

yes that’s is TXP.next aka TXP-4.9.0-dev. What you want right now is this branch, which is the latest of the latest for TXP 4.8.2.

To clarify for anyone else reading – I posted this link:

github.com/textpattern/textpattern/archive/482-recovery-bloke.zip

…which is 4.8.2-dev at the time you download it. This is what will become 4.8.2 in the next day or so, barring any showstopping issues.

Offline

#43 2020-07-22 10:39:59

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,450
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

colak wrote #324752:

I think that the errors appear because I do not use a form/listform and favour container tags instead

Yes, but please would you post an example of your tag in use and its surrounding context (article list, individual article, etc), so we can try and emulate this?

As far as I can tell from the code we might be able to defend against this, but it’ll only happen if you’re not in individual article context and trying to (incorrectly) use the tag without an id attribute.


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#44 2020-07-22 13:02:06

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,384
Website GitHub Mastodon Twitter

Re: Textpattern 4.8.2 is nearly ready

Bloke wrote #324764:

Yes, but please would you post an example of your tag in use and its surrounding context (article list, individual article, etc), so we can try and emulate this?

As far as I can tell from the code we might be able to defend against this, but it’ll only happen if you’re not in individual article context and trying to (incorrectly) use the tag without an id attribute.

There are a lot of intstances

ie


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#45 2020-07-22 13:20:39

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,450
Website GitHub

Re: Textpattern 4.8.2 is nearly ready

colak wrote #324770:

article_id outside an article context

Not sure I follow. There are no permlink tags in those lines.

Permlink cannot be used outside an article context.

And all these, bar the Facebook usage, are in article scope so shouldn’t trigger any issue.

The Facebook line will throw an error, so maybe that one is the culprit and needs wrapping in some <txp:if_individual_article> context?


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

Hire Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB