Skip to content

Instantly share code, notes, and snippets.

View matjpacker's full-sized avatar

Mat Packer matjpacker

View GitHub Profile
@matjpacker
matjpacker / gist:26c45d20fd6b4bcd555b88dbfcaca53a
Created August 22, 2018 04:16
Micropub Github beta test post from Quill
HTTP/1.1 200 OK
Date: Wed, 22 Aug 2018 04:14:26 GMT
Server: Apache
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0
Link: <https://matpacker.com/wp-json/indieauth/1.0/token>; rel="token_endpoint", <https://matpacker.com/wp-json/micropub/1.0/endpoint>; rel="micropub", <https://matpacker.com/wp-json/webmention/1.0/endpoint>; rel="webmention", <https://matpacker.com/wp-json/webmention/1.0/endpoint>; rel="http://webmention.org/", <https://matpacker.com/wp-json/>; rel="https://api.w.org/", <https://wp.me/a9od3>; rel=shortlink
Vary: Accept-Encoding
Content-Length: 50247
Content-Type: text/html; charset=UTF-8
Slim Application Error
The application could not run because of the following error:
Details
Type: ErrorException
Code: 2
Message: DOMNode::appendChild(): Document Fragment is empty
File: /web/sites/quill.p3k.io/vendor/mf2/mf2/Mf2/Parser.php
Line: 856
Trace
[26-Jul-2018 05:59:51 UTC] PHP Notice: Undefined index: content-type in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1236
[26-Jul-2018 05:59:51 UTC] Micropub Data: {"micropub":"endpoint","q":"config"} {"micropub":"endpoint","q":"config"}
[26-Jul-2018 05:59:51 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php:1236) in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1225
There was a problem trying to load the channels from your Microsub endpoint.
Microsub endpoint: https://aperture.p3k.io/microsub/53
Your website: https://matpacker.com/
The endpoint returned the following response.
{
"code": 403,
"header": "HTTP/1.1 403 Forbidden\r\nServer: nginx/1.14.0\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP/7.2.7-1+ubuntu16.04.1+deb.sury.org+1\r\nCache-Control: no-cache, private\r\nDate: Wed, 25 Jul 2018 23:37:15 GMT",
There was a problem trying to load the channels from your Microsub endpoint.
Microsub endpoint: https://aperture.p3k.io/microsub/53
Your website: https://matpacker.com/
The endpoint returned the following response.
{
"code": 403,
"header": "HTTP/1.1 403 Forbidden\r\nServer: nginx/1.14.0\r\nContent-Type: application/json\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nX-Powered-By: PHP/7.2.7-1+ubuntu16.04.1+deb.sury.org+1\r\nCache-Control: no-cache, private\r\nDate: Mon, 23 Jul 2018 00:20:04 GMT",
[19-Jul-2018 00:59:47 UTC] PHP Notice: Undefined index: content-type in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1236
[19-Jul-2018 00:59:47 UTC] Micropub Data: {"micropub":"endpoint","q":"config"} {"micropub":"endpoint","q":"config"}
[19-Jul-2018 00:59:47 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php:1236) in /home/wp_gw6d62/matpacker.com/wp-content/plugins/micropub/micropub.php on line 1225
[19-Jul-2018 01:01:10 UTC] Micropub Data: {"micropub":"endpoint"} {"type":["h-entry"],"properties":{"content":["Test post from Quill. "],"category":["test"],"mp-slug":["quill-test"]}}