Issue Bug Closed

#65539No settings detected

Gernot Leitgab 03/05/15, 12:57 updated 04/28/17, 12:15

Description

Under certain circumstances the error “1333650506: No settings detected. […]” is shown in Extbase backend modules (e.g. belog).
This is the result of a not precise calculation of the site root in \TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager->getCurrentPageIdFromCurrentSiteRoot():

        /**
         * Gets the current page ID from the first site root in tree.
         *
         * @return int the page UID, will be 0 if none has been set
         */
        protected function getCurrentPageIdFromCurrentSiteRoot() {
                $rootPage = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow(
                        'uid', 'pages', 'deleted=0 AND hidden=0 AND is_siteroot=1', '', 'sorting'
                );
                if (empty($rootPage)) {
                        return 0;
                }

                return (int)$rootPage['uid'];
        }

If multiple nested site root’s available (multi domain installations) the main root page (pid=0) may have a lower sorting than a child page, therefore the wrong site root is returned.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.