Monthly Archives: June 2017

  1. Switch between Multiple PHP Version on Ubuntu

    On your system, if you have installed multiple versions of PHP (eg PHP 7.1 and PHP 5.6 both). PHP 7.1 is running as default PHP for Apache and CLI. For any requirement, you need to use PHP 5.6. Then you don’t need to remove PHP 7.1. You can simpl

    Read more »
  2. How to update magento2 from 2.0.7 to 2.1.0

    Updating/Upgrading to Magento 2.1.0 (via composer)

    composer require magento/product-community-edition 2.1.0 --no-update

    composer update

    rm -rf var/di var/generation

    sudo chmod -R 777 var/

    php bin/magento cache:cl

    Read more »
  3. Integrity constraint violation: 1062 Duplicate entry ‘4-Images’ for key – Magento 2

    Integrity constraint violation: 1062 Duplicate entry ‘4-Images’ for key ‘EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_NAME’, query was: UPDATE `eav_attribute_group` SET `attribute_group_name` = ? WHERE (`attribute_group_

    Read more »
  4. magento 2 Please re-run Magento compile command

    Depending on your configuration it may also be unecessary. If you are in default or dev mode you do not need it.

    You just need it on production mode

    From command line and from your Magento root pat

    Read more »
  5. steps to Uninstall Module Manually for Magento 2

    • Delete the Module folder from {folder path}\app\code
    • Remove module entry from below tables core_config_data & setup_module
    • Run command

      {magento project roo

    Read more »
  6. How to install phpunit on Ubuntu 16.04 (Xenial Xerus)

    Install phpunit

    Installing phpunit package on Ubuntu 16.04 (Xenial Xerus) is as easy as running the following command on terminal:

    sudo apt-get update
    sudo apt-get install phpunit
     
    Read more »
  7. The mbstring extension is missing.

    If you are installing new Ubuntu 16.04 LTS or upgrading/Downgrade from your older Ubuntu installation then you will get an error like “phpMyAdmin – Error – The mbstring extension is missing. Please check your PHP conf

    Read more »
Copyright © 2016 Samdoit Infotech. All rights reserved.