Skip to content
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

Sliver fails to start if environment is the only source of DB name #1

Open
oddnoc opened this issue Jan 27, 2017 · 2 comments
Open

Comments

@oddnoc
Copy link

oddnoc commented Jan 27, 2017

My team has some projects where mysite is shared across multiple sites as a composer module. The global $database variable is the empty string and the DB name is entirely defined by SS_DATABASE_PREFIX & SS_DATABASE_SUFFIX via ConfigureFromEnv. Under such conditions, sliver fails to initialise with the message "Please configure your database connection details."

@stevie-mayhew
Copy link
Contributor

@oddnoc thanks for the report. Do you have any suggestions for a way to make this work?

@oddnoc
Copy link
Author

oddnoc commented Jan 27, 2017

I banged on it for a bit and came a cropper. I tried including mysite/_config.php, but maybe I did not have it at the right bit of the sliver script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants