Comments (22)
If we do not provide a composer.lock
with the managed-edition, everything will work as expected.
from installation-bundle.
The zip file is useless anyway. Composer or the Manager should be the only 2 ways allowed to install.
from installation-bundle.
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.
Probably related: #70 (comment)
Which versions of Contao, PHP and MariaDB are you using?
from installation-bundle.
- Contao 4.4.18
- PHP 7.2.6
- MariaDB 10.2.8
from installation-bundle.
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.
IIRC MariaDB 10.2 needs Doctrine 2.7 which isn't released yet.
(see #83)
from installation-bundle.
@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.
That's a good hint:
doctrine/dbal v2.5.13
from installation-bundle.
That’s the issue. You should update at least to doctrine/dbal 2.6.0
to fix the problem.
from installation-bundle.
Well, it was not a voluntary choice. That's the version I get when I install the managed edition.
from installation-bundle.
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.
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.
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.
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.
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.
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.
@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.
@Toflar This also solved my other issue…
from installation-bundle.
As discussed in Mumble on July 5th, we want to remove the composer.lock file.
from installation-bundle.
Isn't that any longer true what @naderman said on the conference?
https://www.youtube.com/watch?v=9rr84XofWsA&t=1843
from installation-bundle.
I think this relates to actual projects, not libraries or editions.
from installation-bundle.
Related Issues (20)
- Check for disabled symlink function HOT 4
- Install tool cache warm up in dev environment HOT 2
- Hook "sqlCompileCommands" not called HOT 3
- Install Tool does not work in dev environment HOT 4
- app/console doctrine:cache:clear contao.cache is not working HOT 17
- The MySQL version check cannot determine the current version HOT 11
- DB update loads schema of none Contao tables HOT 13
- Check all innodb_large_prefix requirements HOT 5
- 4.4.11: Install-Tool: Call to a member function getKernel() on null HOT 23
- install tool fails in dev environment if user table does not exist HOT 4
- Schema diff fails with MariaDB 10.2 HOT 5
- Calling install tool throws error after update to Contao 4.5.1 HOT 2
- exception due to notice in PHP date function HOT 1
- Installation with MariaDB>10.3.1 not possible HOT 10
- Installation without innodb_large_prefix fails HOT 3
- Installation with innodb_file_format = Antelope and innodb_large_prefix = On fails HOT 5
- admin is a reserved word in mySQL 8 HOT 4
- Supply alternative for runonce.php HOT 2
- handle mod_article_teaser and mod_article_plain selection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from installation-bundle.