Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
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-eightand 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
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
Re: Textpattern 4.8.2 is nearly ready
Pretty sure you need to be testing 4.8 not Dev branch?
Offline
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
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
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><txp:permlink /></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><txp:permlink /></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
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
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><txp:permlink /></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
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
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
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
idattribute.
There are a lot of intstances
ie
- article_id outside an article context
- Permilnk cannot be used outside an article context.
- Permilnk cannot be used outside an article context (resides in article_custom)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
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