Page 1 of 1

Getting error message could not write to content/folders.json

Posted: 13 Feb 2026, 16:08
by csabacs
I am getting the following message when trying to hide a folder " could not write to content/folders.json"  Help please!

Everything was working fine with the X3 Gallery after a fresh upload to the server. The issue started after I uploaded the content folder and overwrote everything in that directory.

Re: Getting error message could not write to content/folders.json

Posted: 13 Feb 2026, 20:32
by mjau-mjau
When you "uploaded the content folder", does it mean you have been copying files/folders by FTP? It seems like you have an issue with permissions, as this could happen if the FTP user is a different user than the WWW user (PHP).

You could assign permissions manually by FTP or from your hosting file manager, although it's a bit clumsy.

Really, your FTP and WWW user should be the same, to avoid conflicts like this.

I could diagnose further if you can provide FTP login details, although it's likely I will just confirm it's permissions related (uploaded folders are owned by "FTP" user which can't be written to be "WWW" user).

Re: Getting error message could not write to content/folders.json

Posted: 14 Feb 2026, 11:57
by csabacs
Thank you for your help, permission trick worked!