Bug #29901
closedt3lib_autoloader::getAutoloadCacheIdentifier should respect PATH_site
100%
Description
When installing the whole TYPO3 site on a different server (e.g. changing provider or deploying dev to live), you normally move the whole webroot to another server.
But with TYPO3 4.6 and caching framework enabled this causes a fatal error on the new host because the autoloader stores the classes inside the registry with an absolute path.
Example:
Warning: require(/var/www/web9/t3lib/utility/class.t3lib_utility_versionnumber.php): failed to open stream: No such file or directory in /var/www/typo3/typo3_src-master-mount/t3lib/class.t3lib_div.php on line 5089 Fatal error: require(): Failed opening required '/var/www/web9/t3lib/utility/class.t3lib_utility_versionnumber.php' (include_path='.:/usr/share/php:/usr/share/pear:/var/www/typo3-46/typo3/contrib/pear/') in /var/www/typo3/typo3_src-master-mount/t3lib/class.t3lib_div.php on line 5089
This fatal error occures in frontend, backend and install tool. Deleteing typo3conf/temp_CACHED* is not helping. This could confuse many users not that familier with TYPO3.
It would be easy to fix when t3lib_autoloader::getAutoloadCacheIdentifier would respect TYPO3_site, too.
Updated by Mr. Hudson about 13 years ago
Patch set 1 of change I9755da82cbf71914d47bc0523bacc8413addcf63 has been pushed to the review server.
It is available at http://review.typo3.org/5000
Updated by Mr. Hudson about 13 years ago
Patch set 2 of change I9755da82cbf71914d47bc0523bacc8413addcf63 has been pushed to the review server.
It is available at http://review.typo3.org/5000
Updated by Mr. Hudson about 13 years ago
Patch set 3 of change I9755da82cbf71914d47bc0523bacc8413addcf63 has been pushed to the review server.
It is available at http://review.typo3.org/5000
Updated by Mr. Hudson about 13 years ago
Patch set 4 of change I9755da82cbf71914d47bc0523bacc8413addcf63 has been pushed to the review server.
It is available at http://review.typo3.org/5000
Updated by Mr. Hudson about 13 years ago
Patch set 5 of change I9755da82cbf71914d47bc0523bacc8413addcf63 has been pushed to the review server.
It is available at http://review.typo3.org/5000
Updated by Frederic Gaus about 13 years ago
- Status changed from New to Resolved
Applied in changeset 819e4c98881a0da8454a58fb43d97dbe1fe9c7a7.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed