TYPO3 Exception 1509741914

Insights from the code

A comment in the code associated with this exception explains that it is “thrown if file storage does not exist.”

Added in TYPO3 v6.3 • Still present in TYPO3 v13.1

TYPO3 11.5.0 - ext:news dev-master - 8.10.2021

Installation Overview

TYPO3 11.5.0 with composer and ext:news dev-master using the default news templates that come bundled with the extension.

The Issue

The following error when displaying a page with the news plugin:

(1/2) #1509741914 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
File /typo3conf/ext/news/Resources/Public/Images/dummy-preview-image.png does not exist.
Copied!

The dummy image is present in the path.

Solution

As a workaround set the following TypoScript:

plugin.tx_news.settings.displayDummyIfNoMedia = 1
Copied!

For further informatin, visit https://github.com/georgringer/news/issues/1589

TYPO3 13.4.9 - Add image with custom extension

Context

Have an image in a custom extension and want to display it with Fluid Template.:

<f:image src="EXT:my_ext/Resources/Public/MyImage.svg" />
Copied!

The Issue

The following error is shown when the Fluid Template is used:

(1/2) #1509741914 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
File typo3 Unable to render image tag in "tt_content:6": _assets/0c22fd3d95c93dc31098cc8d4b1d7232/MyImage.svg File  does not exist.
Copied!

Solution

Add this to composer.json:

"extra": {
   "typo3/cms": {
      "web-dir": "public"
   }
}
Copied!