TYPO3 Exception 1317178794
Note
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 Troubleshooting section in the menu. You can also ask questions and receive support in the TYPO3 Questions category on talk.typo3.org.
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.)
Solution
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.)
Workaround
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_
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_
and sys_
.