Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
error: edit message when trying to save
#28
Hi Shawn,

Your health check does something which determines that the data and backup folders aren't writable, and suggests changing the permissions to 777 which gets rid of the warning (but in my case didn't solve the problem).

The error message when saving changes to a page come about because of an error when issuing a chmod()...

...so, maybe your health check could also try a chmod() and if that fails, then you could show a message along the lines of "Unable to change permissions on the backup folder, check that the owner of the backup and data folders have chmod() rights, e.g. www-data, or whatever is appropriate for your server."

I have no idea if that is doable, or practical? But I suspect it is better to change the owner of the folders, rather than changing permissions to 777, and changing the owner fixes the error on saving pages, changing permissions doesn't.
Reply


Messages In This Thread
RE: error: edit message when trying to save - by MaryUser - 2018-04-08, 08:47:50



Users browsing this thread: 4 Guest(s)