[TYPO3-seminars] "Could not fetch page data for uid 0" after installation of seminars

Jürgen Müller juergen.mueller at tu-ilmenau.de
Tue Dec 18 00:24:27 CET 2012


 

Hello, 

I have a problem regarding the seminars-extension in typo3
v.6.0. After installing the extension via Extension Manager, every time
I try to save anything or even activate/deactivate content/users in the
Backend, the following error occurs: 

"Could not fetch page data for
uid 0". 

The error is reproducable. After deactivation of seminars,
everything works fine. 

The stack-trace is the following:


RuntimeException thrown in
file
/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/RootlineUtility.php
in line 211.

11
TYPO3CMSCoreUtilityRootlineUtility::getRecordArray(0)

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/RootlineUtility.php:


00300: */
00301: protected function generateRootlineCache() {

00302:
$page = $this->getRecordArray($this->pageUid);

00303: // If the current
page is a mounted (according to the MP parameter) handle the
mount-point
00304: if ($this->isMountedPage()) {

10
TYPO3CMSCoreUtilityRootlineUtility::generateRootlineCache()

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/RootlineUtility.php:


00184: if (!isset(self::$localCache[$cacheIdentifier])) {
00185: if
(!self::$cache->has($cacheIdentifier)) {

00186:
$this->generateRootlineCache();

00187: } else {
00188:
self::$localCache[$cacheIdentifier] =
self::$cache->get($cacheIdentifier);

9
TYPO3CMSCoreUtilityRootlineUtility::get()

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/frontend/Classes/Page/PageRepository.php:


00566: }
00567: } else {

00568: return $rootline->get();

00569:
}
00570: }

8
TYPO3CMSFrontendPagePageRepository::getRootLine(0)

/srv/www/hit-thueringen.de/typo3conf/ext/oelib/class.tx_oelib_templatehelper.php:


00227: // Gets the root line.
00228: // Finds the selected page in
the BE exactly as in t3lib_SCbase::init().

00229: $rootline =
$sys_page->getRootLine($pageId);

00230: 
00231: // Generates the
constants/config and hierarchy info for the template.

7
tx_oelib_templatehelper::retrievePageConfig(0)

/srv/www/hit-thueringen.de/typo3conf/ext/oelib/class.tx_oelib_templatehelper.php:


00137: // BE and we aren't currently creating a DirectMail
page.
00138: if ((TYPO3_MODE == 'BE') && !is_object($GLOBALS['TSFE']))
{

00139: $this->conf = $this->retrievePageConfig($pageId);

00140: }
else {
00141: // On the front end, we can use the provided template

6
tx_oelib_templatehelper::init()

/srv/www/hit-thueringen.de/typo3conf/ext/seminars/class.tx_seminars_tcemain.php:


00051: */
00052: public function __construct() {

00053:
parent::init();

00054: }
00055: 

5
tx_seminars_tcemainprocdm::__construct()

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php:


04153: } else {
04154: $fullyQualifiedClassName = '\' .
$finalClassName;

04155: $instance = new
$fullyQualifiedClassName();

04156: }
04157: // Create alias if not
present

4
TYPO3CMSCoreUtilityGeneralUtility::makeInstance("tx_seminars_tcemainprocdm")

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php:


04085: // Check if class exists:
04086: if (class_exists($class))
{

04087: $classObj = self::makeInstance($class);

04088: // If
persistent object should be created, set reference:
04089: if
($storePersistentObject) {

3
TYPO3CMSCoreUtilityGeneralUtility::getUserObj("EXT:seminars/class.tx_seminars_tcemain.php:tx_seminars_tcemainprocdm")

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/core/Classes/DataHandling/DataHandler.php:


00734: if
(is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']))
{
00735: foreach
($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']
as $classRef) {

00736: $hookObject =
TYPO3CMSCoreUtilityGeneralUtility::getUserObj($classRef);

00737: if
(method_exists($hookObject, 'processDatamap_beforeStart')) {
00738:
$hookObject->processDatamap_beforeStart($this);

2
TYPO3CMSCoreDataHandlingDataHandler::process_datamap()

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/sysext/backend/Classes/Controller/EditDocumentController.php:


00442: // Perform the saving operation with TCEmain:
00443:
$tce->process_uploads($_FILES);

00444: $tce->process_datamap();

00445:
$tce->process_cmdmap();
00446: // If there was saved any new items, load
them:

1
TYPO3CMSBackendControllerEditDocumentController::processData()

/srv/www/hit-thueringen.de/typo3_src-6.0.0/typo3/alt_doc.php:


00052: if ($SOBE->doProcessData()) {
00053: if
($formprotection->validateToken(TYPO3CMSCoreUtilityGeneralUtility::_GP('formToken'),
'editRecord')) {

00054: $SOBE->processData();

00055: }
00056:
}

Anybody got a clue, why this is happening and how it can be solved?

versions:
oelib 0.7.8
ameos formidable 1.1.549
static_info_tables
2.3.0
php 5.3.10

Thanks for your help!

With Regards,
Jürgen Müller



More information about the TYPO3-project-seminars mailing list