TYPO3 Exception 1317178794


Below, the TYPO3 community may have provided additional information or solutions for this exception. However, these may or may not apply to your particular case. If you can provide more information, you should come back here and add your experience and solution steps to this issue once you have resolved it.

General TYPO3 troubleshooting tips can be found in the section “Troubleshooting” of the menu, and live support is available in the TYPO3 Slack channel #typo3-cms.

To add your experience, click “Edit on GitHub” above and follow the “Edit on GitHub” workflow. Also check out our tip on Coding Style and reST.

No file usage (sys_file_reference) found for given UID.

After adding a file mount

You’ll probably get this error if you add a file mount after creating content containing images or links to files. (Using FAL.)


Check the Upgrade Wizard in the Install Tool to make sure that there are no outstanding FAL migration actions required.

If the error appears on every page, the issue may be that a content element or resource is being inherited from a different page (higher up the tree structure.)


There is a bug in TYPO3 6.2.15 which leads to a wrong SQL query. That will raise this exception.

SELECT * FROM sys_file_reference WHERE uid=1 AND sys_file_reference.deleted=0

Just make sure that your first several (maximum number of assigned file references to your extension table) records of the table sys_file_reference are not marked as deleted. If this SQL query executes successfully, then it will work.

From a eID script

This problem may happen if you are in the context of a eID script and you forgot to load the TCA from EXT:core (namely the TCA for sys_file and sys_file_reference.