Project

General

Profile

Actions

Bug #52848

closed

ClassLoader fails when typo3temp is symlink

Added by Thorsten Kahler about 11 years ago. Updated about 11 years ago.

Status:
Rejected
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-10-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Method \TYPO3\CMS\Core\Cache\Backend\ClassLoaderBackend::setLinkToPhpFile() uses __DIR__ to construct the path to the file to be included. This fails when folder typo3temp is symlinked.

Quick fix: use getcwd() instead of __DIR__. But since the constructed files are caches for path resolving (as far as I understand) the absolute path should be written to the cache (= PHP file) instead of being calculated there.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #52885: cache_classes crashes after command line requestClosed2013-10-16

Actions
Actions

Also available in: Atom PDF