[TYPO3-german] Uncaught TYPO3 Exception nach Update auf 6.0

Hugo dasfegefeuer at web.de
Sat Feb 2 00:05:04 CET 2013


Hallo,

also nun hier nochmal in einem neuen Thread, mein Problem seit dem 
Update von Version 4.7.7 auf 6.0.

Also im Log erhalte ich folgende Fehlermeldung:

Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1343589451: 
Could not fetch page data for uid 0. | RuntimeException thrown in file 
.../typo3/sysext/core/Classes/Utility/RootlineUtility.php in line 217. 
Requested URL: http://www.example.de/index.php?id=2

Beim Seitenaufruf erhalte ich im Frontend:

---------------------------------------------------------------------------------------------------------------------------------------
Uncaught TYPO3 Exception
#1343589451: Could not fetch page data for uid 0. (More information)

RuntimeException thrown in file
..../typo3/sysext/core/Classes/Utility/RootlineUtility.php in line 217.

6 TYPO3\CMS\Core\Utility\RootlineUtility::getRecordArray(0)

..../typo3/sysext/core/Classes/Utility/RootlineUtility.php:

00308:   */
00309:  protected function generateRootlineCache() {
00310:   $page = $this->getRecordArray($this->pageUid);
00311:   // If the current page is a mounted (according to the MP 
parameter) handle the mount-point
00312:   if ($this->isMountedPage()) {

5 TYPO3\CMS\Core\Utility\RootlineUtility::generateRootlineCache()

..../typo3/sysext/core/Classes/Utility/RootlineUtility.php:

00190:   if (!isset(self::$localCache[$cacheIdentifier])) {
00191:    if (!self::$cache->has($cacheIdentifier)) {
00192:     $this->generateRootlineCache();
00193:    } else {
00194:     self::$localCache[$cacheIdentifier] = 
self::$cache->get($cacheIdentifier);

4 TYPO3\CMS\Core\Utility\RootlineUtility::get()

...../typo3/sysext/frontend/Classes/Page/PageRepository.php:

00566:    }
00567:   } else {
00568:    return $rootline->get();
00569:   }
00570:  }

3 TYPO3\CMS\Frontend\Page\PageRepository::getRootLine("home", "")

.../typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:

01170:      $temp_sys_page->init($this->showHiddenPage);
01171:      // If root line contained NO records and 
->error_getRootLine_failPid tells us that it was because of a pid=-1 
(indicating a "version" record)...:
01172:      if (!count($temp_sys_page->getRootLine($this->id, 
$this->MP)) && $temp_sys_page->error_getRootLine_failPid == -1) {
01173:       // Setting versioningPreview flag and try again:
01174:       $temp_sys_page->versioningPreview = TRUE;

2 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::determineId()

..../typo3/sysext/cms/tslib/index_ts.php:

00117: $TSFE->checkAlternativeIdMethods();
00118: $TSFE->clear_preview();
00119: $TSFE->determineId();
00120: // Now, if there is a backend user logged in and he has NO access 
to this page, then re-evaluate the id shown!
00121: if ($TSFE->isBackendUserLoggedIn() && 
(!$BE_USER->extPageReadAccess($TSFE->page) || 
\TYPO3\CMS\Core\Utility\GeneralUtility::_GP('ADMCMD_noBeUser'))) {

1 require(".../typo3/sysext/cms/tslib/index_ts.php")

.../index.php:

00037: \TYPO3\CMS\Core\Core\Bootstrap::getInstance()->baseSetup('');
00038:
00039: require(PATH_tslib . 'index_ts.php');
00040: ?>
---------------------------------------------------------------------------------------------------------------------------

Ich konnte das Problem soweit eingrenzen:

Meine Seitenstruktur sieht folgendermaßen aus:

Oberste Ebene (ID 0 mit Typo3 Symbol)
- Templates (Systemordner)
- Datensätze (Systemordner)
- Root (Weltkugel; Verweis auf Seite 1)
-- Seite1 (Verweis auf Seite 1.1)
--- Seite1.1 (Standardseite)
--- Seite1.2 (Standardseite)
-- Seite2 (Verweis auf Seite 2.1)
--- Seite2.1 (Standardseite)
--- Seite2.2 (Standardseite)
-- Seite3 (Verweis auf Seite 3.1)
--- Seite3.1 (Standardseite)
--- Seite3.2 (Standardseite)

Seite 1, Seite 2 und Seite 3 stellen das horizontale Menü dar. Die 
dazugehörigen Unterseiten das jeweilige Vertikalmenü.

Wenn ich den Verweis von Root auf Seite 1 entferne (umwandeln in 
Standardseite), kommen die Fehler für die oberste Ebene nicht mehr, 
sondern das Seitengrundgerüst mit Horizontalmenü wird angezeigt. das 
Vertikalmenü und die Seiteninhalte werden natürlich nicht angezeigt. 
Durch entfernen der ganzen Verweise kann ich die Fehlermeldung so 
beseitigen. Jedoch funktioniert dann meine Seite und die Menüs eben 
nicht mehr wie gewünscht.

Insofern kann ich das Problem soweit eingrenzen, dass es wohl etwas mit 
der Seitenstruktur und den dortigen Verweisen zu tun haben könnte.

Viele Grüße
Hugo


More information about the TYPO3-german mailing list