MarsEdit Configuration


#1

I can not get MarsEdit setup correctly for my site. When I configure the site and hit refresh I get the Refresh Blog Error. Can’t refresh blog for because the server reported an error: Invalid XML Response.

Settings
Homepage URL: http://pgc-cary.org
System Name Other
System API: MetaWeblog API
API Endpoint URL: http://pgc-cary.org/web-blog-api
Blog ID: PGC


#2

Thanks Brett, did you also add the password to Mars Edit?

It has a funny UI and it’s not super clear - here’s the steps:

  1. Hold the Option key while clicking the Blog menu in the menubar at the top of the screen.
  2. Choose Blog > Enter Password (Do not choose Enter HTTP Password. If you do you will have to delete the set up and start over).
  3. Enter username “administrator” and the Pulse install password.

If that doesn’t work then it might be something else


#3

Thanks for responding. I was able to add the password for my Pulse installation using the steps you provided. The refresh error is now gone but the one text file I have under the blocks folder (blocks/about/about.txt) does not show up and I cannot create another entry. The error message is the following: Can’t post for Pleasant Grove Church because the server reported an error: Unknown blog item. Question I have is how does it know if it is a block or blog post you are creating? Sorry for all of the basic questions but I am a little confused to be honest.

One last thing I changed the api end point as well to include the pulse subfolder name.
API Endpoint URL: http://pgc-cary.org/pulse/web-blog-api


#4

Great! Furthermore:

  • MarsEdit is for editing the Blog only, Blocks, such as (blocks/about/about.txt) - needs to be edited inside the Pulse admin
  • MarsEdit will look inside the folder “Blog” and pull in the 1.txt, 2.txt etc and any blog posts you add in MarsEdit will go here on sync

#5

Okay tried to editing a blog entry (sample that came with PulseCMS) using MarsEdit and upload and getting another error:

Can’t edit post for Pleasanat Grove Church because the server reported an error: Unknown blog item.


#6

Thanks

  • what happens if you create a new blog item and publish?
  • testing shows that it is working, so might be something else on your site
  • can you message me (click on my name) with your logs? (Admin > settings > extend > logs)

#7

Tried creating a new Blog post and received the following error:

Can’t edit post for Pleasanat Grove Church because the server reported an error: Unknown blog item.

I don’t see the Admin > Settings > Extend > Logs in the MarsEdit application


#8

One other thing I have noticed how can you set the category for a blog post.


#9

In Pulse :slight_smile:

  • In Pulse, use the META drawer at the top of the page
  • In MarsEdit, check the category in the top right of the screen

#10

Here is the output from the latest logs

error_log_2019_03_14

[14-Mar-2019 20:44:24 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:24 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:44:24 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:24 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:44:24 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:24 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:44:25 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:25 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:44:36 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:44:37 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:37 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:44:37 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:44:37 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:45:09 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:45:10 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:45:10 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:45:38 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:45:38 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:45:38 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:46:10 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:46:10 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:46:10 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:46:15 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:46:16 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:46:16 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12
[14-Mar-2019 20:46:34 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:46:35 America/New_York] PHP Warning: filemtime(): stat failed for /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/content/media/branding/avatar.jpg in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/view/helper/last_modified.php on line 23
[14-Mar-2019 20:46:35 America/New_York] PHP Warning: file_get_contents(content/pages/404.txt): failed to open stream: No such file or directory in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php on line 173
[14-Mar-2019 20:46:35 America/New_York] PHP Fatal error: Uncaught LogicException: A pre-condition has failed in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php:12
Stack trace:
#0 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php(44): pulsecore\invariant(false, ‘A pre-condition…’)
#1 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(270): pulsecore\pre_condition(false)
#2 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/store/page/item.php(175): pulsecore\store\page\Item->unpickle(false)
#3 /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/index.php(200): pulsecore\store\page\Item->load(‘content/pages/4…’)
#4 {main}
thrown in /webroot/p/g/pgccary001/pgc-cary.org/www/pulse/pulsecore/dbc.php on line 12


5.3.2 is getting ready!
5.3.2 is getting ready!
5.3.2 Final Release is today 🤩
#11

In Mars there isnt a way to add new categories. When I used the PulseCMS dashboard and added categories via the drawer they just showed up in Mars. I can only uncheck a tag but not add new ones. Am I missing something.


#12

Thanks for the log - will need to do some testing.

There’s been no other reports of this and works in our testing so need to find out why in your install…


#13

So my screen shot is very different from yours. And no I am not using Pulse template files.


#14

Here is screen shot of the version I am using. Believe it to be at the same major level from your screen shot above.


#16

We’re making some updates to the Blog so after done that will do more testing to see how it works with the latest Mars Edit. But it has been working for a while so any error might need a tweak in the API


#17
  • Turned logging on for desktop blogging to help reverse engineer any possible MarsEdit issues

This has been updated for 5.3.2. After updating to that version let’s check the logs and see what is happening. Tests are showing that MarsEdit is working so needs more verification :+1:


closed #18

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.