Actions
Bug #61300
closedWarning: filesize(): stat failed in ContentObjectRenderer
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-09-01
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
After the upgrade from TYPO3 4.5 to 6.2 the Frontend shows an error screen.
The HTML file is still there:
./uploads/tf/test1-design-template.html
Uncaught TYPO3 Exception #1: PHP Warning: filesize(): stat failed for test1-design-template.html in /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php line 1570 (More information) TYPO3\CMS\Core\Error\Exception thrown in file /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101. 10 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "filesize(): stat failed for test1-design-template.html", "/home/franz/public_html/test1/typo3_src-6.2.4/typo…nd/Classes/ContentObject/ContentObjectRenderer.php", 1570, array) 9 filesize("test1-design-template.html") /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php: 01568: $imgInfo = @getImageSize($imgFile); 01569: return 'getBorderAttr(' border="0"') . ' ' . $addParams . ' />'; 01570: } elseif (filesize($incFile) < 1024 * 1024) { 01571: return $GLOBALS['TSFE']->tmpl->fileContent($incFile); 01572: } 8 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::fileResource("test1-design-template.html", "alt=""") /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/FileContentObject.php: 00030: public function render($conf = array()) { 00031: $file = isset($conf['file.']) ? $this->cObj->stdWrap($conf['file'], $conf['file.']) : $conf['file']; 00032: $theValue = $this->cObj->fileResource($file, trim($this->cObj->getAltParam($conf, FALSE))); 00033: $linkWrap = isset($conf['linkWrap.']) ? $this->cObj->stdWrap($conf['linkWrap'], $conf['linkWrap.']) : $conf['linkWrap']; 00034: if ($linkWrap) { 7 TYPO3\CMS\Frontend\ContentObject\FileContentObject::render(array) /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php: 00751: $contentObject = $this->getContentObject($name); 00752: if ($contentObject) { 00753: $content .= $contentObject->render($conf); 00754: } else { 00755: // Call hook functions for extra processing 6 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("FILE", array, "template") /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/TemplateContentObject.php: 00041: $PRE = trim($PRE); 00042: // Getting the content 00043: $content = $this->cObj->cObjGetSingle($conf['template'], $conf['template.'], 'template'); 00044: $workOnSubpart = isset($conf['workOnSubpart.']) ? $this->cObj->stdWrap($conf['workOnSubpart'], $conf['workOnSubpart.']) : $conf['workOnSubpart']; 00045: if ($workOnSubpart) { 5 TYPO3\CMS\Frontend\ContentObject\TemplateContentObject::render(array) /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php: 00751: $contentObject = $this->getContentObject($name); 00752: if ($contentObject) { 00753: $content .= $contentObject->render($conf); 00754: } else { 00755: // Call hook functions for extra processing 4 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("TEMPLATE", array, "10") /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php: 00694: if ((int)$theKey && strpos($theKey, '.') === FALSE) { 00695: $conf = $setup[$theKey . '.']; 00696: $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey); 00697: } 00698: } 3 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array) /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/frontend/Classes/Page/PageGenerator.php: 00222: $GLOBALS['TT']->incStackPointer(); 00223: $GLOBALS['TT']->push($GLOBALS['TSFE']->sPre, 'PAGE'); 00224: $pageContent = $GLOBALS['TSFE']->cObj->cObjGet($GLOBALS['TSFE']->pSetup); 00225: if ($GLOBALS['TSFE']->pSetup['wrap']) { 00226: $pageContent = $GLOBALS['TSFE']->cObj->wrap($pageContent, $GLOBALS['TSFE']->pSetup['wrap']); 2 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent() /home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php: 00209: // Content generation 00210: if (!$TSFE->isINTincScript()) { 00211: \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent(); 00212: $TSFE->setAbsRefPrefix(); 00213: } 1 require("/home/franz/public_html/test1/typo3_src-6.2.4/typo3/sysext/cms/tslib/index_ts.php") /home/franz/public_html/test1/typo3_src-6.2.4/index.php: 00026: ->redirectToInstallerIfEssentialConfigurationDoesNotExist(); 00027: 00028: require(PATH_tslib . 'index_ts.php');
Actions