You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
have the config.php with the external database configuration settings.
install the emoji support add-on
run the emoji support add-on
the external database configuration settings are removed from the config.php file
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: