Project

General

Profile

Actions

Bug #18025

closed

t3lib_BEfunc not found

Added by Lucio Pozertti almost 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2008-01-20
Due date:
% Done:

0%

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

Description

When using t3lib_Befunc from FE, the following fatal PHP error happens:

Fatal error: Class 't3lib_Befunc' not found in /var/www/cms/typo3conf/ext/myext/pi1/class.tx_myext_pi1.php on line ...

the line is a simple select of tt_address fields:
$select = 'fe_user_id=' .$fe_user_id .t3lib_Befunc::BEenableFields('tt_address');

The error only happens, when the backend page isn't called before (no need to log in) on the same browser. Tested on IE and FF.
(issue imported from #M7217)

Actions #1

Updated by Michael Stucki almost 17 years ago

t3lib_BEfunc stands for "BackEnd Functions" and is typically not intended for use in frontend plugins.

If you still need any functions from there (though they might have dependencies on various BE specific features) you can fix your problem by including the file PATH_t3lib.'class.t3lib_befunc.php' on top of your plugin.

Actions

Also available in: Atom PDF