bugbuster / errorlog_enhanced
Contao error.log with complete relative file paths.
Installs: 28
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:contao-module
Requires
- php: >=5.3
- contao-community-alliance/composer-plugin: *
- contao/core: >=3.5,<4
Replaces
- contao-legacy/errorlog_enhanced: *
This package is auto-updated.
Last update: 2024-10-23 09:56:12 UTC
README
About
"Enhanced error.log" generate the Contao 3 error.log with complete relative file paths.
User guide
The current manual for the extension "Enhanced error.log" can be found here: docs.contao.ninja
Example
Original error stack on not a valid JPEG file
#0 [internal function]: __error(2, 'imagecreatefrom...', '/contao35_deve...', 82, Array)
#1 /contao35_develop/system/modules/core/library/Contao/GdImage.php(82): imagecreatefromjpeg('/daten/contao2g...')
#2 /contao35_develop/system/modules/core/library/Contao/Image.php(541): Contao\GdImage::fromFile(Object(Contao\File))
#3 /contao35_develop/system/modules/core/library/Contao/Image.php(510): Contao\Image->executeResizeGd()
#4 /contao35_develop/system/modules/core/library/Contao/Image.php(950): Contao\Image->executeResize()
#5 /contao35_develop/system/modules/core/classes/DataContainer.php(516): Contao\Image::get('files/contaodem...', 699, 524, 'box')
#6 /contao35_develop/system/modules/core/drivers/DC_Folder.php(1221): Contao\DataContainer->row()
#7 /contao35_develop/system/modules/core/classes/Backend.php(650): Contao\DC_Folder->edit()
#8 /contao35_develop/system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('files')
#9 /contao35_develop/contao/main.php(20): Contao\BackendMain->run()
#10 {main}
Problem: how is the name of the not valid JPEG file?
The new error stack on not a valid JPEG file
#0 [internal function]: __error_enhanced(2, 'imagecreatefromjpeg(): 'files/contaodemo/media/demo-wrong-image.jpg' is not a valid JPEG file', 'system/modules/core/library/Contao/GdImage.php', 82, Array)
#1 system/modules/core/library/Contao/GdImage.php(82): imagecreatefromjpeg('files/contaodemo/media/demo-wrong-image.jpg')
#2 system/modules/core/library/Contao/Image.php(541): Contao\GdImage::fromFile(Contao\File)
#3 system/modules/core/library/Contao/Image.php(510): Contao\Image->executeResizeGd()
#4 system/modules/core/library/Contao/Image.php(950): Contao\Image->executeResize()
#5 system/modules/core/classes/DataContainer.php(516): Contao\Image::get('files/contaodemo/media/demo-wrong-image.jpg', 699, 524, 'box')
#6 system/modules/core/drivers/DC_Folder.php(1221): Contao\DataContainer->row()
#7 system/modules/core/classes/Backend.php(650): Contao\DC_Folder->edit()
#8 system/modules/core/controllers/BackendMain.php(131): Contao\Backend->getBackendModule('files')
#9 contao/main.php(20): Contao\BackendMain->run()
Answer: files/contaodemo/media/demo-wrong-image.jpg
, yeah!
For Translators
Translations are managed using Transifex. To create a new translation or to help to maintain an existing one, please register at transifex.com.
Project Link: https://www.transifex.com/bugbuster/contao-enhanced_errorlog/