Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Small Bug on installation when blank DB Password
Congrats for releasing 1.0!
I just installed a brand new copy of vanilla 1.0 release and found this small bug. If you leave the field for the database password on installation blank (cause you have not set a password for your database)
form appg/settings.php will be used as password.
I recommend to write
to conf/database.php ..
I just installed a brand new copy of vanilla 1.0 release and found this small bug. If you leave the field for the database password on installation blank (cause you have not set a password for your database)
$Configuration['DATABASE_PASSWORD'] = 'your_vanilla_database_password';
form appg/settings.php will be used as password.
I recommend to write
$Configuration['DATABASE_PASSWORD'] = '';
to conf/database.php ..
0
This discussion has been closed.
Comments
Either way, I'm glad you figured out how to get around it...
but still your installer will fail with that setting....
this a little cloud in the middle of a crystal clear sky, and some will not have the beautiful sun that offers vanilla,
so my point is why don't give them also a little bit of sun
my 2C
In any case, consider it a good thing that Vanilla partially refuses to set up on an server which is not configured properly. Even if it is a local installation as localhost being the server it's good to have accounts and passwords. Otherwise it's like having a house in a neighborhood without any locks or security, because at any given moment no matter how good you may think the neighborhood is anyone can just barge in and take over unexpectedly or worse.
If anything, more warning flags should be raised so that users who do manage to install Vanilla under blank user names and passwords are reminded to get things sorted out before the warnings are allowed to go away. It's only common sense to practice security in this matter, because if you decide it's wise to have users without passwords and someone does discover a flaw int he software and abuses it, it's only made easier because you forgot to add a password to the database.
I'm not saying that having no password is good, I'm only saying that if you leave a blank password during installation process... you will get an error...
so IMO the correct thing should be a warning when users leave a blank password saying for example "we strongly recommend to use password" or "in order to use vanilla you must set up a password" or whatever....
but the end user should not be left with a generic error, IMHO.
$Configuration['DB_PASSISBLANK'] = '1';
could also be added to constantly alert the administrative user that their DB password is blank with a short message indicating they create a password. That's still optional though.For now I think a conditional error should be displayed with a more descriptive error message if the password is "your_vanilla_database_password" or "".