Viewing 1 to 10 of 11 items
Archive | Error RSS feed for this section

Magento 2 – How to fix Exception SessionHandler

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…

0

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…

0

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…

0

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…

0

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…

2

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…

0

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);

0