-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SS 4.0.x-dev error installing with composer: Uncaught Exception: More than one YAML document exists named 'mysite' #7231
Comments
Hi @GustavoMarcante do you have multiple files in |
@GustavoMarcante I've created a patch that doesn't fix the issue, but it will report the location of any conflicted files. silverstripe/silverstripe-config#19 Would you be able to please copy this code into your local install and tell me what kind of error you're encountering? |
I've found the issue... the second |
Fix at silverstripe/recipe-core#2 |
@tractorcow I tried to update using |
In /mysite/_config I have I looked /vendor/silverstripe/config/src/Transformer/YamlTransformer.php and mysite/_config/mysite.yml and the changes of silverstripe/silverstripe-config#19 and https://github.com/silverstripe/recipe-core/pull/2/files were not there (yet). I changed it manually, but I had no effect. |
One more fix at #7235 will prevent that unnecessary third config file. ;) |
I tried to install SilverStripe 4 using
composer create-project silverstripe/installer silverstripe 4.0.x-dev
(at/opt
linking/opt/silverstripe
to/var/www/html
) and then browsing tolocalhost/silverstripe/install.php
in a Ubuntu 16.04 desktop.I got:
I also tried to avoid tidy support warning with
sudo apt install php-tidy
but the warning stills there.Thanks!
The text was updated successfully, but these errors were encountered: