Project

General

Profile

Actions

Bug #22333

closed

Cache framework FileBackend doesn't work on windows when configured with absolute paths

Added by Steffen Kamper over 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-03-26
Due date:
% Done:

0%

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

Description

when you configure the Filebackend in windows with absolute path, example:
array('cacheDirectory' => 'C:/xampp/htdocs/tv/t3cache/')

you will get an exeption that the path 'C:/xampp/htdocs/tv/t3cache/' doesn't exists.
I wondered, the path is correct and folder exist, but the FileBackend checks for '/' as first char for absolute path, and if not the path is concatenated with PATH_site.

So following is needed:
1) if on windows do a different check for absolute path
2) if the dir doesn't exist, print in exceptionthe path from the check (in this case PATH_site . configuredPath)

(issue imported from #M13925)


Files

13925.diff (1.52 KB) 13925.diff Administrator Admin, 2010-03-26 23:34

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #20656: t3lib_cache_backend_FileBacked violates open_basedir_restrictionsClosedRupert Germann2009-06-23

Actions
Actions #1

Updated by Benni Mack over 14 years ago

Can be closed then (as it is dropped in the core list)?

Actions #2

Updated by Christian Kuhn over 14 years ago

Resolved, duplicate of #20656

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF