Bug #22409
closed
Fatal Error Update Wizard
Added by Joerg Hauke over 14 years ago.
Updated about 6 years ago.
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)
Let me guess: You did not delete the temp_CACHED_* files before?
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?
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...
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.
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.
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;
}
@ Jörg: And the solution is???
Resolved, no change required.
This happens due to a faulty extension.
- Status changed from Resolved to Closed
Also available in: Atom
PDF