cancel
Showing results for 
Search instead for 
Did you mean: 

Applying Patch PRODSECBUG 2198 - Cannot find file/folders

Applying Patch PRODSECBUG 2198 - Cannot find file/folders

We are using Magento CE 2.3

 

When running git apply patch XXX

CLI returns: 

error: app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php: No such file or directory

error: lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php: No such file or directory

 

I checked these directories and it is correct these do not exist. 

6 REPLIES 6

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

Are u sure that it's the good patch for your magento version?

Are u sure to run the patch in the root of your magento directory?

Fast ecommerce hosting : www.fast-mage.com

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

Same issue for me with 2.2.6. Same files not found.

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

Hi,

Same issue ...

We have not this file on 2.2.5

app/code/Magento/Catalog/Model/Product/ProductFrontendAction/Synchronizer.php
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

 

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

Your store has been installed with composer, with a composer installed store, the files are saved to the vendor directory and not to the app/code folder.

 

Download the composer patch and apply with that.

If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

composer patch is still not working for me, magento open source 2.1.5

Re: Applying Patch PRODSECBUG 2198 - Cannot find file/folders

I was able to apply the patch by using git apply from the ./vendor directory.

 

git apply ../m2-hotfixes/PRODSECBUG-2198-2.1-CE.composer-2019-03-27-06-11-22.patch