Magento 2

Magento 2.4.4 Admin not working after an Upgrade

Posted on

Well i know how frustrating it is to see the same admin login page after you click on “Sign In” button and instead of getting the admin dashboard you are served with the same login page without any errors. So this thing works for me as after upgrading to 2.4.4 i was not able to […]

 18 total views

Magento 2

SQLSTATE[HY000] [2002] No such file or directory (Frontend)

Posted on

Just fixed this issue that i was approached for. This relates to all magento 2 version below 2.4.0. Everything is working in cli. upgrade, compile and deployment codes are working. Only the frontend is showing Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] No such file or directory Exception #1 (PDOException): SQLSTATE[HY000] [2002] No such file or directory. Mysqld […]

 1,217 total views

Magento 2

upstream sent too big header while reading response header from upstream nginx

Posted on

You might have experienced this when you have a Nginx server for Magento >=2.3.5 onwards. You have a very easy solution for this just add this to your nginx conf usually you can find this configuration under this path /etc/nginx/nginx.conf http { fastcgi_buffers 16 16k;. fastcgi_buffer_size 32k.; proxy_buffer_size 128.k; proxy_buffers 4 256k;. proxy_busy_buffers_size 256k;   Just […]

 1,294 total views

Magento 2

Mega Menu Disappears When using Varnish Cache Magento 2

Posted on

Once you have varnish cache in your server setup and configured one of the problems you might face if you use varnish cache. Thats your mega menu will disappear from the site mobile as well as desktop version. Simple solution to that is to go to /vendor/magento/module-theme/view/frontend/layout/default.xml. In this file find “<block class=”Magento\Theme\Block\Html\Topmenu” name=”catalog.topnav” template=”Magento_Theme::html/topmenu.phtml” ttl=”3600″ […]

 1,175 total views

Magento 2

Tinymce error in Magento 2.3

Posted on

So here are the things you need to know about Magento 2.3. Tinymce is not supported from Magento 2.3 onwards. You might have extensions that used to work in Magento 2.2 and Magento 2.1 but in Magento 2.3 now wysiwyg editor wont load stating tinymce error. So what can be done ?? Easy just find […]

 1,098 total views

Magento 2

Hide Flat Rate When Free Shipping Is Active In Magento 2

Posted on

Lets hide Flat Rate when free shipping method is active in magento 2. Assuming you know how to create a module in magento 2 we will just show you how to hide flat rate using plugin. app/code/Vendor/Cart/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\OfflineShipping\Model\Carrier\Flatrate”> <plugin name=”disable-flatrate” type=”Vendor\Cart\Model\Carrier\Flatrate” sortOrder=”1″ /> </type> </config> app/code/Vendor/Cart/Model/Carrier/Flatrate.php <?php namespace DigitalAptech\Cart\Model\Carrier; […]

 1,226 total views

Magento 2

Add Custom menu collection in Magento 2

Posted on

What do we do if we want to show our own menu collection than the traditional list of menu that comes from adding categories ? Simple just make Plugin for that. Assuming you all know how to declare your modules i will skip that part. app/code/Vendor/Menu/etc/di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <type name=”Magento\Theme\Block\Html\Topmenu”> <plugin name=”catalogTopmenu” […]

 4,069 total views