The Issue You may face the following exception during the Magento 2 installation: 12345 exception ‘Exception’ with message ‘Warning: SessionHandler::read(): open(..) failed: No such file or directory (2) ../magento2/lib/internal/Magento/Framework/Session/SaveHandler.php on line 74’ in ../magento2/lib/internal/Magento/Framework/App/ErrorHandler.php:67 The error occurs only in older code versions. To be more exact, you won’t see this exception working with versions from September 29, Full Article…
Centos – Nginx, PHP5-FPM and Permission Denied Errors
If you see the errors like the following: 2017/05/03 13:27:41 [crit] 4202#0: *1 connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream, client: xx.xxx.xx.xx, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "xx.xx.xx.xx" You can fix that issue by updating /etc/php5/fpm/pool.d/www.conf and set the listen.mode to 666 (remember to uncomment the line as well): listen.mode Full Article…
Magento – Abandoned carts report doesn’t work
Solutions: Yes this is known bug caused by the middle name attribute in recent versions of Magento. Here is the solution for this issue, we need to insert records for middle name attribute for old customers, here is the script to update database table require 'app/Mage.php'; Mage::app('default'); $db_read = Mage::getSingleton('core/resource')->getConnection('core_read'); $tablePrefix = (string) Mage::getConfig()->getTablePrefix(); Full Article…
Fixing Magento catalog price rule disappears at night
I have developed the online store on magento platform. Everything works fine except the Catalog price rule for sale. I have created the simple rule that applies 15% discount on all products. When I save and apply the rule, it works fine the whole day. But after 12 at night, the sale is no more Full Article…
CANNOT INITIALIZE THE INDEXER PROCESS IN MAGENTO
This phrase gave me nightmares for days as I was building the new website. We installed a ton of extensions to automate the website, and somewhere along the line some database tables got corrupted, so I had to start a what seemed like an endless game of cat and mouse chasing down what was really wrong Full Article…
Configurable product – Inventory – Stock Availability status doesn’t change when all associated Simple products go out of stock?
I have an Enterprise site (1.12.0.2) and a Community site (1.7.0) both doing the same thing. A configurable product (Manage Stock set to Yes) has just one simple product. Somebody orders the last remaining stock item pushing the simple product's Stock Availability Status into "Out of Stock". However the configurable parent's Stock Availability Status remains Full Article…
MAGENTO – SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘x-xxxxxxxxxx-x-x-x-xxx-x’ for key ‘EAA51B56FF092A0DCB795D1CEF812B7B’
Some weeks ago I was trying to import/update some products in Magento 1.7 and I got the following error: An error occurred while saving this configuration: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-1332892800-0-1-0-209-0' for key 'EAA51B56FF092A0DCB795D1CEF812B7B' The error message by itself doesn’t help that much and trying to google it didn’t bring any relevant Full Article…
[Magento Fix] SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range
Last week, while working on a client’s Magento 1.7.x website, we were trying to delete all the catalogue products, but it did not happen and it kept on throwing this error, 1 SQLSTATE[22003]: Numeric value out of range: 1690 BIGINT UNSIGNED value is out of range in '(`magento_store`.`q`.`items_count` – 1)' Here are three different Full Article…
Fixing errors when upgrading package in Centos
Fixing errors when upgrading package in Centos [root@ ~]# yum update Loaded plugins: downloadonly, fastestmirror, replace Loading mirror speeds from cached hostfile * base: centos.tcpdiag.net * epel: mirrors.solfo.com * extras: centos.mirrors.hoobly.com * rpmforge: mirror.webnx.com * updates: mirror.supremebytes.com Setting up Update Process Resolving Dependencies –> Running transaction check —> Package php-pecl-igbinary.x86_64 0:1.1.2-0.5.git3b8ab7e.el6.remi.1 will be updated —> Full Article…
Magento PHP 5.4 PDF invoice Zend error
Magento PHP 5.4 PDF invoice Zend error Fatal error: Declaration of Zend_Pdf_FileParserDataSource_File::__construct() must be compatible with Zend_Pdf_FileParserDataSource::__construct() in /var/www/vhosts/website/httpdocs/includes/src/Zend_Pdf_FileParserDataSource_File.php on line 41 This an incompatibility issue between PHP Version 5.4.4 and zend Framwork . Fixed it by change in this function lib/Zend/Pdf/FileParserDataSource.php. change abstract public function __construct(); to abstract public function __construct($filePath);