문제

I am on Magento 2.3.1, with php 7.1

When I edit an existing product, and then click save. Nothing happens when I push save. Its like its not registering. I clicked the other save option (Save & Close), (Save & New), and still nothing happens!

This is happening on two seperate versions of Magento 2.3.1

Any ideas?

도움이 되었습니까?

해결책

Two things will made this.

  1. Directory and File permission issue
  2. Cache issue

Warning: file_put_contents blic_html/var/cache//mage-tags/mage---0eb_REFLECTION): failed to open stream: Permission denied public_html/vendor/colinmollenhour/cache-backend-file/File.php on line 693

This error will come only when the directory has a permissions issue.

So Kindly set Magento recommended permissions to directories and files.

find . -type f -exec chmod 644 {} \;

find . -type d -exec chmod 755 {} \;

find var pub/static pub/media  generated/ app/etc -type f -exec chmod g+w {} \;

find var pub/static pub/media generated/ app/etc -type d -exec chmod g+ws {} \;

chown -R :<web server group> .

chmod u+x bin/magento

After run permission command you need to run below commands :

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean

Hope it helps!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top