Debug Templates

How to configure and adapt Aimeos based shops as developer
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!
randomdennis
Posts: 28
Joined: 10 Oct 2024, 12:51

Debug Templates

Post by randomdennis » 22 Jan 2025, 12:02

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?

User avatar
aimeos
Administrator
Posts: 8501
Joined: 01 Jan 1970, 00:00

Re: Debug Templates

Post by aimeos » 22 Jan 2025, 17:26

You should change the TYPO3 debug settings:
https://docs.typo3.org/m/typo3/referenc ... figuration
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

randomdennis
Posts: 28
Joined: 10 Oct 2024, 12:51

Re: Debug Templates

Post by randomdennis » 30 Jan 2025, 14:36

i have this enabled, also via settings.php

User avatar
aimeos
Administrator
Posts: 8501
Joined: 01 Jan 1970, 00:00

Re: Debug Templates

Post by aimeos » 30 Jan 2025, 20:19

Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

randomdennis
Posts: 28
Joined: 10 Oct 2024, 12:51

Re: Debug Templates

Post by randomdennis » 31 Jan 2025, 15:00

yes also

User avatar
aimeos
Administrator
Posts: 8501
Joined: 01 Jan 1970, 00:00

Re: Debug Templates

Post by aimeos » 03 Feb 2025, 09:17

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, Image give us a star

Post Reply