Page 2 - Blog
-
- January 19, 2019
The topic today is one of the popular errors you will meet. As if the error message shows “An error has happened during application run. See exception log for details” in Magento 2 when you have uploaded Magento CE latest version and want to install it on your server, so what should you do? Here is the right solution for you.
How to resolve: “An error has happened during application run. See exception log for details”
Please open the
.htaccessfrom the root and comment out the first line:SetEnv MAGE_MODE developer -
- June 17, 2017
Depending on your configuration it may also be unecessary. If you are in
defaultordevmode you do not need it.You just need it on
productionmodeFrom command line and from your Magento root path:
php bin/magento setup:di:compileP.S: After installing your module make sure you ran:
php bin/magento setup:upgrade -
- June 17, 2017
- Delete the Module folder from
{folder path}\app\code - Remove module entry from below tables
core_config_data&setup_module -
Run command
{magento project root path}>{php path}\php bin/magento setup:upgrade => Setup Upgrade
{magento project root path}>{php path}\php bin/magento cache:flush => Clear Cache
- Delete the Module folder from
-
- June 17, 2017
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 configuration”. This error can happen on browser for your phpmyadmin access after installation or upgrade to Ubuntu 16.04.
just run these command
sudo apt-get install phpmyadmin php-mbstring php-gettextsudo service apache2 restart -
- June 17, 2017
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:clean
php bin/magento cache:flush
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento indexer:reindex
After upgrade, check your Magento version with the following command:
php bin/magento --version
Magento CLI version 2.1.0
-
- June 17, 2017
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_id`=10)
This particular error presented itself while upgrading from Magento 2.0.2 to Magento 2.1.x and stops the upgrade process. We’ve discovered the issue is related to old data from the previous Magento 1.9.x installation. In order to over come this error, you’ll need to delete a row from the database.
Run the following MySQL query to find and delete the offending attribute.
deletefrom eav_attribute_group WHERE attribute_group_name ='Images';After that then you can attempt to run the upgrade command again and the issue should be resolved.
We understand not everyone can be a MySQL / Magento 2 expert so if you’re faced with a similar issue and stuck between an upgrade feel free to contact us to assist with your problem.
-
- June 17, 2017
Install PHPUnit
Installing PHPUnit package on Ubuntu 16.04 (Xenial Xerus) is as easy as running the following command on the terminal:
sudo apt-get update sudo apt-get install phpunit