Project

General

Profile

Bug #16324 » 3800_v5.diff

Administrator Admin, 2010-04-30 16:42

View differences:

t3lib/class.t3lib_refindex.php (Arbeitskopie)
$bodyContent = $testedHowMuch.(count($errors)?implode(LF,$errors):'Index Integrity was perfect!');
if ($cli_echo) echo $testedHowMuch.(count($errors)?'Updates: '.count($errors):'Index Integrity was perfect!').LF;
if(!$testOnly) {
$registry = t3lib_div::makeInstance('t3lib_Registry');
$registry->set('core', 'sys_refindex_lastUpdate', $GLOBALS['EXEC_TIME']);
}
return array($headerContent,$bodyContent,count($errors));
}
}
t3lib/class.t3lib_befunc.php (Arbeitskopie)
// Check if sys_refindex is empty
$count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', 'sys_refindex');
if (!$count) {
$registry = t3lib_div::makeInstance('t3lib_Registry');
$lastRefIndexUpdate = $registry->get('core', 'sys_refindex_lastUpdate');
if (!$count && $lastRefIndexUpdate) {
$url = 'sysext/lowlevel/dbint/index.php?&id=0&SET[function]=refindex';
$warnings["backend_reference"] = sprintf(
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.backend_reference'),
'<a href="'.$url.'">',
'</a>');
'</a>',
t3lib_BEfunc::dateTime($lastRefIndexUpdate));
}
// Check for memcached if configured
typo3/sysext/reports/reports/status/class.tx_reports_reports_status_configurationstatus.php (Arbeitskopie)
$severity = tx_reports_reports_status_Status::OK;
$count = $GLOBALS['TYPO3_DB']->exec_SELECTcountRows('*', 'sys_refindex');
$registry = t3lib_div::makeInstance('t3lib_Registry');
$lastRefIndexUpdate = $registry->get('core', 'sys_refindex_lastUpdate');
if (!$count) {
if (!$count && $lastRefIndexUpdate ) {
$value = $GLOBALS['LANG']->getLL('status_empty');
$severity = tx_reports_reports_status_Status::WARNING;
......
$message = sprintf(
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.backend_reference'),
'<a href="' . $url . '">',
'</a>'
'</a>',
t3lib_BeFunc::dateTime($lastRefIndexUpdate)
);
}
return t3lib_div::makeInstance('tx_reports_reports_status_Status',
$GLOBALS['LANG']->getLL('status_referenceIndex'), $value, $message, $severity
);
typo3/sysext/lang/locallang_core.xml (Arbeitskopie)
<label index="warning.install_encryption">The encryption key is not set. Set it in the %sBasic Configuration section%s of the Install Tool.</label>
<label index="warning.install_update">This installation is not configured for the TYPO3 version it is running. If you did so intentionally, this message can be safely ignored. If you are unsure, visit the %sUpdate Wizard%s section of the Install Tool to see how TYPO3 would change.</label>
<label index="warning.header">Important Notice!</label>
<label index="warning.backend_reference">The Reference Index table is empty which is likely the result of a recent TYPO3 upgrade. Please go to %sTools&gt;DB Check%s and update the reference index.</label>
<label index="warning.backend_reference">The Reference Index table is empty which is likely the result of a recent TYPO3 upgrade. The Reference Index was last updated on %3$s. Please go to %sTools&gt;DB Check%s and update the reference index.</label>
<label index="warning.memcache_not_usable">Memcache is configured, but connection to memcached failed with these configuration(s):</label>
<label index="warning.file_missing">File is missing!</label>
<label index="warning.file_missing_text">This content element references a file which seems to not exist:</label>
(4-4/4)