[TYPO3-english] Create Front-end environment in Scheduler with multiple domain

Sengchheang sengchheang at web-essentials.asia
Tue Mar 6 10:12:49 CET 2012

Hi All,

I have a problem when working on scheduler with multiple domains website
but it works well in single domain.
In multiple domains website, I have tried to generate typolink to the
page abc (see sample page tree below) but I got an error "Call to a
member function pageNotFoundAndExit() on a non-object" from this
function "$this->cObj->typolink_URL($typolinkConf);"

if anybody know what I am wrong or missing, please help.

My sample page tree


And this is the block of code to generate front-end environment

		$this->cObj = t3lib_div::makeInstance('tslib_cObj');
		$timeTrack = t3lib_div::makeInstance('t3lib_timeTrack');
		$GLOBALS['TT'] = new $timeTrack();
		$tsfe = new tslib_fe($TYPO3_CONF_VARS, <id_of_abc>, 0, 0);
		$tsfe->forceTemplateParsing = 1;
		$GLOBALS['TSFE'] = $tsfe;
		$this->cObj->start(array(), '');


More information about the TYPO3-english mailing list