[TYPO3-english] error in extension instanciating beUserAuth class
Goran Liczic
goranli at mail.hu
Wed Jan 14 17:21:42 CET 2009
Hi all,
I am instanciating the BE class to use in my extension.
Using Typo 4.2.3
So if somebody is logged in into BE he will get special things in my ext....
I am instanciating like this:
if(!is_object($GLOBALS['BE_USER'])) {
define('TYPO3_PROCEED_IF_NO_USER', true); //patch for crawler
$GLOBALS['BE_USER'] = t3lib_div::makeInstance('t3lib_beUserAuth'); // New backend user object
$GLOBALS['BE_USER']->start(); // Object is initialized
$GLOBALS['BE_USER']->backendCheckLogin(); // Checking if there's a user logged in
define('TYPO3_PROCEED_IF_NO_USER', false);
}
But this gives the following error:
Fatal error: Call to undefined method t3lib_beUserAuth::extAdmModuleEnabled() in /typo3_src-4.2.3/typo3/sysext/cms/tslib/index_ts.php on line 558
Anybody any clue?
I don't know what to do. Didn't have mnuch to do with BE yet...
Thanks anyway.
:-)
More information about the TYPO3-english
mailing list