New answers tagged

0

I am facing the same problem on Magento 2.4.3, here is my solution I have url for my website "www.mywebsite.fr//" (fr/en/nl) create a file in root magento "nginx_map.conf" map $host$request_uri $MAGE_RUN_CODE { default admin; ~^www\.mywebsite\.fr/fr/ "site_fr"; ~^www\.mywebsite\.fr/en/ "site_en"; ~^...


0

Magento 2 is using repositories and these repositories found their datas in the flat tables. As mentionned by Piyush in comment, these flat tables are only updated when you reindex. Basically it will make your flat table identical to what you have in your back office.If the flat data has thr wrong data the only way is that the back office config isn't the ...


0

Modify vendor/magento/module-inventory-configurable-product-frontend-ui/view/frontend/web/js/configurable-variation-qty.js or extend this file change from if (response.qty !== null && response.qty > 0) { to if (response.qty !== null && parseFloat(response.qty) > 0) { Credit goes to MarekCernak From https://github.com/magento/inventory/...


0

The patch does resolve the issue and you'll need to compile files afterwards. Amending the following file with the patch file resolves the issue entirely vendor/magento/module-integration/Controller/Adminhtml/Integration/TokensExchange.php


0

I recommended following the Adobe dev-docs. Set file permissions cd /var/www/html/ find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} + chown -R :www-data . # Ubuntu chmod u+x bin/magento Reference: https://devdocs.magento.com/guides/v2.4/...


0

You should set as bellow recommended Permissions. cd <your Magento install dir> For files 644 : find . -type f -exec chmod 644 {} \; For Directory 755 : find . -type d -exec chmod 755 {} \; For var folder 777 : find ./var -type d -exec chmod 777 {} \; For pub/media folder 777 : find ./pub/media -type d -exec chmod 777 {} \; For pub/static folder 777 : ...


1

I used this class in a custom module, but instead of using preference or extending the class, or doing both, it did not work, because I was not able to set the values to the parent class properties in this location, so re-written the entire class as a new one without extending or using preference and it worked, please find the code below. enter code here <...


0

I missed configuring the virtual host. Followed this tutorial, After that it is working.


0

Try to run these commands. php bin/magento cache:clean php bin/magento cache:flush php bin/magento indexer:reindex php bin/magento setup:upgrade php bin/magento setup:static-content:deploy -f sudo chmod -R 777 var/ generated/ pub/


0

In your database core_config_data table change the both url web/unsecure/base_url -> http://127.0.0.1:8888/xyz/pub web/secure/base_url -> http://127.0.0.1:8888/xyz/pub Run the following command :- bin/magento se:up bin/magento s:d:c bin/magento s:s:d -f chmod -R 777 var/ generated/


0

Would you like to share more details about your issue. Preferably a screenshot of CLI where installation progress is showing.Is it either Hosting configuration issue or magento 2 setup issue. You can check var/log files to find the installation error log trail.


0

use this command to compile:- php -dmemory_limit=4G bin/magento setup:di:compile


0

It seems Magento Bug https://github.com/magento/magento2/issues/31920 Please update this fix in your customer-data.js file https://github.com/magento/magento2/commit/5983e1733d56b1b2f15fb4f0e64094a3a4f3145d Override customer-data.js by copying vendor/magento/module-csutomer/view/frontend/web/js/customer-data.js to your theme app/design/frontend/VendorName/...


Top 50 recent answers are included