Closed GreggFranklin closed 7 years ago
Added code to normalize the line endings. The 'odd' character was a x0D, while all other line endings were x0Dx0A. Normalizing the line endings should solve the problem. Need to do testing on Mac.
By the way, this is not specific to MultiSite. Looks like it's caused by inconsistent line endings (some with CRLF and some with LF) on Mac. If it can be reproduced with a MS archive, please provide that so I can test and ensure the fix I have resolves it.
Ran a test creating a new multisite using the Clean Import Plugin, the result was the same.
Appears to be happening when DS creates the wp-config with MultiSite settings, it writes some line endings as 0x0D and not 0x0D 0x0A. Issue seems to be in the Xojo code that modifies wp-config.php for MultiSite.
fixed with changes that Steve made here https://github.com/ServerPress/DS4/issues/123
Tested, and now works correctly
This happens regardless of Clean Import. So this should probably be moved to DS3 or DS4 for resolution. This happens with Multisite.
Attached is the wp-config.php file to review. wp-config.php.zip