Coder Social home page Coder Social logo

Comments (5)

cweiske avatar cweiske commented on June 2, 2024 1

Error log says:

[Tue Nov 28 19:14:45.061138 2023] [proxy_fcgi:error] [pid 3053788:tid 139884467582720] [client 173.230.155.197:57204] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_runtime() in /home/cweiske/www/commentpara.de/vendor/pear/http_request2/HTTP/Request2.php:935\nStack trace:\n#0 /home/cweiske/www/commentpara.de/vendor/pear2/services_linkback/src/PEAR2/Services/Linkback/Client.php(126): HTTP_Request2->send()\n#1 /home/cweiske/www/commentpara.de/vendor/pear2/services_linkback/src/PEAR2/Services/Linkback/Client.php(97): PEAR2\Services\Linkback\Client->discoverServer()\n#2 /home/cweiske/www/commentpara.de/src/anoweco/Linkback.php(35): PEAR2\Services\Linkback\Client->send()\n#3 /home/cweiske/www/commentpara.de/www/micropub.php(90): anoweco\Linkback->ping()\n#4 /home/cweiske/www/commentpara.de/www/micropub.php(227): anoweco\handleCreate()\n#5 {main}\n thrown in /home/cweiske/www/commentpara.de/vendor/pear/http_request2/HTTP/Request2.php on line 935'

I've updated the libraries, and got a new PEAR/HTTP_Request2 package that should fix that.

from anoweco.

cweiske avatar cweiske commented on June 2, 2024 1

.. and we have a new error:

[Thu Nov 30 10:55:45.525657 2023] [proxy_fcgi:error] [pid 40356:tid 139885754316544] [client 173.230.155.197:42314] AH01071: Got error 'PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /home/cweiske/www/commentpara.de/vendor/pear/http2/HTTP2.php on line 501'

We need pear/http2 2.0.0 to fix that.

Fixed.

from anoweco.

cweiske avatar cweiske commented on June 2, 2024

Please give details to the request you made (data you sent).

from anoweco.

cweiske avatar cweiske commented on June 2, 2024

The code initially sets a 500 error in case something goes wrong. When everything is fine, the status code is overridden later.

from anoweco.

gRegorLove avatar gRegorLove commented on June 2, 2024

Quill doesn't display the raw request data unfortunately, but it was the request that generated 1408.htm, in case you have logs.

Generally I'm just using the defaults filled in by Quill: in-reply-to=https://gregorlove.com/2023/11/this-is-a-really/ and entering a short note in the content field. I just made another test post. It created https://commentpara.de/comment/1409.htm (found it via the Atom feed) and showed this error in Quill:

Something went wrong!
Your Micropub endpoint indicated that something went wrong creating the post.

Micropub Response

Below is the response from your Micropub endpoint. This may contain helpful information that can be used to troubleshoot the issue.

HTTP/1.1 500 Internal Server Error
Date: Tue, 28 Nov 2023 18:14:45 GMT
Server: Apache/2.4.56 (Debian)
Access-Control-Allow-Origin: *
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8

I haven't used the header() replace functionality before. Maybe it's something with regard to the HTTP/1.0 in the code, but server responding with HTTP/1.1?

from anoweco.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.