How to Enable Magento 2 Cronjob

Magento uses cron jobs for numerous features to schedule activities. To enable the cron job in Magento 2, log in to the server using SSH. Switch to the appropriate user if you are logged in as root. Now run command

If you need to remove the cronjob, run

See Magento […]

Read More…

Magento catalog_product_relation MySQL Error

On transferring a Magento website Database running on MySQL 5.7.34 to MariaDB 10.2.39, I get the following error

SQL Strict mode was already off on this MySQL server.

To fix the problem, edited the db.sql file, added

at the top of the file. After this change, the restore worked without any error. […]

Read More…

Magento 1 Invalid Form Key

magento 1 login error

When login to Magento 1 Admin area, i get an error Invalid Form Key. Please refresh the page. This is because the value of web/cookie/cookie_domain set wrong. This should be the current domain name.

In this case, the domain name was different. To see the value, you can run

You can leave cookie […]

Read More…

Magento 2 Unable to proceed: the maintenance mode is enabled


When i visit a Magento 2 site, i get error

To fix this, login to the server using SSH, run following command.

This will disable Magento 2 maintenance mode. If you need maintenance mode enabled, you can run

See Magento […]

Read More…

Install Elasticsearch 7 on Ubuntu for Magento 2.3

To install Elasticsearch, add the key

add apt repository

install elasticsearch with apt

Set elasticsearch to start on boot

Elasticsearch can be started and stopped as follows:

verify elasticsearch is running with

or with

if it fail to start, you can debug with

See elasticsearch […]

Read More…

Enable memcached on Magento 2 in Plesk Server

memcached telnet

To install memcached, run

Enable memcached php module

This is for PHP 7.3, change the path to pecl for your version of PHP. Activate memcached

Update php handler

Restart php-fpm

Install memcached deamon

Restart memcached

Verify it is working with netstat

Activate memcached in Magento 2 Edit […]

Read More…

Magento 2 list enabled modules

To list Modules in Magento 2, run


See Magento 2 […]

Read More…

Magento Change URL


Magento store website URL in table core_config_data. This is the same for Magento 1 and Magento 2. To see the current URL, in phpMyAdmin or MySQL command line, run

Normally this shows 2 entries. If it shows more than 2 entries, it is because you have more store configured in your Magento installation. In […]

Read More…

Install Elasticsearch 6 on Debian for Magento

To install Elasticsearch for Magento on Debian, install Java 1.8 and apt-transport-https

Add key

Add repository

Install Elasticsearch

Enable and start Elasticsearch


Read More…

Magento 1 Command Line Tool


Magento 2 comes with command line tool to manage magento installation. This help you to do many tasks like clearning cache, install extension easier. Magento 1 CLI is available from To install Magento 1 command line tool, go to Magento install folder and run

Now you will be able to use the command […]

Read More…