We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Fluent DbConfig isn't working properly - it seems to require more values or not use the screaming snake overrides properly.
return DbConfig::create()->driver('pgsql');
.env
CRAFT_DB_SERVER="something" CRAFT_DB_DATABASE="something"
This will fail with an error showing that it didn't pick up the dbname or host, whereas if we change config/db.php to the older version:
return [ 'driver' => 'pgsql' ];
It works fine.
error-snippet.log
4.2.4
8.0.13
Debian 10
No response
The text was updated successfully, but these errors were encountered:
18fa328
Thanks for reporting that! Fixed for the next release.
Sorry, something went wrong.
Craft 4.2.5 is out with that fix.
brandonkelly
No branches or pull requests
What happened?
Description
The Fluent DbConfig isn't working properly - it seems to require more values or not use the screaming snake overrides properly.
Steps to reproduce
.env
This will fail with an error showing that it didn't pick up the dbname or host, whereas if we change config/db.php to the older version:
It works fine.
error-snippet.log
Craft CMS version
4.2.4
PHP version
8.0.13
Operating system and version
Debian 10
Database type and version
No response
Image driver and version
No response
Installed plugins and versions
The text was updated successfully, but these errors were encountered: