Search…

X3 Photo Gallery Support Forums

Search…
 
csabacs
Topic Author
Posts: 14
Joined: 12 Jun 2012, 18:18

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

13 Feb 2026, 16:08

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14469
Joined: 30 Sep 2006, 03:37

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

13 Feb 2026, 20:32

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).
 
csabacs
Topic Author
Posts: 14
Joined: 12 Jun 2012, 18:18

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

14 Feb 2026, 11:57

Thank you for your help, permission trick worked!