[TYPO3-dev] Clear all cache not possible after minor update

Alex Bigott a.bigott at pixel-ink.de
Tue Aug 25 10:38:20 CEST 2015


Hi,

I hope someone of you might have stumbled upon this earlier.

I updated a page from 6.2.11 to 6.2.14 and after that it is not possible 
to use the "clear all cache" button in the install tool.
If pressed i get a notice, that the server closed the connection and no 
data was sent.

PHP error log tells me, that a cache file can not be written. The 
exception is thrown by a typo3 class. (complete error message at the end).

I found that it is one extension which breaks the execution: an 
extension that extends the tx news extension.
As mentioned: all worked before the Typo3 update.
The extension adds some new fields, a hook and viewhelpers. The Problem 
occurs as soon as the Classes/Domain/model/News.php file exists.

Does anyone know how that could happen and what could have gone wrong?

Any help welcome.

Cheers

Alex


Complete PHP Error:

[24-Aug-2015 09:24:54 Europe/Berlin] PHP Warning: 
file_put_contents(/home/www/xxxx/html/typo3/typo3temp/Cache/Code/cache_core/55dac6c667f075.31978054.temp): 
failed to open stream: N
o such file or directory in 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php 
on line 238
[24-Aug-2015 09:24:54 Europe/Berlin] PHP Fatal error: Uncaught exception 
'TYPO3\CMS\Core\Cache\Exception' with message 'The temporary cache file 
"/home/www/xxxx/html/typo3/typo3temp
/Cache/Code/cache_core/55dac6c667f075.31978054.temp" could not be 
written.' in 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.ph
p:241
Stack trace:
#0 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Cache/Frontend/PhpFrontend.php(61): 
TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend->set('ClassLoader_416...',
'<?php\nreturn ar...', Array, NULL)
#1 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Core/ClassLoader.php(645): 
TYPO3\CMS\Core\Cache\Frontend\PhpFrontend->set('ClassLoader_416...', 
'return array
(\n...')
#2 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Core/ClassLoader.php(509): 
TYPO3\CMS\Core\Core\ClassLoader->savePackageNamespacesAndClassesPathsToCache()
#3 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Core/ClassLoader.php(467): 
TYPO3\CMS\Core\Core\ClassLoader->buildPackageNamespacesAndClassesPaths()
#4 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Package/PackageManager.php(149): 
TYPO3\CMS\Core\Core\ClassLoader->setPackages(Array)
#5 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Core/Bootstrap.php(333): 
TYPO3\CMS\Core\Package\PackageManager->initialize(Object(TYPO3\CMS\Core\Core\Bootstra
p))
#6 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Core/Bootstrap.php(250): 
TYPO3\CMS\Core\Core\Bootstrap->initializePackageManagement('TYPO3\\CMS\\Core\\...')
#7 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/cms/tslib/index_ts.php(34): 
TYPO3\CMS\Core\Core\Bootstrap->loadConfigurationAndInitialize()
#8 /home/www/xxxx/html/typo3/typo3_src-6.2.14/index.php(28): 
require('/home/www/xxxx...')
#9 {main}
thrown in 
/home/www/xxxx/html/typo3/typo3_src-6.2.14/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php 
on line 241



More information about the TYPO3-dev mailing list