Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2020-05-25 17:04:29

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

MarsEdit error: mt.getCategoryList

My blog at zuiker.com uses Textpattern 4.8.0

I used MarsEdit to post to my blog up to recently, before upgrading Txp to 4.8.0 and before my host (OpalStack) switched me to a new server.

Now when I try to refresh the list of posts in MarsEdit or send a new post to Textpattern, MarsEdit gives the “Unexpected response code 500” related to mt.getCategoryList.

MarsEdit says it could be server. OpalStack says php is consistent with Txp and MarsEdit.

Txp Diagnostics showing no errors (except for all the update files as modified).

Where should I turn next?

Offline

#2 2020-05-25 17:15:25

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,093
Website GitHub Mastodon Twitter

Re: MarsEdit error: mt.getCategoryList

Did you check you php and server error log files, normally available via sftp?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2020-05-25 21:44:18

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: MarsEdit error: mt.getCategoryList

I have never tested RPC functionality and can not exclude having accidentally broken it when cleaning the public side code, mea culpa if so. I can try to restore what seems necessary, but have no MarsEdit to test. Could someone do it on Pete’s demo site please?

Offline

#4 2020-05-27 07:58:19

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: MarsEdit error: mt.getCategoryList

etc wrote #323269:

Could someone do it on Pete’s demo site please?

Looks like rsd was deprecated in 4.6, so there’s no head tag in there by default. Adding it manually lets me connect, retrieve some info, but when I post:

2020/05/27 07:56:49 [error] 58393#58393: *115 FastCGI sent in stderr: "
PHP message: PHP Warning:  Use of undefined constant TXP_DEBUG - assumed 'TXP_DEBUG' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/txplib_db.php on line 431
PHP message: PHP Warning:  Use of undefined constant TXP_DEBUG - assumed 'TXP_DEBUG' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/txplib_db.php on line 431
PHP message: PHP Warning:  Use of undefined constant TXP_DEBUG - assumed 'TXP_DEBUG' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/txplib_db.php on line 431
PHP message: PHP Warning:  Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Lang.php on line 108
PHP message: PHP Warning:  Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Lang.php on line 108
PHP message: PHP Warning:  Lang directory is not accessible: /var/www/sites/textpattern.co/dev-demo/live/textpatternDSlangDS in /var/www/sites/textpattern.co/dev-demo/live/textpattern/vendors/Textpattern/L10n/Lang.php on line 149
PHP message: PHP Warning:  Use of undefined constant TXP_DEBUG - assumed 'TXP_DEBUG' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/txplib_db.php on line 431
PHP message: PHP Warning:  Use of undefined constant TXP_DEBUG - assumed 'TXP_DEBUG' (this will throw an Error in a future version of PHP) in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/txplib_db.php on line 431
PHP message: PHP Warning:  Use of undefined constant PASSWORD_COMPLEXITY - assumed 'PASSWORD_COMPLEXITY' (this will throw an Error in a future version of

Note error is truncated at that point.

Edit: split error for clarity.

Last edited by gaekwad (2020-05-27 08:19:57)

Offline

#5 2020-05-27 08:31:31

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: MarsEdit error: mt.getCategoryList

Oh, what a mess. Thanks again, Pete, it looks like constants definitions are not included at this point. Investigating..

Offline

#6 2020-05-27 09:27:51

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

Re: MarsEdit error: mt.getCategoryList

Please try again, I’ve added (somewhat blindly) constants definitions.

Offline

#7 2020-05-27 09:29:54

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: MarsEdit error: mt.getCategoryList

mistersugar wrote #323262:

Now when I try to refresh the list of posts in MarsEdit or send a new post to Textpattern, MarsEdit gives the “Unexpected response code 500” related to mt.getCategoryList.

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

Offline

#8 2020-05-27 09:33:49

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: MarsEdit error: mt.getCategoryList

etc wrote #323324:

Please try again, I’ve added (somewhat blindly) constants definitions.

Excellent! I am compiling PHP 7.3, when that’s done I will splat-and-repave dev-demo and see what happens.

Offline

#9 2020-05-27 09:44:06

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: MarsEdit error: mt.getCategoryList

Another error when I attempt to update existing posts within MarsEdit:

2020/05/27 09:42:33 [error] 43325#43325: *50 FastCGI sent in stderr: "
PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/IXRClass.php on line 989
PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/IXRClass.php on line 996
PHP message: PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /var/www/sites/textpattern.co/dev-demo/live/textpattern/lib/IXRClass.php on line 453" while reading response header from upstream, client: [IPv4 removed], server: dev-demo.textpattern.co, request: "POST /rpc/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php-fpm74.sock:", host: "dev-demo.textpattern.co"

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

Last edited by gaekwad (2020-05-27 09:44:33)

Offline

#10 2020-05-27 09:48:14

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,277
GitHub

Re: MarsEdit error: mt.getCategoryList

When a post attempt is made on dev-demo, I get a MarsEdit error:

Can’t post for My Site because the server reported an error: problem_creating_article.

Nothing in PHP logs for posting, perhaps error in above post is a factor.

Offline

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

etc
Developer
Registered: 2010-11-11
Posts: 5,235
Website GitHub

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: 141
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

Board footer

Powered by FluxBB