Explore information related to magento

Magento 2: Error during compilation after upgrading to version 2.2.3

This article covers methods to fix Magento error which happens during compilation on upgrading to version 2.2.3. 

If you upgrade Magento older version to Magento 2.2.3 and you fetching same error in compile then below step you should follow to resolve this error.

Magento older version have 2 directories and 2 files in this path:

  • Filter
  • Reader
  • Builder.php
  • GeneratorPool.php

And Magento version 2.2.3 have 1 directory and 2 files:

  • Reader
  • Builder.php file
  • StructureManager.php

So after merge files and folder, you should delete "filter" folder and "GeneratorPool.php" from Magento version 2.2.3 on this path:


Then run the compile command

Read More

Run cron job manually in Magento 2 - Do it Now ?

This article covers how to run cron job manually in Magento 2. Basically, Cron Job is one of the important features of Magento.

Generally, the syntax to write a cron is:

* * * * * /etc/cron.daily/script.sh


# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
# │ │ │ │ │                                   7 is also Sunday on some systems)
# │ │ │ │ │
# │ │ │ │ │

#  * *  *  * * command to execute

/etc/cron.daily/script.sh – file to be executed.

This job will run every minute.

To run cron manually:

1. To run all crons:

$ php bin/magento cron:run

2. To run crons added under a group:

$ php bin/magento cron:run --group="your_group_id"

In our case, group id is default. 

So, command will be:

$ php bin/magento cron:run --group="default"

Read More

'Error InvalidArgumentException wrong file' in Magento 2 - fix it Now ?

This article covers methods to resolve 'Error InvalidArgumentException wrong file' in Magento 2 for our customers. 

You can resolve this error by applying the following changes in your php.ini file.

In your php.ini file increase values of below parameters:

max_execution_time = 18000
max_input_time = 1800
memory_limit = 1024M

Note : Make sure you increase max_input_time value to at least 1800 and it will works.

Read More

Icons images and javascript files missing from frontend in Magento - Fix it now

This article covers methods to resolve Magento error related to with icons, images, and javascript files missing from frontend. Basically, icons, images, and javascript files might not appear if we use the wrong Magento update command to upgrade the version.

If you are in production mode, and are running setup:upgrade and you don't want regenerate static content because there is no need to, then you can use the following:

php bin/magento setup:upgrade --keep-generated

--keep-generated is an optional argument that does not update static view files. 

It should be used only in production mode. 

It should not be used in developer mode.

Solutions for the issue where stylesheets and images do not load after installing Magento ?

The following are possible solutions depending on the software you use and the cause of the problem:

If you are using the Apache web server, verify your server rewrites setting and your Magento server's base URL and try again. If you set up the Apache AllowOverride directive incorrectly, the static files are not served from the correct location.

If you are using the nginx web server, be sure to configure a virtual host file. The nginx virtual host file must meet the following criteria:

The include directive must point to the sample nginx configuration file in your Magento installation directory. For example:

include /var/www/html/magento2/nginx.conf.sample;

The server_name directive must match the base URL you specified when installing Magento. For example:

server_name ip_address;

If the Magento application is in production mode, try deploying static view files using the command magento setup:static-content:deploy.

Read More

Optimize Magento Database to improve site speed

This article covers how to perform Magento #speed #optimization using open-source software. Basically, #eCommerce customers expect a website to load within 2 seconds.

Magento is a resource-heavy ecommerce platform that requires the right set of resources and configurations for optimum performance. 

Even if you have a sound infrastructure, there is a chance that your Magento powered store might be slow.

Developers who are responsible for maintaining the Magento stores generally make sure that they incorporate the best Magento 2 performance optimization practices into the projects. 

As a result, ecommerce stores perform at peak efficiency 24/7.

To achieve high speed it's very essential for your online store.

Importance of having speed boost of your #Magento site:

1. To increase traffic at your website.

2. To gain a customer preference to buy from your site only.

3. Increase in conversion rate.

Read More

WordPress vs Joomla - Which is Better

This article covers the comparisons and differences of both WordPress vs Joomla. Basically, both WordPress and Joomla is an option for web hosting providers as options for web development tools. 

Choosing a Content Management System (CMS) is an important decision that can have huge repercussions for your website. 

There are a number available, each with their own pros and cons, and fanatical fanbases pulling for their chosen platform. 

A detailed comparison (WordPress vs Joomla):

1. Search engine optimization

If we compare the Search Engine Optimization (SEO) capabilities of both platforms out of the box, Joomla takes a slight edge due enabling its users to set meta descriptions and keywords for new articles.

2. Security

Due to its popularity, WordPress has a giant target on its back when it comes to security vulnerabilities.

Read More

Using Ansible to copy MySQL databases

This article will guide us on how to perform database migration using Ansible as the controller which can help to copy a MySQL database from one remote server to another.

Read More

Fix SQL server error 3023

Most databases users experience error 3023 when doing a backup, or altering the database table. It simply means that a backup process is still running in the background and thus any interruption will trigger this error.

Read More

Solve SQL server error 3729

Recently, we have seen rising cases of SQL related issues which our Server Experts have provided support in solving them.

Read More

Fix SQL server error 10054

When there are troubles with Service Principal Name (SPN) of an SQL Server Service, an SQL server error 10054 occurs. This is mainly observed when in the process of doing database connection remotely at the client-side.

Read More

For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com