Project

General

Profile

Actions

Bug #59088

closed

PathUtility::stripPathSitePrefix() fails with symlinked TYPO3-dirs

Added by Stefan Neufeind over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2014-05-24
Due date:
% Done:

0%

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

Description

  • TYPO3 is installed in /var/www/html/www1
  • But the (other) vhost that gets called by the browser is /var/www/html/somefoobar, which is a symlink to /var/www/html/www1
    (a separate website but on the same TYPO3-installation)
  • In an extension a call like siteRelPath('extensionmanager') will return /var/www/html/somefoobar/typo3/sysext/extensionmanager/
  • while PATH_site used in PathUtility::stripPathSitePrefix() equals to /var/www/html/www1/

Thus the returned path from siteRelPath will be 'oobar/typo3/sysext/extensionmanager/' leading to an error.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #58288: Cache that write absolute paths needs PATH_site in cache identifierClosed2014-04-28

Actions
Actions

Also available in: Atom PDF