[TYPO3-english] <!-- CACHING ERROR, sorry --> error

Vahan Amirbekyan vamirbekyan at dgfoundation.org
Fri Apr 10 20:49:20 CEST 2009


Hi,
I am  not sure if this is the right place for this message but anyway...
I am running typo3 4.2.2 and still see this code below in the core when 
the "'<!-- CACHING ERROR, sorry -->'" is being returned is the file for 
the page cache HTML content is not found.
Why not to re-cache the page? instead of this dead-end solution.
Who should I send the patch to ?


if ($this->TYPO3_CONF_VARS['FE']['pageCacheToExternalFiles'])	{
	$cacheFileName = 
PATH_site.'typo3temp/cache_pages/'.$row['hash']{0}.$row['hash']{1}.'/'.$row['hash'].'.html';
			switch((string)$type)	{
				case 'get':
					$row['HTML'] = @is_file($cacheFileName) ? 
t3lib_div::getUrl($cacheFileName) : '<!-- CACHING ERROR, sorry -->';
				break;
				case 'set':
					t3lib_div::writeFileToTypo3tempDir($cacheFileName,$row['HTML']);
					$row['HTML'] = '';
				break;
			}
		}


More information about the TYPO3-english mailing list