Open aasun opened 5 years ago
Transferred issue to the Emoji Support repo
Thanks, @aasun. Could you show what you mean by having multiple database configs in your config.php? Are you selecting one or the other based on the environment or something?
Description of the problem
EE4 external database connect in the main config.php file per the documentation. Ran the emoji support add-on and it removed my second database config lines from the main config.php file.
How To Reproduce Steps to reproduce the behavior:
Suspect the issue is because the config.php file is updated at the end of the main ExpressionEngine database configuration settings with: 'char_set' => 'utf8mb4', 'dbcollat' => 'utf8mb4_unicode_ci', So the second database config (external database) that follows that is deleted.
Error Messages No error messages until the add-on tries to connect to the external database, then the error is that it can't connect.
Screenshots / Videos / Template Code
Environment Details: EE 4.3.6, PHP 7.2, standard stuff.
Possible Solution
Additional context