Tortoise SVN ignore folder

To ignore selected folder in Tortoise , open

  1. .hgignore file
  2. type “foldername/*” and then save it
  3. then when you refresh the SVN the folder won’t show in the Modified list section.

White Screen no errors Magento 2

Compilation command

php  bin/magento setup:upgrade

php  bin/magento setup:di:compile

php  bin/magento setup:static-content:deploy -f

php bin/magento cache:clean

After running the above command if you face the blank page error for front end page and admin end page as some error like “Fatal error: Uncaught Error: Call to a member function setActive() on boolean”

If you face this error then clear var/cache folder and pub static folder

then run

php  bin/magento setup:upgrade

php bin/magento cache:flush

Configure Magento 2 in localhost to work faster for development purpose.

Follow the steps to make magento 2 to work faster in  localhost xampp

  1. Go to C:\xampp71\htdocs\magento2\app\etc\env.php change “MAGE_MODE => developer”
  2.  Go to Admin login dashboard Choose Store-> Configuration-> System -> Full page cache -> change “Caching Application” to Varnish cache.
  3. Go to admin login Click System Menu -> Cache Management -> Select all option and disable cache . so you dont want to run all magento commands while working in localhost.

Your current session has been expired. Magento 2 localhost version

Follow the below steps to solve this issue:

  • Find “admin/security/session_lifetime” in table core_config_data. if not exist create one and set value to 86400
  • Go to : admin_user_session table in MySql Set created_at column to ‘0’ and updated_atcolumn to ‘CURRENT_TIMESTAMP’ as it is.
  • Delete var/cache folder
  • Go to magento2 root folder index.php add the below code,  ini_set(‘memory_limit’,’-1′);