Update/Upgrade Joomla from version 3.1.x to 3.9.x

This article shows how you can update or upgrage Joomla from version 3.1.x to 3.9.26 Enable Maintenance Mode 1) From administrator login Login to Joomla administrator Go to System –> Global Configuration On the “Site” tab, there is a setting called “Site Offline”. Set it to “Yes” Once you change it to “Yes”, then three … Read more

Magento 2: Create Widget Programmatically & Assign Static Block to it

This article shows how you can add/create Widget using Upgrade Script of a module in Magento 2. This code is useful when you need to auto add/create widget while upgrading your custom module. Here, we will also create a CMS Static Block and assign that newly created static block to the Widget. Add Widget and … Read more

Magento 2: Add/Update CMS Static Block via Install/Upgrade Script Programmatically

This article shows how you can add or update CMS Static Block using Install or Upgrade Script of a module in Magento 2. This code is useful when you need to auto add/edit cms static block while installing or upgrading your custom module. Add CMS Static Block from InstallData Setup Script This will add cms … Read more

Magento 2: Add/Update CMS Page via Install/Upgrade Script Programmatically

This article shows how you can add or update CMS Page using Install or Upgrade Script of a module in Magento 2. This code is useful when you need to auto add/edit cms page while installing or upgrading your custom module. Add CMS Page from InstallData Setup Script This will add cms page when you … Read more

FFMPEG: Convert & Edit Video via Command Line

FFMPEG is a free software that lets you create/edit/convert videos via command line. You can download and install FFMPEG for Linux, Windows, and Mac Operating System. FFMPEG provides a lot of features that you can apply to an video like: – get detailed information of the video – record video – convert video to audio … Read more

ImageMagick: Convert/Edit Multiple Images

This article shows how you can edit multiple images with a single command using ImageMagick. Convert Single Image We can use the convert program to edit single image. For example, We can convert an image from one format to another: convert input.png output.jpg Or, we can resize any image: convert input.png -resize 50% output.png Convert … Read more

ImageMagick: Convert & Edit Image via Command Line

ImageMagick is a free software that lets you create/edit/convert images via command line. You can download and install ImageMagick for Linux, Windows, and Mac Operating System. ImageMagick provides a lot of features that you can apply to an image like: – get detailed image information – resize, crop image – flip and rotate image – … Read more

[SOLVED] ERROR 2006 (HY000): MySQL server has gone away

This article provides the solution to the following MySQL error: ERROR 2006 (HY000): MySQL server has gone away We generally get this kind of error when we try to import or insert a large volume of data into the MySQL database. To solve this error, we can: – either update the MySQL’s configuration file: my.cnf … Read more