Zend Anwar

Full stack web developer

Day: July 18, 2018

How to transfer localhost to server in Magento 2

Please follow below step Copy source files and database Update config file with new database location in app/etc/env.php Go to database and change host in core_config_data table to new domain/IP After complete above procedure and then clear cache with following command php bin/magento indexer:reindex php bin/magento cache:flush

Read More

Magento 2 add to cart not working localhost Only in chrome

Change base url http://localhost/ to http://127.0.0.1 please follow below step: Go to database  and find “core_config_data” table Then change secure and unsecure base url

Read More

Zendanwar_HelloWorld db schema version: defined in codebase – 0.0.1, currently installed – 1.0.0

mysql> SELECT * FROM setup_module WHERE module = ‘Zendanwar_HelloWorld ‘; +———————–+———————-+———————+ | module | schema_version | data_version | +———————–+———————-+———————+ | Magento_Directory | 1.0.0 | 1.0.0 | +———————–+———————-+———————+ Just edit schema_version & data_version with 0.0.1

Read More

How to check modules status in Magento 2

Just follow the below CLI command php bin/magento module:status You can also check from following file. app/etc/config.php

Read More