Project

General

Profile

Actions

Bug #16842

closed

Usage of t3lib_basicFileFunctions in own FE-plugin not possible

Added by Frank no-lastname-given over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Communication
Target version:
-
Start date:
2007-01-09
Due date:
% Done:

0%

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

Description

I want to implement the t3lib_basicFileFunctions in my own plugin:

$this->fileFunc = t3lib_div::makeInstance("t3lib_basicFileFunctions");

and i get the following error:

Warning: requireonce(/home/pacs/rm-p1829/doms/domname/subs/web955.typo322/content/t3lib/class.t3lib_basicfilefunctions.php): failed to open stream: No such file or directory in /usr/local/src/typo3_src-4.1beta2/t3lib/class.t3lib_div.php on line 4085

This is because the file "class.t3lib_basicfilefunctions.php" is the wrong filename. The file in t3lib is named "class.t3lib_basicfilefunc.php".

Workaround:

Copy
"t3lib/class.t3lib_basicfilefunc.php" ->
"t3lib/class.t3lib_basicfilefunctions.php"
(issue imported from #M4756)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23958: Poor solution for t3lib_div::makeInstance() for t3lib_basicFileFunctions and t3lib_extFileFunctionsClosedSteffen Gebert2010-11-05

Actions
Has duplicate TYPO3 Core - Bug #19173: Can't call t3lib_div::makeInstance() for t3lib_basicFileFunctions and t3lib_extFileFunctionsClosedIngo Renner2008-07-31

Actions
Actions #1

Updated by Martin Kutschker over 17 years ago

You have simply to include the php file yourself:

require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');

Actions

Also available in: Atom PDF