Page 1 of 1

Error: Can't save to file ..

Posted: 19 Feb 2024, 02:44
by Rado
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

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

Posted: 19 Feb 2024, 03:34
by mjau-mjau
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.

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

Posted: 19 Feb 2024, 04:13
by Rado
Thank you, 🙌

I will check with the hosting provider...

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

Posted: 19 Feb 2024, 08:07
by Rado
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