[TYPO3-mvc] Little Problem with Extbase Extension in Typo3 6.0
Stefan Kruse
besucher80 at gmx.de
Thu Jun 13 11:08:58 CEST 2013
> Can you try
> ?tx_tl24_pi1[controller]=Suggest&tx_tl24_pi1[action]=eidCompany
Hi, yes I can try it, but sometimes I get the names of the subcats and
sometimes I get null. Strange.
I call it:
?tx_tl24_pi1[controller]=Suggest&tx_tl24_pi1[action]=product
Sometimes i get:
["*",["Bahn-Spedition","LKW-Spedition","Seefracht-Spedition","Umzugs-Spediti
on"]] => whats right
And sometimes I get:
["*",[null,null,null,null]]
And sometimes when I clear the cache then I got results too.
The background is that I have registered a eid_include script. That I am
calling, and in the script I instanciate the Extbase bootstrap with some
configurations like:
$this->configuration = array(
'pluginName' => 'Pi1',
'extensionName' => 'Tl24',
'controllerName' => 'Suggest',
'actionName' => $_GET['action'],
'vendorName' => 'SK',
'mvc' => array(
'requestHandlers' => array(
'Tx_Extbase_MVC_Web_FrontendRequestHandler' =>
'Tx_Extbase_MVC_Web_FrontendRequestHandler'
)
),
'settings' => array()
);
$_GET['tx_tl24_pi1']['action'] = $_GET['action']; // set action
$this->bootstrap = new \TYPO3\CMS\Extbase\Core\Bootstrap();
return $this->bootstrap->run('', $this->configuration);
Don't know if there could be any problems, but it seems so.
Anybody an idea what could be wrong?
Thanks STefan
More information about the TYPO3-project-typo3v4mvc
mailing list