Debug Templates
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 28
- Joined: 10 Oct 2024, 12:51
Debug Templates
Hello, I have a general question about a problem that I keep noticing when updating Aimeos and updating my own template extensions.
As soon as a template e.g. Category List has a faulty call e.g. from an old version of Aimeos, nothing is displayed in the frontend. Typo3 and Aimeos logs also show nothing despite a high log level.
My solution approach is to work my way down in the template with “echo ‘1’;exit;” to see when there is no more output, i.e. the error is in this line.
This is tedious and often misleading.
Am I doing something wrong here or is that just the way it is? If so, isn't there any way to display error messages at the point where the template could be displayed normally, as is the case in pimcore or similar?
As soon as a template e.g. Category List has a faulty call e.g. from an old version of Aimeos, nothing is displayed in the frontend. Typo3 and Aimeos logs also show nothing despite a high log level.
My solution approach is to work my way down in the template with “echo ‘1’;exit;” to see when there is no more output, i.e. the error is in this line.
This is tedious and often misleading.
Am I doing something wrong here or is that just the way it is? If so, isn't there any way to display error messages at the point where the template could be displayed normally, as is the case in pimcore or similar?
Re: Debug Templates
You should change the TYPO3 debug settings:
https://docs.typo3.org/m/typo3/referenc ... figuration
https://docs.typo3.org/m/typo3/referenc ... figuration
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 28
- Joined: 10 Oct 2024, 12:51
Re: Debug Templates
i have this enabled, also via settings.php
Re: Debug Templates
Did you set displayErrors=1 ?
https://docs.typo3.org/m/typo3/referenc ... playerrors
https://docs.typo3.org/m/typo3/referenc ... playerrors
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Debug Templates
The problem is that TYPO3 hides displaying errors in the frontend by default and writes it to ./var/log/typo3_....log instead.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
