MAY 03 2020

Magento Checkout broken after SUPEE-10415, blank empty page

Problem description After installing SUPEE-10415 patch Magento Checkout page is broken, blank or empty. Cause and solution There are several possible cases caused by improper patch installation of SUPEE-10415 or earlier SUPEE-8788 patch, Please check the following articles for solution: Cannot redeclare Mage_Core_Helper_String::unserialize() Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH Unsupported data type N If you have any difficulties with solving this problem or got a similar one, please let us know in comments below, so we… Read the rest
MAY 03 2020

Cannot redeclare Mage_Core_Helper_String::unserialize() in app/code/core/Mage/Core/Helper/String.php

Problem description Magento Checkout is blank/empty after installing SUPEE-10415, the following error logged in PHP error log: PHP Fatal error: Cannot redeclare Mage_Core_Helper_String::unserialize() in app/code/core/Mage/Core/Helper/String.php on line 505 Cause app/code/core/Mage/Core/Helper/String.php file got patched twice (either due to manual action or by file upload from another Magento version). As result, unserialize() function is defined twice and causing fatal error. Solution Delete extra definition of unserialize() function in app/code/core/Mage/Core/Helper/String.php file: If you have any difficulties with solving… Read the rest
MAY 03 2020

Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH in app/code/core/Mage/Customer/Model/Customer.php on line 55

Problem description After installing SUPEE-10415 Magento Checkout page is blank/empty. The following error logged in PHP error log or shown (if display_errors is enabled): PHP Fatal error: Cannot redefine class constant Mage_Customer_Model_Customer::MAXIMUM_PASSWORD_LENGTH in app/code/core/Mage/Customer/Model/Customer.php on line 55 Cause app/code/core/Mage/Customer/Model/Customer.php have MAXIMUM_PASSWORD_LENGTH constant declared two or more times. It can happen if the file was patched manually earlier or uploaded from newer Magento version. Solution Edit app/code/core/Mage/Customer/Model/Customer.php and delete the extra declaration of MAXIMUM_PASSWORD_LENGTH around line… Read the rest
MAY 28 2019

Magento’s “404 error: Page not found” in default design after SUPEE-10415

Magento throws 404 error: Page not found. in default design for any request after SUPEE-10415 patch installation or after upgrade to Magento 1.9.3.7 version and newer: It shows 404 error for all pages: Magento backend, Home page, product pages, category pages etc. Cause The following code was added in SUPEE-10415/Magento 1.9.3.7 to log function of app/Mage.php file to validate log file extensions: With that code, Magento is not properly logging PHP warnings that occur early… Read the rest
MAY 28 2019

User Notice: ‘hashed_directory_umask’ is deprecated -> please use ‘hashed_directory_perm’ instead in lib/Zend/Cache/Backend/File.php on line 143

After PHP version upgrade Magento throws the following error message in log: User Notice: ‘hashed_directory_umask’ is deprecated -> please use ‘hashed_directory_perm’ instead in lib/Zend/Cache/Backend/File.php on line 143 Sometimes, such notice (actually, any notice) cause 404 error response for every Magento page due to early self::helper(‘log’) call added in SUPEE-10415. Cause hashed_directory_umask option is deprecated in newer PHP version and should be replaced with hashed_directory_perm. hashed_directory_umask option is not referred directly in Magento 1.x code, though… Read the rest
MAR 16 2018

Call to undefined method Mage_Log_Helper_Data::isLogFileExtensionValid() in app/Mage.php on line 811

Problem description The following error is shown or logged after Magento upgrade or patch installation (SUPEE-10415): PHP Fatal error: Call to undefined method Mage_Log_Helper_Data::isLogFileExtensionValid() in app/Mage.php on line 811 Cause app/Mage.php was updated with isLogFileExtensionValid() function, but there is no such function in app/code/core/Mage/Log/Helper/Data.php or code is cached by Magento Compiler or Opcode Cache. Ensure that the following code is in app/code/core/Mage/Log/Helper/Data.php (at the very end of file) If the code above is there, proceed… Read the rest
JAN 31 2021

How to install SUPEE-10415


3 comments

Magento CE 1.9.3.7 and SUPEE-10415 Security Enhancements – 11/29/2017 SUPEE-10415 patch can be downloaded from Downloads section or installed as a regular Magento 1.x upgrade or upgrade to OpenMage LTS with all the latest security patches up to date (it is about ~30 patches up to 2021). To apply the patch you need SSH access (shell access actually, SSH is just most used way to get shell access) to the server. If you have no… Read the rest
NOV 29 2017

How to install SUPEE-10415 without SSH


34 comments

November 29, 2017: Community Edition 1.9.3.7 and SUPEE-10415 Security Enhancements – 11/29/2017. If you have SSH access, it would be more simple to apply the patch via SSH. If you have no SSH access to apply the patch, you can simply upgrade your installation to Magento 1.9.3.7 version which includes all the latest security patches (SUPEE-5344, SUPEE-5994, SUPEE-6285, SUPEE-6482, SUPEE-6788, SUPEE-7405, SUPEE-8788, SUPEE-9652, SUPEE-9667, SUPEE-10266, SUPEE-10336 and SUPEE-10415). If Magento upgrade is not possible in… Read the rest