Recover Mysql-5.7 Database From Old Folder Data.

Today is 5 Sep 2021, Unfortunately, I came across a problem with a Linux server on AWS. OS system dies, I was not able to connect to it anymore. Several websites are running on it. Oh my god! So firstly, I stopped the old EC2 instance and create a new one with lasted Instance bases…

Satoshi Nakamoto-P1

Satoshi Nakamoto[Dịch từ : https://nakamoto.com/satoshi-nakamoto/ ] Chúng ta không biết Satoshi là ai, là nam hay nữ. Chỉ có vỏn vẹn một vài thông tin của ông có từ tài khoản trên P2P Foundation (https://web.archive.org/web/20110317060514/https://p2pfoundation.ning.com/profile/SatoshiNakamoto). Chúng ta cũng có thể đặt ra nghi vấn Satoshi là cái tên đại diện cho một nhóm người hay…

Magento 2.4.1 Issues

I just upgraded a Magento 2 shop to version 2.4.1. Then I faced some bugs : File : /vendor/magento/module-captcha/view/frontend/web/js/view/checkout/defaultCaptcha.js !_.isEmpty(captchaData)[formId] => !_.isEmpty(captchaData[formId] )

Duplicate orders with same Quote Id

This problem is so hard to detect a cause. This one #25222 is one of a cause to make multiple duplicated orders. And Amazon Pay as well, I can’t recall exactly.But generally, for somewhat reason is that the function Magento\Quote\Model\QuoteManagement::submitQuote is called on twice or even more. So my solution is to make a hook/plugin on the…

TinyMCE Can’t add tags into tag a

— Update …. It’s here https://github.com/betagento/Editor I changed the schema validation to html5, by default is html5-strict. In the Class Betagento\Editor\Model\WysiwygConfig, use can add more TinyMCE settings if you want. [see https://www.tiny.cloud/docs-4x/] Issue is that I tried to add tag <span> and <i> to tag </a>, but it does not work. This is solution to resolve…

M2 – Uncaught TypeError: Cannot read property ‘items’ of undefined – /Magento_Checkout/js/model/totals.js

A bug story: I faced an issue on a checkout that the JS error happen when selecting a shipping method. I tried to check in some extension mixins javascript files but did not found anything wrong. When I check if it has an error in XHR ajax calls. Then I found https://x-x-x.com/rest/dk/V1/guest-carts/xxx–xxx/shipping-information Problem is: total…