Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Rado
Topic Author
Posts: 6
Joined: 15 Feb 2024, 07:50

Error: Can't save to file ..

19 Feb 2024, 02:44

Good day, 
 overnight my site in admin panel (save page) stopped working.

  Error: Can't save to file ../content/index/page.json.
  Error: Can't save to file ../content/blog/10-najfotogenickejsich-miest-na-slovensku/page.json.
...

Files have access set to: 644
Folders have access set to: 755

Yesterday it worked without problems with the same settings.

Thank you
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: Error: Can't save to file ..

19 Feb 2024, 03:34

I can't say exactly what the reason is for this without diagnosing directly. However, it's certainly related to either 1. permissions, 2. disk storage full or 3. firewall effect. Why it was working yesterday and not now, I can't say, but something must have changed on your server or file system. Really, you should not need to mess around with permissions, because the PHP file should be the owner of the files (since it has created them) ... Permissions would only be an issue if you have moved files between servers, creating a mismatch of owners, or modified permissions manually.
 
User avatar
Rado
Topic Author
Posts: 6
Joined: 15 Feb 2024, 07:50

Re: Error: Can't save to file ..

19 Feb 2024, 04:13

Thank you, 🙌

I will check with the hosting provider...
 
User avatar
Rado
Topic Author
Posts: 6
Joined: 15 Feb 2024, 07:50

Re: Error: Can't save to file ..

19 Feb 2024, 08:07

The problem was on the hosting side, the ftp account that went directly to the CONTENT directory changed the owner and write rights. 

Thank you once again and I apologize