Bug #22409
closedFatal Error Update Wizard
0%
Description
Hello,
I just updatet TYPO3 4.3.3 and I receive an error starting the update wizard:
Fatal error: Cannot redeclare user_isloaded() (previously declared in /***/typo3conf/temp_CACHED_ps0282_ext_localconf.php:1521) in /***/typo3conf/temp_CACHED_ps0282_ext_localconf.php on line 1526
(issue imported from #M14047)
Updated by Chris topher over 14 years ago
Let me guess: You did not delete the temp_CACHED_* files before?
Updated by Joerg Hauke over 14 years ago
I've just deleted those files in the typo3conf folder and the same problem still exists.
Do I have to delte them before the update?
Updated by Oliver Hader over 14 years ago
No, these temp-files contain all ext_localconf.php and ext_tables.php sources of your extensions.
The method "user_isloaded()" is not a method of the TYPO3 Core. You can grep for that string on the console or have a look to the mentioned temp-file and the given name.
Thus, there's a faulty extension running on your system...
Updated by Joerg Hauke over 14 years ago
So the problem is the faulty extension? I think I know which one it ist. It might be seo_basics becaus it throws an error on error on comparing the databas in the install tool.
Updated by Joerg Hauke over 14 years ago
So the problem is the faulty extension? I think I know which one it is. It might be seo_basics becaus it throws an error on error on comparing the database in the install tool.
Updated by Mario Colombo over 14 years ago
In my case the culprit has been found to be the extension rtelightbox.
extensions don't have to be installed to have their code included in the cached localconf.php.
I had to delete the extension directory in typo3conf/ext/ manually by rm -r
this is caused the error (in temp_CACHED_psc3c7_ext_localconf.php or something similar):
###########################- EXTENSION: rtelightbox
- FILE: /var/www/vidaverde/typo3conf/ext/rtelightbox/ext_localconf.php ###########################
$_EXTKEY = 'rtelightbox';
$_EXTCONF = $TYPO3_CONF_VARS['EXT']['extConf'][$_EXTKEY];
if (!defined ('TYPO3_MODE')) {
die ('Access denied.');
}
/**
* Check if an extension is installed
*
* @param string $extKey: Key of extension
* @return boolean
*/
function user_isLoaded($extKey) {
if (t3lib_extMgm::isLoaded($extKey)) {
return true;
}
return false;
}
Updated by Christian Kuhn over 14 years ago
Resolved, no change required.
This happens due to a faulty extension.