Bug #18520

indexing of external files may be prevented by php's open_basedir restriction

Added by Daniel Chabrol over 13 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Indexed Search
Target version:
-
Start date:
2008-03-31
Due date:
% Done:

0%

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

Description

class.external_parser.php tries to check the existence with is_file(). This fails in my case because of an existing open-basedir-restriction in php.

The attached patch fixes this problem by disabling the check if an open_basedir restriction is in effect (which is already done this way if you have safe_mode on)
(issue imported from #M7969)


Files

class.external_parser.php.diff (716 Bytes) class.external_parser.php.diff Administrator Admin, 2008-03-31 13:11
debug_is_tt_news.html (98.6 KB) debug_is_tt_news.html Administrator Admin, 2009-10-12 11:21
bug7969_version2.diff (3.35 KB) bug7969_version2.diff Administrator Admin, 2010-04-09 15:42
indexed_search_7969_t3_42.patch (3.41 KB) indexed_search_7969_t3_42.patch Administrator Admin, 2011-01-18 13:57
indexed_search_7969_t3_43-44.patch (3.47 KB) indexed_search_7969_t3_43-44.patch Administrator Admin, 2011-01-18 13:57
indexed_search_7969_t3_trunk.patch (3.61 KB) indexed_search_7969_t3_trunk.patch Administrator Admin, 2011-01-18 13:57
indexed_search_7969_t3_45.patch (3.42 KB) indexed_search_7969_t3_45.patch Administrator Admin, 2011-02-08 15:34

Related issues

Related to TYPO3 Core - Bug #25699: indexing of external files may be prevented by php's open_basedir restriction (Bug 18520 in core)Closed2011-04-01

Actions
Related to TYPO3 Core - Bug #64882: open_basedir restriction in effectClosed2015-02-05

Actions

Also available in: Atom PDF