Use the following shell command to enable Developer Mode in Magento 2:
|
1 |
php bin/magento deploy:mode:set developer |
Use the following shell command to enable Developer Mode in Magento 2:
|
1 |
php bin/magento deploy:mode:set developer |
If the product images are missing after an upgrade for example, the following command (executed in the root of your Magento 2 shop) might help: php magento catalog:images:resize Note: Depending on the mumber of products, that might run some time.
The Required parameter ‘theme_dir’ was not passed is most likely caused by an invalid theme table in your database. Solution: Open the theme table and delete all rows that refer to a theme that does not exist.
If the error message Required parameter ‘theme_dir’ was not passed appears in your Magento 2 store, the cause is very likely the themetable. It contains theme entries whose file paths no longer exist on the server. Solution: Open Tabelle theme…
If product images are missing on your category pages after an upgrade, for example, the following shell command may help (run it from your Magento 2 root directory): php magento catalog:images:resize Note: Depending on the number of products, this process…
Do you get the Fatal error: Only variables can be passed by reference in vendor/magento/module-backend/view/adminhtml/templates/system/search.phtml error in your Magento 2 store when calling the backend? To fix that issue, simply deactivate asp_tags in your php.ini. After that, the Magento 2…
If your Magento 2 store displays the error Fatal error: Only variables can be passed by reference in vendor/magento/module-backend/view/adminhtml/templates/system/search.phtml when you open the admin area, you need to disable asp_tags in php.ini. After that, the admin area should load normally.
Want to change the MySQL credentials for your Magento 2 store? Unlike Magento 1, Magento 2 no longer stores them in /app/etc/local.xml. You can find all the necessary details in the file /app/etc/env.php.
If you get the Could not determine temp directory, please specify a cache_dir manually error in Magento 2, the shop is not able to access your PHP temporary folder. To solve this problem, simply add sys_temp_dir to your php.ini file…
If your Magento 2 store displays the error Could not determine temp directory, please specify a cache_dir manually , Magento cannot access the temporary PHP directory. Fix this by setting sys_temp_dir in php.ini to a directory that your store can…