GithubHelp home page GithubHelp logo

Comments (22)

Toflar avatar Toflar commented on August 24, 2024 3

If we do not provide a composer.lock with the managed-edition, everything will work as expected.

from installation-bundle.

Toflar avatar Toflar commented on August 24, 2024 1

The zip file is useless anyway. Composer or the Manager should be the only 2 ways allowed to install.

from installation-bundle.

leofeyer avatar leofeyer commented on August 24, 2024 1

The zip file is useless anyway. Composer or the Manager should be the only 2 ways allowed to install.

I agree, however, a composer create-project will run into the same issue.

from installation-bundle.

ausi avatar ausi commented on August 24, 2024

Probably related: #70 (comment)

Which versions of Contao, PHP and MariaDB are you using?

from installation-bundle.

 avatar commented on August 24, 2024
  • Contao 4.4.18
  • PHP 7.2.6
  • MariaDB 10.2.8

from installation-bundle.

 avatar commented on August 24, 2024

I am going to provide @Toflar with a demo account for the environment anyway, because of another bug we talked about at the conference. If it helps, the account could also be used for this.

from installation-bundle.

m-vo avatar m-vo commented on August 24, 2024

IIRC MariaDB 10.2 needs Doctrine 2.7 which isn't released yet.

(see #83)

from installation-bundle.

ausi avatar ausi commented on August 24, 2024

@sleitz Your combination of the Contao, PHP and MariaDB versions should work AFAIK. Can you please also check which version of doctrine/dbal is installed?
(Can be done with the command composer show doctrine/*)

IIRC MariaDB 10.2 needs Doctrine 2.7 which isn't released yet.

@m-vo the issue with the rows keyword should already be solved in Doctrine 2.6. Also 2.7 was released in April.

from installation-bundle.

 avatar commented on August 24, 2024

That's a good hint:

doctrine/dbal                  v2.5.13 

from installation-bundle.

ausi avatar ausi commented on August 24, 2024

That’s the issue. You should update at least to doctrine/dbal 2.6.0 to fix the problem.

from installation-bundle.

 avatar commented on August 24, 2024

Well, it was not a voluntary choice. That's the version I get when I install the managed edition.

from installation-bundle.

fritzmg avatar fritzmg commented on August 24, 2024

The composer.lock file of the contao/managed-edition is built with the lowest PHP version that is still supported - otherwise you might not be able to run the application after installation. In case of Contao 4.4.18 that's PHP 5.6. doctrine/dbal in version 2.6.0 or higher requires at least PHP 7.1. That's why the composer.lock file of Contao 4.4.18 still contains doctrine/dbal in version 2.5.13: https://github.com/contao/managed-edition/blob/4.4.18/composer.lock#L1896

from installation-bundle.

leofeyer avatar leofeyer commented on August 24, 2024

We should build the managed edition against PHP 7.1 now that the Contao Manager uses its own composer.json template, shouldn't we?

from installation-bundle.

fritzmg avatar fritzmg commented on August 24, 2024

Hm, well what about installation via zip or composer create-project? Also won't this error occur on PHP 5.6 in any case?

from installation-bundle.

ausi avatar ausi commented on August 24, 2024

Also won't this error occur on PHP 5.6 in any case?

Yes, but we agreed we don’t want to support PHP 5 with Contao 4.4 and MariaDB 10.2.4, see #70 (comment)

from installation-bundle.

fritzmg avatar fritzmg commented on August 24, 2024

Right, forgot it depends on the MariaDB/MySQL version. @sleitz you simply need to run a composer update in your case, to get the latest dependencies.

from installation-bundle.

leofeyer avatar leofeyer commented on August 24, 2024

Hm, well what about installation via zip or composer create-project?

We could build two zip files, one for PHP 5 and one for PHP 7. But since PHP 5.6 is outdated and only supported until the end of 2018, I don't know if it is worth the effort?

from installation-bundle.

 avatar commented on August 24, 2024

@fritzmg I was using the wrong PHP version in CLI, so the new version did not show up (it requires PHP 7.1 itself), and I was using the 7.0 CLI.

My problem is solved, I guess. Don't know about your other discussion, though.

from installation-bundle.

 avatar commented on August 24, 2024

@Toflar This also solved my other issue… 👍

from installation-bundle.

leofeyer avatar leofeyer commented on August 24, 2024

As discussed in Mumble on July 5th, we want to remove the composer.lock file.

from installation-bundle.

xchs avatar xchs commented on August 24, 2024

Isn't that any longer true what @naderman said on the conference?

https://www.youtube.com/watch?v=9rr84XofWsA&t=1843

from installation-bundle.

ausi avatar ausi commented on August 24, 2024

I think this relates to actual projects, not libraries or editions.

from installation-bundle.

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.