Issue Bug Closed

#57515sys_file_reference not allowed on root (pid=0)

Florian Schwaiger 04/01/14, 20:41 updated 10/02/18, 11:58

Description

I want to add user images to be_users using FAL.

This is TCA config:

    'images' => array(
        ...
        'config' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig(
            'images',
            array( 'appearance' => array('createNewRelationLinkTitle' => '...') ),
            $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']
        )
    ),

This happens on save, because BE users are on page 0:

Attempt to insert record on page '[root-level]' (0) where this table, sys_file_reference, is not allowed

What to do?

Reviews 2