AWS: Checking Stopped Tasks for Errors

Sometimes the errors occured… Don’t panic. There are always several ways out. Some time ago, I was pretty surprised with that "STOPPED". Checking Stopped Tasks for Errors https://docs.aws.amazon.com/AmazonECS/latest/developerguide/stopped-task-errors.html Docker Diagnostics https://docs.aws.amazon.com/AmazonECS/latest/developerguide/docker-diags.html For troubleshooting, first of all, click on the "Stopped" Task. In the Details section, inspect the Stopped reason field to see the reason that... » read more

Mocha: Setup Debug for PHPstorm+NodeJS

I like to debug PHP code with PHPStrom. It simply click "Debug Icon" and debugging process automatically catch all scripts running from console or browser and no other manipulation needed. NodeJS has another debug approach and it different from PHP, also, it is much complicated. You should setup debugging for every a file or a... » read more

How to install ionCube on PHP 5.6 with PHPBrew

I show how to install ionCube on PHP 5.6 but in other case there is no difference and only version of PHP should be changed in command. Install required PHP version without -debug mode, ionCube does not support it $ phpbrew install php-5.6.40 +default +mysql +pdo +fpm +gd +gettext +iconv +intl -debug -openssl Use needable... » read more

Linux: Create shortcut icon on Desktop and in Menu

We will add shortcut icon for Navicat. Run next commands: $ cd /usr/share/applications $ sudo touch navicat.desktop $ sudo vim navicat.desktop [Desktop Entry] Name=Navicat Comment=Navicat Premium Exec=/home/popov/Soft/navicat121_premium_en_x64/start_navicat Icon=/home/popov/Soft/navicat121_premium_en_x64/navicat.ico Terminal=false StartupNotify=true Type=Application Categories=Development; Check you shortcut with desktop-file-validate. Fix errors if they are presented. $ desktop-file-validate navicat.desktop Create shortcut icon on Desktop and in Menu $... » read more

PHPStorm: How to debug TypeScript

Some time ago, I’ve started to work with Node.JS and its TypeScript. No one serious project get around without debugging. I work with PHPStorm many years, so there were no needs to search another IDE for Node.js, such as PHPStorm has natively support for Node.JS. That sounds great but a debugging approach is slightly different... » read more

Setup Sitemap.xml in Magento 1 multistore

General information While Magento is a powerful e-commerce platform there are some drawbacks which you should do manually on every new site. For example, we cannot configure one sitemap.xml for one store with different store views, these should be three different files. It brings some misunderstanding how all should work together.