Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
4.8.x update to 4.9.1 issue
My 5-year hosting needed to be renewed, and I had to change to PHP 8.4. That all worked out.
It’s a multi-site hosting package that uses some subdomain trickery to accommodate up to 25 websites.
I used Installatron to update one website to Txp 4.9.1, and that worked.
All five websites worked okay, although only one was 4.9.1, with the others still 4.8.7.
I had 4 others to update to Txp 4.9.1, and I thought I’d just update Txp manually for each one.
I tried the simplest first, but halfway through, I had to do something else, then came back and finished it.
The website has an error message:
Fatal error: Uncaught Error: Call to undefined function setImageToken() in /home/sa5c35vhsext/public_html/dhc/textpattern/publish.php:77 Stack trace: #0 /home/sa5c35vhsext/public_html/dhc/index.php(76): include() #1 {main} thrown in /home/sa5c35vhsext/public_html/dhc/textpattern/publish.php on line 77
This is the website. https://douglascoop.co.nz/
When I try to log into the site’s Txp admin panel, it shows a blank page.
Any idea what file I’m missing?
I’ve gone through all the updating steps again, but it looks like I’ve missed something.
Thanks
Graeme
Offline
Re: 4.8.x update to 4.9.1 issue
If it helps, setImageToken() is defined in lib/txplib_misc.php. Not sure why that would be missing, unless it isn’t completely up-to-date. Weird.
Can you get to the back-end at /Textpattern?event=plugin and disable plugins just in case one of those is throwing a spanner in the works?
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
Pages: 1