Submitted by craigh on Fri, 02/22/2019 - 09:35 Pro Licensee
It looks like since the upgrade to 6.06 that Wordpress installations done through Virtualmin are being done with wp-config.php files that are identical to the sample file:
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
define( 'DB_NAME', 'database_name_here' );
/** MySQL database username */
define( 'DB_USER', 'username_here' );
/** MySQL database password */
define( 'DB_PASSWORD', 'password_here' );
...
define( 'AUTH_KEY', 'put your unique phrase here' );
define( 'SECURE_AUTH_KEY', 'put your unique phrase here' );
define( 'LOGGED_IN_KEY', 'put your unique phrase here' );
define( 'NONCE_KEY', 'put your unique phrase here' );
define( 'AUTH_SALT', 'put your unique phrase here' );
define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
define( 'LOGGED_IN_SALT', 'put your unique phrase here' );
define( 'NONCE_SALT', 'put your unique phrase here' );
etc.
I've confirmed this with two Wordpress installations in the last 12 hours.
Craig
Status:
Closed (fixed)
Comments
Submitted by craigh on Fri, 02/22/2019 - 09:39 Pro Licensee Comment #1
Submitted by craigh on Sat, 02/23/2019 - 15:58 Pro Licensee Comment #2
Presumably if I just manually edit the wp-config.php file the Wordpress installation will work, but my concern when something like this breaks is that something else is also broken.
I know it's the weekend, but I'd like some feedback on this by Monday morning UTC so that I can move forward with the user. Thanks.
I have also confirmed this. It used to always setup the database connection details in wp-config.php file, however now a manual edit is required to get wordpress working. As a sysadmin this is an easy work around but for a customer, this will not be known, so having the file auto updated is somewhat important.
Submitted by JamieCameron on Sun, 02/24/2019 - 23:01 Comment #4
Do you have the
wp
CLI command for installing Wordpress on your system?Submitted by craigh on Mon, 02/25/2019 - 02:32 Pro Licensee Comment #5
Hi Jamie,
No. I'm aware of its existence, but I have never installed it and don't even know off the top of my head if it's something installed server-wide or if it's something that's somehow jailed inside a particular Wordpress installation.
But the short answer is NO.
Craig
Submitted by craigh on Mon, 02/25/2019 - 04:43 Pro Licensee Comment #6
I can confirm that manually creating the wp-config.php file gets Wordpress working. Like I say, however, I don't know if other functions related to "installing" web apps generally might be affected by whatever has broken.
Submitted by JamieCameron on Mon, 02/25/2019 - 23:53 Comment #7
I had a closer look at this, and it turns out that the format of wp-config.php changed slightly in the latest Wordpress release. We will release an update to the script installer to handle this case.
Submitted by IssueBot on Tue, 03/12/2019 - 00:56 Comment #8
Automatically closed - issue fixed for 2 weeks with no activity.