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

Missing database credentials message a bit cryptic #67

Open
emteknetnz opened this issue May 14, 2018 · 1 comment
Open

Missing database credentials message a bit cryptic #67

emteknetnz opened this issue May 14, 2018 · 1 comment

Comments

@emteknetnz
Copy link
Member

If I forget to include an _ss_environment.php file with database credentials, I get the following message from sspak

PHP Notice:  Undefined index: db_type in phar:///usr/local/bin/sspak/src/Webroot.php on line 81
PHP Stack trace:
PHP   1. {main}() /usr/local/bin/sspak:0
PHP   2. require() /usr/local/bin/sspak:5
PHP   3. SSPak->load() phar:///usr/local/bin/sspak/bin/sspak:43
PHP   4. Webroot->putdb() phar:///usr/local/bin/sspak/src/SSPak.php:422

would be nicer if it just said I'm missing credentials

@dhensby
Copy link
Contributor

dhensby commented May 16, 2018

care to PR?

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

No branches or pull requests

3 participants