Project

General

Profile

Actions

Bug #16867

closed

require() in class.t3lib_tceforms_inline.php fails

Added by Christian Welzel almost 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
-
Target version:
-
Start date:
2007-01-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

in class.t3lib_tceforms_inline.php line 1503 there is a require() statement:
require_once('json.php');
But json.php is not in the same directory (t3lib) as class.t3lib_tceforms_inline.php so the require() fails.

(issue imported from #M4809)


Files

0004809.patch (506 Bytes) 0004809.patch Administrator Admin, 2007-01-20 18:46

Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #16890: 4.1beta3: path for php include does lackClosedMichael Stucki2007-01-24

Actions
Actions #1

Updated by Oliver Hader almost 18 years ago

In fact, this problem occurs if a TYPO3 installations isn't running in the DocumentRoot path of a web-host (e.g. http://mydomain.com/myT3Site/typo3/ instead of http://mydomain.com/typo3/)
The attached patch prepends the PATH_typo3 and solves the problem.

Actions #2

Updated by Christian Welzel almost 18 years ago

The patch solved the problem.

Actions #3

Updated by Oliver Hader almost 18 years ago

Committed to Trunk.

Actions

Also available in: Atom PDF