Project

General

Profile

Actions

Bug #85985

closed

Error: No pseudo-site found in root line of page 3

Added by Stefan Froemken about 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Pagetree
Target version:
Start date:
2018-08-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello Core Team,

I'm just trying TYPO3 9.4.0-dev and started with an empty page-tree. I have created the first page and clicked on it, which results in Error:

#1534710048: No pseudo-site found in root line of page 3

Backtrace:

TYPO3\CMS\Core\Exception\SiteNotFoundException thrown in file
/Users/froemken/htdocs/typo3_src/typo3/sysext/core/Classes/Site/PseudoSiteFinder.php in line 177.

33 TYPO3\CMS\Core\Site\PseudoSiteFinder::getSiteByPageId(3, array)

/Users/froemken/htdocs/typo3_src/typo3/sysext/core/Classes/Routing/SiteMatcher.php:
00168:         } catch (SiteNotFoundException $e) {
00169:             // Check for a pseudo / null site
00170:             return $this->pseudoSiteFinder->getSiteByPageId($pageId, $rootLine);
00171:         }
00172:     }

32 TYPO3\CMS\Core\Routing\SiteMatcher::matchByPageId(3)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/View/PageLayoutView.php:
04405:     protected function resolveSiteLanguages(int $pageId)
04406:     {
04407:         $site = GeneralUtility::makeInstance(SiteMatcher::class)->matchByPageId($pageId);
04408:         $this->siteLanguages = $site->getAvailableLanguages($this->getBackendUser(), false, $pageId);
04409:     }

31 TYPO3\CMS\Backend\View\PageLayoutView::resolveSiteLanguages(3)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/View/PageLayoutView.php:
02980:     public function start($id, $table, $pointer, $search = '', $levels = 0, $showLimit = 0)
02981:     {
02982:         $this->resolveSiteLanguages((int)$id);
02983:         $backendUser = $this->getBackendUser();
02984:         // Setting internal variables:

30 TYPO3\CMS\Backend\View\PageLayoutView::start(3, "tt_content", 0, NULL, NULL, NULL)

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/Controller/PageLayoutController.php:
00898:             // Start the dblist object:
00899:             $dbList->itemsLimitSingleTable = 1000;
00900:             $dbList->start($this->id, $table, $this->pointer, $this->search_field, $this->search_levels, $this->showLimit);
00901:             $dbList->counter = $CMcounter;
00902:             $dbList->ext_function = $this->MOD_SETTINGS['function'];

29 TYPO3\CMS\Backend\Controller\PageLayoutController::renderContent()

/Users/froemken/htdocs/typo3_src/typo3/sysext/backend/Classes/Controller/PageLayoutController.php:
00781:                 $content .= '<h1 class="t3js-title-inlineedit">' . htmlspecialchars($this->getLocalizedPageTitle()) . '</h1>';
00782:                 // All other listings
00783:                 $content .= $this->renderContent();


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #86186: No pseudo-site found in root line for workspacesClosed2018-09-07

Actions
Related to TYPO3 Core - Bug #88586: No pseudo-site found in root line for workspacesClosed2019-06-18

Actions
Has duplicate TYPO3 Core - Bug #85992: Pseudo site not found on new root-level pageClosed2018-08-27

Actions
Actions #1

Updated by Stefan Froemken about 6 years ago

There is no Site Configuration configured.
Site Configuration has found my Page UID 3 and gives me a button "Add site configuration for new site".

Actions #2

Updated by Stefan Froemken about 6 years ago

I have debugged that error a little bit. TYPO3 has found an old config.yaml in typo3conf./sites/fds/. After deleting it and clearing all caches it works.
Would be cool if TYPO3 will not respect that old file or throws an error that old config does not match page-tree.

Stefan

Actions #3

Updated by Christian Kuhn about 6 years ago

that's a cache issue. i have a partial patch pending for this already with https://review.typo3.org/#/c/58017/ - the fatal is still thrown, but the next class is ok at least. i'm still in contact with benni on how to fix this in a better way.

Actions #5

Updated by Christian Kuhn about 6 years ago

  • Has duplicate Bug #85992: Pseudo site not found on new root-level page added
Actions #6

Updated by Gerrit Code Review about 6 years ago

  • Status changed from New to Under Review

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58017

Actions #7

Updated by Gerrit Code Review about 6 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58017

Actions #8

Updated by Christian Kuhn about 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Joerg Kummer about 6 years ago

Same Error, when edit a new created page in Workspace
TYPO3 9.5-dev

Actions #10

Updated by Joerg Kummer about 6 years ago

  • Related to Bug #86186: No pseudo-site found in root line for workspaces added
Actions #11

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions #12

Updated by Andreas Steiger about 6 years ago

I also can reproduce the error in 9.5.1.
If I move this 'error'-site in an another root site tree and add pages, the error is gone. The error message is a bug

Actions #13

Updated by Oliver Hader about 6 years ago

@AndreasSteiger: What's the stack track for the exception you get (probably you might want to enable debug context in install tool)?

Actions #14

Updated by Steffen Dietrich about 6 years ago

I could reproduce the error with creating and deleting sites. There's a bugfix available that could do the trick.
https://review.typo3.org/#/c/58896/

Actions #15

Updated by Benni Mack over 5 years ago

  • Target version changed from 9 LTS to next-patchlevel
Actions #16

Updated by Philipp Seiler over 5 years ago

  • Related to Bug #88586: No pseudo-site found in root line for workspaces added
Actions #17

Updated by Philipp Parzer over 3 years ago

Can reproduce this error in 9.5.26:

Instance has a pagetree Domain1 with subpages.
Create a new page Domain2 as a subpage of Domain1 .
Move page Domain2 to TopLevel.
Error appears.

After clearing the system cache, the error disappears.
But clearing the system cache on Production isn't the best thing to do.

Actions

Also available in: Atom PDF