Skip to content

Instantly share code, notes, and snippets.

Mat Packer matpacker

Block or report user

Report or block matpacker

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@matpacker
matpacker / gist:26c45d20fd6b4bcd555b88dbfcaca53a
Created Aug 22, 2018
Micropub Github beta test post from Quill
View gist:26c45d20fd6b4bcd555b88dbfcaca53a
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
View gist:4a08e485ea425ddfd261028fd25c470c
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
View gist:d78592be400807b40624ae9d283c64cc
[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
View gist:9b2249042ad07faaf4787623645558d2
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",
View gist:a66efa3798893bb97b39cb2deee4046b
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",
View micropub.php
[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"]}}
You can’t perform that action at this time.