Zend Anwar

Full stack web developer

Author: admin

How do I create a superuser account in Django

Just run following command $ python manage.py migrate $ python manage.py createsuperuser

Read More

django install with anaconda

Just open anaconda cmd & run following command conda install -c anaconda django

Read More

Remove Advanced Search Link from header in Magento 2

Path –  Vendor_Name/Custom_Theme_Name/Magento_Theme/layout/default.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”../../../../../vendor/magento/framework/Module/etc/module.xsd”> <referenceBlock name=”advanced-search-link” remove=”true”/> </page>

Read More

How to Edit/Change/remove Magento 2 Privacy Policy Page

Path –  Vendor_Name/Custom_Theme_Name/Magento_Theme/layout/default.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”../../../../../vendor/magento/framework/Module/etc/module.xsd”> <referenceBlock name=”footer_links” remove=”true”/> </page>

Read More

Remove “help us keep magento healthy report all bugs” from footer in Magento 2

just create the following folder & file app/design/frontend/Vendor/theme/Magento_Theme/layout/default.xml add following code in default.xml <?xml version=”1.0″?> <page xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”../../../../../vendor/magento/framework/Module/etc/module.xsd”> <referenceBlock name=”report.bugs” remove=”true” /> </page>

Read More

PHP: syntax error, unexpected ‘(‘ in C:\xampp\php\php.ini in cmd mode

Maybe error_reporting = E_ALL & ~E_NOTICE uncomments. Please follow below statement ;error_reporting = E_ALL & ~E_NOTICE

Read More

How to add a custom CSS in Magento 2

Just follow below step Step 1: Make sure your developer mode. Step 2: Create the following folder & files app / design / frontend / [vendor] / [Your_theme] / Magento_Theme / layout / default_head_blocks.xml app / design / frontend / [vendor] / [Your_theme] / web / css / custom.css Step 3: Pace this code within […]

Read More

Magento 2 No options under configuration>general>design

I was bit confuse about design option missing. I found in Content > Configuration . Please change header & footer option from here.

Read More

Fatal error: Class Zend\Stdlib\Parameters contains …. in Magento 2

To solve this problem run following commands: 1. php bin/Magento setup:upgrade 2. php bin/Magento setup:static-content:deploy 3. php bin/Magento cache:clean 4. php bin/Magento cache:flush If still exist your problem, please restart your web server. I hope solve this issue.

Read More

Fatal error: Allowed memory size of 792723456 bytes exhausted in Magento 2

Please follow below step with CLI php bin/magento setup:upgrade php bin/magento setup:static-content:deploy php bin/magento cache:flush php bin/magento cache:clean If you face same issue please change memory configuration [root-folder]/.user.ini memory_limit = 768M [root-folder]/.htaccess (two place) php_value memory_limit 768M [root-folder]/pub/.user.ini memory_limit = 768M [root-folder]/pub/.htaccess (two place) php_value memory_limit 768M

Read More