New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

WordPress installer puts incorrect characters into wp-config.php

Started by stephenhare, March 05, 2019, 03:34:31 PM

Previous topic - Next topic

stephenhare

Hi,
I have noticed that the WordPress installer passes some some symbol characters (created by the random password generator) incorrectly to the wp-config.php

For example...
This randomly created password: IDlj_I_L>GxX
Appears in the wp-config.php file as: define( 'DB_PASSWORD', 'IDlj_I_LÞ' );

Presumuably, this needs an update to the installer to correct?

Regards,
Stephen

adamjedgar

I have setup 3 centos web panel systems, and on every one of these fresh installs the WordPress installer experiences database connections issues because of exactly the same cause...wrong database password for WordPress wp-config.php.
I am 100% convinced the script installer is not working properly, because as soon as I change the password manually in wp-config.php, the wordpress installer comes up immediately in browser.

Doesn't anyone test these things before going live...this is hard to understand!

ekgrad

I found a very easy solution to this issue. Just use a custom user entered password for the database when installing wordpress instead of the system generated. This takes care of the reported issue.