Project

General

Profile

Actions

Bug #65539

closed

No settings detected

Added by Gernot Leitgab over 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Extbase
Target version:
-
Start date:
2015-03-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #38108: Multiple domain records in one tree don't workRejectedNicole Cordes2012-06-16

Actions
Actions

Also available in: Atom PDF