Comments (8)
This is because InstallationKernel::boot
executes InstallationKernel::bootRealSystem
once a localconfig.php
is present and this in turn initializes the Contao framework:
$container->get('contao.framework')->initialize();
which in turn calls ContaoFramework::validateInstallation
at some point, which throws this error.
from installation-bundle.
What do you mean by "incomplete localconfig.php"?
from installation-bundle.
What do you mean by "incomplete localconfig.php"?
e.g. with either of these contents:
<?php
<?php
### INSTALL SCRIPT START ###
$GLOBALS['TL_CONFIG']['licenseAccepted'] = false;
### INSTALL SCRIPT STOP ###
<?php
### INSTALL SCRIPT START ###
$GLOBALS['TL_CONFIG']['licenseAccepted'] = false;
$GLOBALS['TL_CONFIG']['installPassword'] = '…';
### INSTALL SCRIPT STOP ###
<?php
### INSTALL SCRIPT START ###
$GLOBALS['TL_CONFIG']['installPassword'] = '…';
### INSTALL SCRIPT STOP ###
from installation-bundle.
True, because that is actually how we check if the installation is complete:
from installation-bundle.
Yep I know. This is probably a benign issue, since there is not a valid reason to have a localconfig.php
present with any of the content described above.
However, conceivably some user might think it's ok to delete the content of the localconfig.php
, if he wants to reset his install tool password for instance, instead of just removing the respective entry - then it might be confusing to him what to do.
from installation-bundle.
some user might think it's ok to delete the content of the
localconfig.php
, if he wants to reset his install tool password for instance
They might think so, but they are still wrong. If you remove the entire local configuration, your installation is in fact no longer complete. Therefore it is correct to throw the exception in this case.
from installation-bundle.
Yes, but the exception tells you to open the install tool, which is where the exception occurs.
from installation-bundle.
Fixed in contao/core-bundle@6bb407c.
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
- Installation tool does not correctly encode cols named 'row' HOT 22
- 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.