Actions
Feature #17402
closedBE_USER should be created before tables + ext_tables are loaded (typo3/init.php)
Start date:
2007-06-19
Due date:
% Done:
0%
Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:
Description
Steps to reproduce an example error:
1) install the cal extension
2) execute the crawler script
"./typo3/cli_dispatch.phpsh crawler"
3) wait for the error (No be user logged in!)
The problem was caused by the file tca.php in the cal extension which was loaded before the be user was created.
[...]
if(!is_object($GLOBALS['BE_USER'])) {
$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
}
[...]
The applied patch just changes the order in the init.php script.
(issue imported from #M5824)
Files
Actions