Magento CACHE folder too large?

I have been checking the magento folder of / var / and I notice that every time I clean FPC in my magento manager the "cache" folder is not cleaned, the file size remains the same, how should I clean this?

what is strange there are also 2 files "cache_fpc" and "cache_fpc–" when I clean FPC inside magento the file "cache_fpc" changes and becomes smaller however the file "cache_fpc–" is still the same size?

What is the file "cache_fpc–" ???

Magento is version 1.9.3.8

regards

Magento 2 installation freeze at 0%

I am using Windows 10 and xampp. Installation gets stuck at 0%. Some of the tables are created in the database (30 or something like that). these are the errors shown in the apache 2 error log

(Sun Feb 16 13:00:00.864775 2020) (mpm_winnt:notice) (pid 9652:tid 260) AH00354: Child: Starting 150 worker threads.
(Sun Feb 16 13:00:04.191132 2020) (mpm_winnt:notice) (pid 11932:tid 648) AH00428: Parent: child process 9652 exited with status 3221226356 -- Restarting.
(Sun Feb 16 13:00:04.634088 2020) (mpm_winnt:notice) (pid 11932:tid 648) AH00455: Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9 configured -- resuming normal operations
(Sun Feb 16 13:00:04.634088 2020) (mpm_winnt:notice) (pid 11932:tid 648) AH00456: Apache Lounge VC14 Server built: Jul  9 2017 11:48:22
(Sun Feb 16 13:00:04.634088 2020) (core:notice) (pid 11932:tid 648) AH00094: Command line: 'c:\xampp\apache\bin\httpd.exe -d C:/xampp/apache'
(Sun Feb 16 13:00:04.639089 2020) (mpm_winnt:notice) (pid 11932:tid 648) AH00418: Parent: Created child process 1404
(Su

magento2 – Resizing images in Magento 2 does not work properly

The images of my products have a size of 600 x 600 px. In the view.xml file I have configured:


      300
      366

But the images I get on the category page are 300 x 300 px, not 300 x 366 px.
Any help would be appreciated!

magento2.3 – Magento 2: problem with PayPal express payment

I have integrated Paypal Express Checkout into my Magento 2 website. It is redirecting to PayPal after payment. But when I log in to the PayPal account I receive an error message.

We are sorry. This seller does not accept payments in your currency. Return to the seller and choose another form of payment.

Although I have allowed all the currency and the main currency to be USD.

magento2 – Magento Framework Config Dom ValidationException: Element & # 39; argument & # 39 ;: Duplicate key sequence

I have an error when developer mode is active.
The exception is dropped when entering any product detail page.
I am running magento 2.3.4
Could you help me find a solution?

1 exception(s):

Exception # 0 (Magento Framework Config Dom ValidationException): Element & # 39; argument & # 39 ;: Duplicate key sequence (& # 39; title & # 39;) in the key identity restriction & # 39; blockArgumentName & # 39 ;.
Line: 1388

Exception # 0 (Magento Framework Config Dom ValidationException): Element & # 39; argument & # 39 ;: Duplicate key sequence (& # 39; title & # 39;) in the key identity restriction & # 39; blockArgumentName & # 39 ;.
Line: 1388

#1 MagentoFrameworkConfigDom->__construct() called at (vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:121)
#2 MagentoFrameworkObjectManagerFactoryAbstractFactory->createObject() called at (vendor/magento/framework/ObjectManager/Factory/Compiled.php:108)
#3 MagentoFrameworkObjectManagerFactoryCompiled->create() called at (vendor/magento/framework/ObjectManager/ObjectManager.php:56)
#4 MagentoFrameworkObjectManagerObjectManager->create() called at (vendor/magento/framework/Config/DomFactory.php:43)
#5 MagentoFrameworkConfigDomFactory->createDom() called at (vendor/magento/framework/View/Model/Layout/Update/Validator.php:141)
#6 MagentoFrameworkViewModelLayoutUpdateValidator->isValid() called at (vendor/magento/framework/View/Model/Layout/Merge.php:512)
#7 MagentoFrameworkViewModelLayoutMerge->_validateMergedLayout() called at (vendor/magento/framework/View/Model/Layout/Merge.php:488)
#8 MagentoFrameworkViewModelLayoutMerge->load() called at (generated/code/Magento/Framework/View/Model/Layout/Merge/Interceptor.php:206)
#9 MagentoFrameworkViewModelLayoutMergeInterceptor->load() called at (vendor/magento/framework/View/Layout/Builder.php:86)
#10 MagentoFrameworkViewLayoutBuilder->loadLayoutUpdates() called at (vendor/magento/framework/View/Layout/Builder.php:63)
#11 MagentoFrameworkViewLayoutBuilder->build() called at (vendor/magento/framework/View/Layout.php:257)
#12 MagentoFrameworkViewLayout->build() called at (vendor/magento/framework/View/Layout.php:882)
#13 MagentoFrameworkViewLayout->getBlock() called at (generated/code/Magento/Framework/View/Layout/Interceptor.php:414)
#14 MagentoFrameworkViewLayoutInterceptor->getBlock() called at (vendor/magento/module-cms/Helper/Page.php:215)
#15 MagentoCmsHelperPage->prepareResultPage() called at (vendor/magento/module-cms/Controller/Noroute/Index.php:47)
#16 MagentoCmsControllerNorouteIndex->execute() called at (generated/code/Magento/Cms/Controller/Noroute/Index/Interceptor.php:24)
#17 MagentoCmsControllerNorouteIndexInterceptor->execute() called at (vendor/magento/framework/App/Action/Action.php:108)
#18 MagentoFrameworkAppActionAction->dispatch() called at (vendor/magento/framework/Interception/Interceptor.php:58)
#19 MagentoCmsControllerNorouteIndexInterceptor->___callParent() called at (vendor/magento/framework/Interception/Interceptor.php:138)
#20 MagentoCmsControllerNorouteIndexInterceptor->MagentoFrameworkInterception{closure}() called at (vendor/magento/framework/Interception/Interceptor.php:153)
#21 MagentoCmsControllerNorouteIndexInterceptor->___callPlugins() called at (generated/code/Magento/Cms/Controller/Noroute/Index/Interceptor.php:39)
#22 MagentoCmsControllerNorouteIndexInterceptor->dispatch() called at (vendor/magento/framework/App/FrontController.php:159)
#23 MagentoFrameworkAppFrontController->processRequest() called at (vendor/magento/framework/App/FrontController.php:98)
#24 MagentoFrameworkAppFrontController->dispatch() called at (vendor/magento/framework/Interception/Interceptor.php:58)
#25 MagentoFrameworkAppFrontControllerInterceptor->___callParent() called at (vendor/magento/framework/Interception/Interceptor.php:138)
#26 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at (vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99)
#27 MagentoStoreAppFrontControllerPluginRequestPreprocessor->aroundDispatch() called at (vendor/magento/framework/Interception/Interceptor.php:135)
#28 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at (vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:73)
#29 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->aroundDispatch() called at (vendor/magento/framework/Interception/Interceptor.php:135)
#30 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at (vendor/magento/framework/Interception/Interceptor.php:153)
#31 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at (generated/code/Magento/Framework/App/FrontController/Interceptor.php:26)
#32 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at (vendor/magento/framework/App/Http.php:116)
#33 MagentoFrameworkAppHttp->launch() called at (vendor/magento/framework/App/Bootstrap.php:261)
#34 MagentoFrameworkAppBootstrap->run() called at (pub/index.php:40)

Thanks in advance!

magento 1.9 – How can I get a previously encrypted password after client registration?

Keep in mind: I understand that this would be open to a potential security risk. However, due to the nature of my site, I want to use up as many solutions as possible to help prevent fraud from happening. With the way Magento saves and changes passwords, it is impossible to compare passwords. One way to catch abusers / scammers is to compare the password they use in the registry, as many use the same to speed up the process.

Intention: I want to obtain the unprocessed password after a successful registration, make a hash (without salt) and save it in a table on a remote server that has no connection to my site's server. I would simply save the client ID and the new hash password.

I think I could do this in 1 to 2 ways:

  1. Extend the core model with an additional function that will do this
  2. Create a new module that uses the customer_register_success ? event and grab it separately.

I am not sure if it is possible or not to obtain the password before it is processed with solution 2.

Anyway, after looking a bit through the main customer models, I have really only found a couple of possibilities.

In /core/Mage/Customer/Model/Customer.php

$this->setData('password', $password);

I can't say if this is happening the pre-hash password or not, although it does precede setPasswordHash().

Now, I tried to try this just to see what I get as a result, but I can't take anything. I tried to extend core/Mage/Customer/Model/Customer.php doing the following:

config.xml



    
        1.0.0
    



    
        
            Custommodule_Password_Model
        

        
          
            Custommodule_Password_Model_Export
          
        

           

Custommodule_Password.xml



  
      
          true
          local
          
      
  

/Custommodule/Password/Model/Export.php

class Customermodule_Password_Model_Export extends Mage_Customer_Model_Customer
{


public function getPassword($password) {
   $email = $this->getData('email');
   $pw = $this->getData('password');
   $customer = Mage::getModel("customer/customer")->loadByEmail($email);
   $customerId = $customer->getId();


}

}

I'll be honest, I'm not even completely sure if this is the right way to capture the customer's entity or if I'm extending the right kind of model.

Any help, suggestions, advice are greatly appreciated.

Magento 2 I want my clothing size to be remembered during the session

A selected size filter in layered navigation in a category page It should be remembered and reapplied automatically when you revisit that category or any other category in that session.

Payment method working in magento 2.3.2 but not in m2.3.3

I am using a payment method that works well in Magento 2.3.2, but when I install in Magento 2.3.3, does no help appear in the payment?

magento2 – Magento 2 – Show the list of products filtered by price range

The module I am working on has a form with three entries, Low Range, High Range and Sort by price. For some reason, you are not returning the product collection.

I receive the following error:

Exception # 0 (Exception): Warning: An invalid argument was provided for
foreach () in
app code Vendor CustPriceRange view frontend templates custpricerange.phtml
on line 24

It seems to me that the product collection is not loading correctly. Is there a way to prevent the catalog from loading until the form is submitted? Maybe a second driver?

Any help would be appreciated.

Block CustPriceRange.php

_productCollectionFactory = $productCollectionFactory;
       parent::__construct($context, $data);
     }

     public function getProductCollection()
     {
       try {

         $collection = $this->_productCollectionFactory->create();
         $collection->addAttributeToSelect('*')
             ->addPriceDataFieldFilter('%s >= %s', ('final_price', $lowrange))
             ->addPriceDataFieldFilter('%s <= %s', ('final_price', $highrange))
             ->addFinalPrice()
             ->addAttributeToFilter('entity_id', ('neq' => $product->getId()))
             ->addAttributeToFilter('status', ('in' => $this->productStatus->getVisibleStatusIds()))
             ->setVisibility($this->productVisibility->getVisibleInSiteIds())
             ->setPageSize(10);

         if ($sortbyprice == 'D') {
            $collection->getSelect()->order('price_index.final_price DSC');
         } elseif ($sortbyprice == 'A') {
             $collection->getSelect()->order('price_index.final_price ASC');
         }

         return $collection;

       } catch (Exception $e) {

         var_dump($e->getMessage());
       }
     }

}
?>

Driver Client index.php

getRequest()->getPost();

        if (!empty($post)) {
            $lowrange     = $post('lowrange');
            $highrange    = $post('highrange');
            $sortbyprice  = $post('sortbyprice');

            $resultJson = $this->resultFactory->create(ResultFactory::TYPE_JSON);

            return $resultJson;
        }

        $this->_view->loadLayout();
        $this->_view->renderLayout(); 

    } 
} 

?>

see frontend templates custpricerange.phtml


    Custom Price Range 
getProductCollection (); foreach ($ collection as $ _product) { echo $ _product-> getThumbnail (). & # 39; - & # 39 ;. $ _product-> getSku (). & # 39; - & # 39 ;. $ _product-> getName (). & # 39; - & # 39 ;. $ _product-> getQty (). & # 39; - & # 39 ;. $ _product-> getPrice (). & # 39; - & # 39 ;. $ _product-> getProductUrl (). & # 39;
& # 39 ;; } ?>

How to TRUNK TABLE in Magento Cloud

I am using Magento 2.3.3 in Magento Cloud. For the pre-launch, I need to TRUNK 2 TABLES from the database.

How do I enter sql mode to run sql scripts to truncate 2 tables in Magento Cloud?
enter the description of the image here

Thank you