[TYPO3-german] favicon*.ico wirft php-Warning
Peter Linzenkirchner
liste at lisardo.de
Mon Jul 7 15:52:14 CEST 2014
Hi Philipp,
der ist recht kurz:
Uncaught TYPO3 Exception
#1: PHP Warning: finfo_file (mypath/favicon*.ico): failed to open stream: No such file or directory in mypath/typo3_src-6.2.3/typo3/sysext/frontend/Classes/Page/PageGenerator.php line 421 (More information)
TYPO3\CMS\Core\Error\Exception thrown in file
mypath/typo3_src-6.2.3/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.
5 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "finfo_file(mypath/fav…: failed to open stream: No such file or directory", "/Users/peter/Sites/typo3_src-6.2.3/typo3/sysext/frontend/Classes/Page/PageGenerator.php", 421, array)
4 finfo_file(resource, "mypath/favicon*.ico")
mypath/typo3_src-6.2.3/typo3/sysext/frontend/Classes/Page/PageGenerator.php:
00419: if (function_exists('finfo_open')) {
00420: if ($finfo = @finfo_open(FILEINFO_MIME)) {
00421: $iconMimeType = ' type="' . finfo_file($finfo, (PATH_site . $favIcon)) . '"';
00422: finfo_close($finfo);
00423: $pageRenderer->setIconMimeType($iconMimeType);
3 TYPO3\CMS\Frontend\Page\PageGenerator::renderContentWithHeader("
↵<noscript><p class="box warning">JavaScript ist …
div class="ym-wbox"></div>
↵
</div>
↵
</footer>
↵
↵")
mypath/typo3_src-6.2.3/typo3/sysext/frontend/Classes/Page/PageGenerator.php:
00245: $GLOBALS['TSFE']->content = $pageContent;
00246: } else {
00247: self::renderContentWithHeader($pageContent);
00248: }
00249: $GLOBALS['TT']->pull($GLOBALS['TT']->LR ? $GLOBALS['TSFE']->content : '');
2 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent()
mypath/typo3_src-6.2.3/typo3/sysext/cms/tslib/index_ts.php:
00222: // Content generation
00223: if (!$TSFE->isINTincScript()) {
00224: \TYPO3\CMS\Frontend\Page\PageGenerator::renderContent();
00225: $TSFE->setAbsRefPrefix();
00226: }
1 require("mypath/typo3_src-6.2.3/typo3/sysext/cms/tslib/index_ts.php")
mypath/typo3_src-6.2.3/index.php:
00039: ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00040:
00041: require(PATH_tslib . 'index_ts.php');
das wars ...
Gruß
Peter
Am 07.07.2014 um 15:19 schrieb Philipp Gampe <philipp.gampe at typo3.org>:
> Hi Peter,
>
> Peter Linzenkirchner wrote:
>
>> Jemand eine Idee, was hier abgeht? Ein fehlendes Favicon sollte doch keine
>> Exception werfen ... Bug?
>
> Also vom Core kommt das wohl eher nicht?
>
> Was sagt den der Stacktrace? D.h. woher kommt der Aufruf, welcher diese
> Datei einbinden will?
>
> Grüße
> --
> Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
> Documentation – Active contributor TYPO3 CMS
> TYPO3 .... inspiring people to share!
>
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german
--
Xing: http://www.xing.com/profile/Peter_Linzenkirchner
Web: http://www.typo3-lisardo.de
Facebook: http://tinyurl.com/lisardo-multimedia
More information about the TYPO3-german
mailing list