hidro / module-debug-template
Adding log for template issue (*.phtml), Because Magento skip the error from *.phtml on production mode
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: >=5.6
- magento/framework: *
This package is auto-updated.
Last update: 2024-11-20 11:40:46 UTC
README
- Save phtml error to log file.
Description
Adding log for template issue (*.phtml), Because Magento skip the error from *.phtml on production mode. Sometime, you got a page with missing a block_html or HTML is broken without error log (exception.log, system.log, php_error.log ...) This module support to bring the error to template_engine_exception.log
- Main Functionalities
- Saving phtml error to logs file. template_engine_exception.log
Installation
Type 1: Zip file
- Unzip the zip file in
app/code/Hidro
- Enable the module by running
php bin/magento module:enable Hidro_DebugTemplate
- Apply database updates by running
php bin/magento setup:upgrade
* - Flush the cache by running
php bin/magento cache:flush
Type 2: Composer
- Make the module available in a composer repository for example:
- public repository
packagist.org
- public github repository as vcs
- public repository
- Install the module composer by running
composer require hidro/module-debug-template
- enable the module by running
php bin/magento module:enable Hidro_DebugTemplate
- apply database updates by running
php bin/magento setup:upgrade
- Flush the cache by running
php bin/magento cache:flush