Bug #16842
closedUsage of t3lib_basicFileFunctions in own FE-plugin not possible
0%
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)
Updated by Martin Kutschker almost 18 years ago
You have simply to include the php file yourself:
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');