[TYPO3] comments extension problem

Bartosz Aninowski bart at REM-IT-sonik.pl
Wed Dec 5 22:44:26 CET 2007


Everytime I clear cache I get

Fatal error: Cannot redeclare tx_comments_mustupdatetempflexfile() in 
typo3conf/temp_CACHED_ps1660_ext_tables.php on line 2924

Line 2924:
function tx_comments_mustUpdateTempFlexFile($filePath) {
        if (!@file_exists($filePath)) {
                return true;
        }
        $mtime = @filemtime($filePath);
        foreach (array('general', 'advanced', 'spamprotect') as $pref) {
                if ($mtime < @filemtime(t3lib_extMgm::extPath('comments', 
'pi1/flexform_ds_' . $pref . '.xml'))) {
                        return true;
                }
        }
        return false;
} 




More information about the TYPO3-english mailing list