Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2020-05-27 10:08:30

etc
Developer
Registered: 2010-11-11
Posts: 3,686
Website

Re: MarsEdit error: mt.getCategoryList

gaekwad wrote #323330:

Do you want an issue opened to track this, etc?

That looks intractable without some blogger app (and I have none) :-| Probably PHP count() function was more permissive before 7.2, dunno.

Offline

#12 2020-05-28 23:49:36

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

Re: MarsEdit error: mt.getCategoryList

Geez, sorry I posted and disappeared. Work became a vortex.

I did check for a log file and saw errors, need to look closer. Will dig it up and post later tonight.

Offline

#13 2020-05-28 23:52:14

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

Re: MarsEdit error: mt.getCategoryList

gaekwad wrote #323326:

Dumb question – I can reproduce this when XML-RPC is off (disabled) – is XML-RPC on (enabled) at your site?

Yes, XML-RPC is on.

Offline

#14 2020-05-28 23:56:41

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

Re: MarsEdit error: mt.getCategoryList

mistersugar wrote #323382:

I did check for a log file and saw errors, need to look closer. Will dig it up and post later tonight.

Apache log gave same errors as Pete posted above.

Last edited by mistersugar (2020-05-28 23:58:03)

Offline

#15 2020-05-29 08:36:51

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

Re: MarsEdit error: mt.getCategoryList

I’ve downloaded MarsEdit 4.3.7. Hopefully the trial will give me enough access to play a bit and I’ll try and track it down.

Since IXRClass is basically unsupported dead code (is it? www.incutio.com redirects to somewhere else now) then I suppose it’s no problem for us to patch it to work with newer PHP versions, since we’re no longer tied to updates from the parent source.

EDIT: erm… anyone got a simple 1-2-3 of setting up MarsEdit with Txp? Gonna take me forever to figure out the right parameters. Are we using MovableType API? And do we need to hack in mt-plugin/textile? I can’t find a copy of Brad’s plugin on the Wayback Machine: just a whole heap of 404.

Edit 2: I’ve downloaded Ecto as well and that’s equally baffling.

Last edited by Bloke (2020-05-29 09:23:02)


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

Online

#16 2020-05-29 15:04:33

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

Re: MarsEdit error: mt.getCategoryList

Bloke wrote #323398:

anyone got a simple 1-2-3 of setting up MarsEdit with Txp?

System: Other

System AI: Movable Type API

Endpoint: http://[URL]/rpc/

Blog ID: In my case, it’s ‘essays’ because that’s the section I’m using for my blog

To enter your Textpattern password, go to to menu bar at top of window, click Blog and hold down Option key, select Enter Password

Offline

#17 2020-05-29 15:45:41

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

Re: MarsEdit error: mt.getCategoryList

mistersugar wrote #323406:

System: Other System AI: Movable Type API [snip]

Thank you, that worked a treat. And it worked perfectly with the patched version of Txp 4.8.1-dev. Steps to success:

  1. Update server to the latest bleeding edge code obtained from GitHub.
  2. Ensure /rpc directory is uploaded to the server (doofus Stef forgot this and wondered why it was throwing errors).
  3. Ensure Enable XML-RPC server is switched on in Preferences->Admin.
  4. Configure MarsEdit as mistersugar advises above.
  5. Hit Refresh to obtain a list of articles from the chosen section. Edit and push at will.

EDIT: I’m actually astounded/pleasantly surprised it still works – and works well – after all these years! I suspect it’ll be a different story when unlimited custom fields and unlimited cats/keywords hit core, though.

EDIT 2: Didn’t have any luck with Ecto. It kept reporting that the data returned form the server was in the incorrect/unexpected format regardless of which system I tried: MovableType, MovableType 4, WordPress, Blogger, Atom, MetaWeblog, …

Last edited by Bloke (2020-05-29 15:58:14)


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

Online

#18 2020-05-29 15:53:24

etc
Developer
Registered: 2010-11-11
Posts: 3,686
Website

Re: MarsEdit error: mt.getCategoryList

Bloke wrote #323408:

it worked perfectly with the patched version of Txp 4.8.1-dev.

Good news! Why Pete’s version was complaining then, is your php <7.2?

Offline

#19 2020-05-29 15:59:21

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

Re: MarsEdit error: mt.getCategoryList

etc wrote #323410:

Good news! Why Pete’s version was complaining then, is your php <7.2?

Yes. I’m running PHP 5.5.38. Next test is to up that to PHP 7 and fix the fallout.

Wait, no, I was running 7.2.28 all along. I was looking at my MAMP server not live server diagnostics, duh.

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


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

Online

#20 2020-05-29 16:03:19

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

Re: MarsEdit error: mt.getCategoryList

Seems to work fine under the following:

Textpattern version: 4.8.1-dev (7aef1314389fea239e1a77a57b29d78b)
Last update: 2020-05-29 09:36:05/2020-05-29 09:34:36
...
PHP version: 7.2.28-1+ubuntu16.04.1+deb.sury.org+1

Maybe it’s something in a higher version where they’ve changed what count() expects?

Last edited by Bloke (2020-05-29 16:07:55)


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

Online

Board footer

Powered by FluxBB