Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#21 2020-05-29 16:12:26

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

Re: MarsEdit error: mt.getCategoryList

I’ve just run a test from MarsEdit to the dev-demo server. I published a new article just fine. PHP version: 7.4.6.

Why is it working for me and not others?

EDIT: Or maybe it doesn’t work for PHP <7.something? @mistersugar, what’s your Txp Diagnostics say, version-wise?

Last edited by Bloke (2020-05-29 16:14:48)


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

#22 2020-05-29 20:51:35

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 129
Website

Re: MarsEdit error: mt.getCategoryList

Bloke wrote #323414:

what’s your Txp Diagnostics say, version-wise?

PHP Version 7.3.16

Offline

#23 2020-05-29 21:34:28

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 203
Website

Re: MarsEdit error: mt.getCategoryList

Bloke, if the RPC system’s TXP_RPCServer.php uses $HTTP_RAW_POST_DATA, then: PHP.net says that is deprecated.

Offline

#24 2020-05-29 21:40:06

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

Re: MarsEdit error: mt.getCategoryList

Can’t see anything obvious in the subsequent PHP changelogs to indicate a bug that might be causing this behaviour. If it works fine on 7.2.28 and fine on 7.4.6, why not on 7.3.16? Short of a PHP bug, that really only leaves some sort of server issue.

When you said in your OP “my host (OpalStack) switched me to a new server” I wonder if there’s something not compiled or missing? Or some configuration issue. I’m also slightly concerned by: “Txp Diagnostics showing no errors (except for all the update files as modified).”

Did you make those changes to the update files? If you upload the latest bleeding edge code form GitHub, do those messages go away?

Too many variables here right now, we need to narrow them down.


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

#25 2020-05-29 21:43:20

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

Re: MarsEdit error: mt.getCategoryList

kuopassa wrote #323420:

if the RPC system’s TXP_RPCServer.php uses $HTTP_RAW_POST_DATA, then: PHP.net says that is deprecated.

True. We seem to be covered in the constructor (I hope):

function __construct()
    {
        global $enable_xmlrpc_server, $HTTP_RAW_POST_DATA;

        if (!$HTTP_RAW_POST_DATA) {
            $HTTP_RAW_POST_DATA = file_get_contents('php://input');
        }
...

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

#26 2020-05-29 23:54:05

mistersugar
Member
From: North Carolina
Registered: 2004-04-13
Posts: 129
Website

Re: MarsEdit error: mt.getCategoryList

Success! MarsEdit works again with Txp v4.8.1-dev. Thanks a million for resolving this.

My Diagnostics pre-flight check only warns that I am using a dev version. Is it safe for me to continue with v4.8.1-dev on my live site, or should I roll back?

Last edited by mistersugar (2020-05-29 23:56:02)

Offline

#27 2020-05-30 00:28:13

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

Re: MarsEdit error: mt.getCategoryList

Yay! This RPC issue, now resolved, is the green light for 4.8.1 so you’re effectively using the stable version, albeit not tagged as such.

Unless we find anything deal breaking, I’d expect a final release over the weekend.


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

Board footer

Powered by FluxBB