Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I enable Error Reporting in TYPO3?

I have made a contact form but upon submitting it I get the error: Oops, an error occurred! Code: 201905310232036dfcc153.

I would like to get more information so I can start debugging. So my question is: How do I enable error reporting in TYPO3?

like image 387
Romi Avatar asked Aug 29 '19 18:08

Romi


2 Answers

You have to add this line in your TypoScript

config.contentObjectExceptionHandler = 0

After setting to 0, you will see detailed errors in frontend when an exception is thrown.
To reset it, simply delete the lin or set to 1.

here is a blog post from me about it (in German): https://www.naderio.de/oops-an-error-occurred-komplette-fehlermeldung-anzeigen/

like image 90
Naderio Avatar answered Oct 04 '22 20:10

Naderio


In the directory typo3temp/var/logs/ there should be a file named typo3_somehash.log. Search this file for the error code.

like image 44
Peter Kraume Avatar answered Oct 04 '22 22:10

Peter Kraume