Bug #53216
closedPHP-Error results in a 30 second request
0%
Description
Hello Core-Team,
if I have inserted a PHP-Error in my extension code I get a PHP-Error in FE very fast. The following request after solving this error needs max_execution_time - 1. So in other projects where we have a max_execution_time of 90 I have to wait 89 seconds to see my FE again.
After a very long time of debugging and testing I found out that clearing the typo3temp/locks/ directory helps. It seems that TYPO3 creates a temp file there at startup and removes it after loading FE. But if FE-processing breaks this file is still there. The next request checks this directory, found this file and does what ever. After max_execution_time -1 it deletes this file and shows the FE again.
As long as I have this problem only while programming, it would be good to clear this directory with "clear cache", too.
For now I helped me with an additional entry in clear Cache Command (hook)
Stefan