Code Monkey home page Code Monkey logo

Comments (19)

Wunderharke avatar Wunderharke commented on June 12, 2024 1

I didn't get your composer.json working with my version of composer. But I tried the dev branch instead of the latest release tag, and it is working out of the box with composer and PHP 8.

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024 1

Sorry to hear about the incompatibilities between your composer version and this file.
Glad to know that something worked eventually.

from known.

benwerd avatar benwerd commented on June 12, 2024 1

It does work on PHP 8.2; therefore, I'm closing this issue.

from known.

Wunderharke avatar Wunderharke commented on June 12, 2024

This would be important for me as well. Is this project still actively maintained?

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

Fyi, I've been running known as a personal site instance for a while now with PHP 8.1.8 without encountering much of comparable issues.

Here is the content of my version.known file if that may be of help

version = '1.3.1'
build = 2020120201

from known.

Wunderharke avatar Wunderharke commented on June 12, 2024

@thierrymarianne thanks for your quick response. My problem is that composer isn't able to install the necessary packages. How did you solve that? Could you share your composer.json?

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

Good day @Wunderharke, here is the composer.json I'm using:

It's compatible with composer:2.3 Docker container image.

from known.

lindner avatar lindner commented on June 12, 2024

We should tag a release, then we can mark this as fixed.

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

Definitely! It would help with issues triaging.

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

Please note that I could not reproduce the FatalError mentioned in this issue description
by running php known.php with php 8.1.11 as described in #3109 (reply in thread)

from known.

benwerd avatar benwerd commented on June 12, 2024

from known.

lindner avatar lindner commented on June 12, 2024

Current dev branch works on php 8. Version 1.5 targets 8.1

from known.

AmritasyaPutra avatar AmritasyaPutra commented on June 12, 2024

We should tag a release, then we can mark this as fixed.

Hoping that it happens sometime soon!

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

Soon after taking care of #3109 (reply in thread), I've got to say that I got a bit lost in the process of figuring what was the next priority in order to help making the release happen.

Thank you @AmritasyaPutra for reviving the thread.

I wonder which criteria would help us close this issue.🤔

Perhaps, moving the build from travis to GitHub actions and
adding PHP 8.1 to the PHP version matrix?

from known.

sikkdays avatar sikkdays commented on June 12, 2024

I just followed the documentation for upgrading and I am now on 1.2.2 and switching to php 8.1 results in 500 Internal Server Error on shared hosting via DreamHost. Any advice?

During inheritance of SessionHandlerInterface: Uncaught ArgumentCountError: Too few arguments to function Idno\Core\Logging::Idno\Core\{closure}(), 4 passed in /home/site/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php on line 23 and exactly 5 expected in /home/site/Idno/Core/Logging.php:40

from known.

svandragt avatar svandragt commented on June 12, 2024

I suspect that documentation contains composer instructions so have you ran composer install or if that doesn't work composer update? A release would bundle all those project dependencies so that using composer wouldn't be required. (making a few assumptions here)

from known.

benwerd avatar benwerd commented on June 12, 2024

This has gone on for long enough. I commit to a new release on June 1.

However, for now: the core code in GitHub is fully tested on PHP 8.1.1. I'll make an effort to test on PHP 8.2 before release.

from known.

sikkdays avatar sikkdays commented on June 12, 2024

Thanks @benwerd ! Much appreciated.

@svandragt On the shared DreamHost account, install and upgrade of Known was always just dropping the files and folders on the server. I do have limited ssh access, so I can try the composer update and see if that helps. Upgrading to the developer version (1.3.1) got me a shiny new error--

Idno/Core/DataConcierge.php:184 - "Uncaught Error: Class "Ramsey\Uuid\Uuid" not found

I think you're correct that composer may be the issue here. Now, I just need to find some more evening time to try and update it.

from known.

thierrymarianne avatar thierrymarianne commented on June 12, 2024

👋🏻

FYI, I've been running known with PHP 8.2.6 without issues - so far 🤞🏻
Besides, the application health is monitored with an APM generating regularly synthetic tests so that errors are not left unchecked for too long whenever a runtime upgrade happened before, new features or plugins have been rolled out.

Diagnostics also seems to be fine with it:
diag

P.S. If some are interested about how to run an known instance with Docker Compose (v2), guidelines for the documentation with code snipped could most likely be drafted at some point. I've got something working with nginx, mysql and taking care of building the assets (with grunt) and installing the vendors (with composer)

from known.

Related Issues (20)

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.