New Installation: Could not acquire lock for ClassLoader
With the Class Loader Locking patch applied (see #55099) when installing a fresh new TYPO3 installation (no typo3temp directory present), I get:
( ! ) Fatal error: Uncaught exception 'RuntimeException' with message 'Could not acquire lock for ClassLoader cache creation.' in /www/sites/typo3-62/html/typo3_src/typo3/sysext/core/Classes/Core/ClassLoader.php on line 704
( ! ) RuntimeException: Could not acquire lock for ClassLoader cache creation. in /www/sites/typo3-62/html/typo3_src/typo3/sysext/core/Classes/Core/ClassLoader.php on line 704
This should be handled somehow.
[BUGFIX] Exception in Locker if typo3temp does not exist
Follow-up to 2268f64c18b607ba39d06b1580afb0ccd786d6b1
If typo3temp does not exist, the Locker should throw an exception.
The ClassLoader needs to catch this exception and acts upon
depending on whether we are in the Installer or not.
When in the Installer, locking has to be skipped completely due to
missing typo3temp directory.
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
Reviewed-by: Markus Klein
Tested-by: Markus Klein