Skip to content

config.php with external database running emoji support add-on. #2

@aasun

Description

@aasun

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:

  1. have the config.php with the external database configuration settings.
  2. install the emoji support add-on
  3. run the emoji support add-on
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions