- in the Admin Console
- login to the Admin Console
- go to Website & Content → Labels & Phrases section
- confirm, that correct grid was shown
- in the IDE
- open /system/debug.php file for editing
- disable debug mode by commenting out DBEUG_MODE key in the $dbg_options array
- save changes
- open file /core/kernel/application.php for editing
- in the \kApplication::Init method add throw new RuntimeException('sample exception'); before the return true; statement at the end
- save changes
- in the Admin Console
- go to Website & Content → Labels & Phrases section
- confirm, that web server details aren't exposed in the error message and it's theme is different now
- remember used "Reference" value (the number before -)
- in the IDE
- open file /core/kernel/application.php for editing
- rollback changes made to the \kApplication::Init method
- save changes
- in the Admin Console
- go to Logs & Reports → System Log section
- confirm, that:
- a system log record with a previously recorded reference can be found in Unique ID column
- a Unique ID field with that reference is also shown in the system log record detail template
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.