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
In the previous post, I was following the AWS "Docker Basics" tutorial. Near the end there was a comment that I needed to do some setup in my AWS ECS before I could run any Docker images. I’ll cover that setup in this post. The link below is for the instructions that I used as... » read more
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
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
https://www.youtube.com/watch?v=1HrOfr8e96A In my localhost, I have two domains named website.vn website.us Both these websites pointing to same the path /var/www/html/magento/2.2.x/2.2.5 Let’s do this practice, you need to follow steps by step: Step 1: Add a new Root Category Log into the backend and navigate to the Catalog → Catalog → Categories → Add Root Category... » read more
How to fix the «Call to a member function getData() on null» error in Smartwave Porto after upgrading Magento to 2.3.1?
In Magento 2.3.1 the product.info.details block has changed its class from Magento\Catalog\Block\Product\View\Description to Magento\Catalog\Block\Product\View\Details.
Якщо після цих команд, модулі так і не появилися в налаштуваннях php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f uk_UA en_US php bin/magento indexer:reindex php bin/magento cache:flush Потрібно спробувати почистити zend opcache: opcache_reset()
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
Summary Lerna is powerful package which allow develop multiple module in one repository, this approach named monorepo. There are many cool things which can do Lerna, but in this post I describe only minimal usage.
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