apt-get update #Install the server. apt-get install apache2 #Install PHP 7.2 and the required extensions: add-apt-repository ppa:ondrej/php apt-get update apt-get install php7.2 libapache2-mod-php7.2 php7.2-common php7.2-gd… Read More →
You can also do it from your project root index file. Put the following file on your project index.php. error_reporting(E_ALL); ini_set(‘display_errors’, TRUE); ini_set(‘display_startup_errors’, TRUE); To… Read More →
To enable template path hints in Magento 2 follow these steps: 1. Make sure your Magento 2 is in the default or developer mode (How… Read More →
CSS :nth-child() Selector Select Only the Fifth Element li:nth-child(5) { color: green; } Select All But The First Five li:nth-child(n+6) { color: green; } Select… Read More →
:not() pseudo-class with multiple arguments in html
June 21, 2019
:not() pseudo-class with multiple arguments in html input:not([type=”radio”]):not([type=”checkbox”])
Attribute selectors – CSS [attribute*=value] Selector | Select Element By Specific attribute value
June 16, 2019
Use the following code to Select Element By Specific attribute value [class^=”top”] { background: yellow; } or[class*=”me”] { background: yellow; } It doesn’t have to… Read More →
Understanding Magento 2 File System Permissions and Ownership Magento 2 installation on Ubuntu servers running Apache requires precise file system permissions and ownership configuration to… Read More →
In the ever-evolving landscape of web development, where projects are deployed across shared hosting environments, cloud servers, and local machines with varying configurations, a seemingly… Read More →
In PHP, there are several ways to retrieve the name of the current method or function from within its own scope. This capability is particularly… Read More →
Error After Installing Magento 2 Go to – “D:\xampp\htdocs\mage2\vendor\magento\framework\View\Element\Template\File\”. Open The file name Validator.php Search for “$this->fileDriver->getRealPath“, you will find the similar code. Replace them with… Read More →