XF 2.2 [Solved] Enabling design mode causes heavy duplication

Rasmus Vind

Well-known member
The local version of my site was ~3 years old so I figured I'd download a new dump of my database and data directories.

After doing this, I ran the various designer enable commands to enable design mode for all my themes:
Code:
    docker-compose exec php php cmd.php xf-designer:enable 7 Reforged
    docker-compose exec php php cmd.php xf-designer:enable 8 NightElf
    docker-compose exec php php cmd.php xf-designer:enable 9 NightElfWinter
    docker-compose exec php php cmd.php xf-designer:enable 10 Orc
    docker-compose exec php php cmd.php xf-designer:enable 11 Undead

And selecting y and then dir.

The result was that all my assets were duplicated such that:

For every asset in my styles folders, e.g. styles/vindit-reforged/dropzone.png an identical copy would exist in styles/vindit-reforged/styles/vindit-reforged/dropzone.png causing in my case 887 untracked files in git.

I am not sure what I am doing wrong. It feels like a relative folder problem or something. Can someone give me guidance on this?

Here is my xf_style table:
1666268210500.png

And here it is prior to enabling designer mode:
1666268257659.png

Thanks.

UPDATE:

I decided to disable it for all styles and try again with the db option. That did not mess with my directories at all. So problem solved. It still seems odd to me what it did, but I am happy once more.
 
Last edited:
Back
Top Bottom