Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
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
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
phiw13 wrote #329648:
So can we expect a quick 4.8.6 bug-fix follow up (the ever lying feedreader told me about it) or do I better patch up 4.8.5 if I want to use that (PHP 8 fixes, and something) ?
You can already copy 4.8.6 publish.php file, awaiting its release.
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
etc wrote #329650:
You can already copy 4.8.6 publish.php file, awaiting its release.
Yes sure I can do that, or copy-paste the noted “fix” etc.
The problem is that the problem I saw is not on one of my sites, but a client’s site. Once you modify one or other file, you get that nice message in Diagnostics:
Some Textpattern files have been modified: …
Not sure I am confortable leaving it like that. Personally that is fine, dunno what the site owner/admin will think1, even if explained nicely.
The site is doing fine with Textpattern 4.8.4 so no real hurry (and potential changes are not depending on any new 4.8.5 feature). Runs on PHP 7.4.
–^–
1 … will think now, or in a week or two when he has forgotten all what I told him.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
I’ve set up a 4.8.6
demo for testing (will be gone after release):
dev-demo.textpattern.co/4.8.6/
Get your credentials from www.textpattern.co/demo
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
phiw13 wrote #329652:
Yes sure I can do that, or copy-paste the noted “fix” etc.
The problem is that the problem I saw is not on one of my sites, but a client’s site. Once you modify one or other file, you get that nice message in Diagnostics:
Some Textpattern files have been modified: …...
Here is the MD5 code for this file in replacement of the current one into the checksums.txt
:
fb869f2fcdf0b8d1e3782b908945689a
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
Pat64 wrote #329658:
Here is the MD5 code for this file in replacement of the current one into the
checksums.txt
:
fb869f2fcdf0b8d1e3782b908945689a
Yeah, that would work to eliminate that Diagnostics warning. Thanks for the idea.
(I actually got a different MD5 value for the file I downloaded earlier and uploaded to one of my own sites. Calculating the MD5 is easy anyway: md5 path/to/file.ext
)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
If you’ve cloned the Textpattern toolbelt you can also rebuild the checksums en masse:
php /path/to/textpattern-toolbelt/release/checksums.php /path/to/repo/textpattern rebuild
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
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
This morning I did a second attempt at upgrading the site I mentioned above. This time, thanks to a modified publish.php
and an updated MD5 for the checksums.txt
file I was successful.
Bloke wrote #329662:
“Textpattern toolbelt[…]
Interesting and noted, thanks. I have no immediate need for a mass change in Textpattern Core files, but who good to know anyway.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
Hello,
updated two sites and there I used some „older” variables within txp:php for a side menu. Somehow the behaviour has changed, so I got this warning:
Warning: Undefined variable $pretext while parsing form ...
in this function:
<txp:php>
global $id_current_art;
if (!$id_current_art) $id_current_art = $pretext['id'];
if ($id_current_art == article_id())
echo ' class="active"';
</txp:php>
And active class is never used, because id_current_art will never be even article_id().
In History.txt I found only mentioned the pre-pretext_end
callback.
The PHP version is 8.0.5.
Btw. on the Download page the Release notes are still linking to 4.8.4 😀
Last edited by whocarez (2021-05-06 19:27:56)
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
Yep, I have removed the (unused) global $pretext
declaration from php()
function, sorry. You’ll need to declare it yourself now:
global $id_current_art, $pretext;
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
Thanks for your quick response. That made it!
Offline
Re: Feedback for: Textpattern CMS 4.8.5 released: bug fixes & improvements
whocarez wrote #330049:
on the Download page the Release notes are still linking to 4.8.4 😀
Ooops, mea culpa. Fixed, thank you.
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