Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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.
Online
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
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
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
Re: MarsEdit error: mt.getCategoryList
Please try again, I’ve added (somewhat blindly) constants definitions.
Offline
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
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
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
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
Offline
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