Can't edit product for magento 2.3.5

Just test cloudflare CDN, if i edit product, can’t save, will shows error:

Warning: file_put_contents(/home/xxxxxxxxx/public_html/var/cache//mage-tags/mage—a8f_REFLECTION): failed to open stream: Permission denied in /home/xxxxxxxxx/public_html/vendor/colinmollenhour/cache-backend-file/File.php on line 691

If don’t use CDN service, everything goes well.

There are some file permissions error in your filesystem, and I don’t get it why Cloudflare can cause this issue.

I have ever used amazon cloudfront from September to yesterday, everything worked well, no this error, and if don’t use any CDN service, everything works well, only use cloudflare CDN service can cause this error, there is only one reason, something have not been set right in cloudflare CDN system.

When i use cloudfront, i have met similar error, aws customer service told me to set as this:

From within the behavior settings, “Cache and origin request settings” can be set to “Use a cache policy and origin request policy”.
Then the other two settings will be visible.
Cache Policy: Managed-CachingDisabled
Origin Request Policy: Managed-AllViewer

After done this, all work well, no error, but i don’t know how to set in cloudflare system.

This topic was automatically closed after 31 days. New replies are no longer allowed.