10. Magento2 FAQ

Installation

To install a boostmyshop magento2 extension on your platform, process the following steps :

  • Download zip archive from your boostmyshop customer account
  • Upload files on your server : once uploaded, module must be in directory app/code/BoostMyShop/
  • Connect on your server via ssh, and run the following commands :
php bin/magento setup:upgrade
rm -rf var/generation
php bin/magento module:enable BoostMyShop_XXXX
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy

Once everything is done, go back in Magento, select menu system > web setup wizard, then click on the component manager button : you should see the new extension here

Upgrade

The upgrade process is exactly the same as the installation process

Disable extension

To disable an extension, select menu system > web setup wizard, then click on the component manager button

Find the extension you want to disable and select “disable” in the “Actions” column

500 Error

If you encounter a 500 error, follow the following step to display the error message :

  • Edit file app/boostrap.php
  • Uncomment line #11 removing the # at the beginning : #ini_set(‘display_errors’, 1);

Reproduce the error on your website : the real error message should be displayed

Javascript errors

If you encounter Javascript errors, we highly recommend to run these command lines :

rm -rf pub/static/*
php bin/magento setup:static-content:deploy

Then go back in your browser, and refresh the page (ctrl + F5)

Known issue (in magento) :

  • https doesn’t work with module JS files
  • minify doesn’t work with module JS files (you can disable it in stores > configuration > advanced > developer > Javascript settings > Minify JavaScript Files)

There has been an error processing your request

If you experience the following error message :

There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: XXXXX

To get the error message behind, rename file pub/errors/local.xml.sample to local.xml and reproduce the error.