
| Author | Message |
|---|---|
|
Written on: 04. 12. 2009 [21:53]
|
|
|
oli1986
oli
Topic creator
registered since: 04.12.2009
Posts: 1
|
Hi I try to configure typogento. I used the code in the docu to generate a category-menu and make it work with real_url. It generates link like this: http://www.myurl.ch/shop/catalog/category/view/category1.html but if I click on it an item I get an typo3 error: TYPOSCRIPT Error!
Reason: Segment "catalog" was not a keyword for a postVarSet as expected!someone an idea what's wrong? thank you so much. realurl config in localconf.php: TYPOSCRIPT $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array( '_DEFAULT' => array( 'init' => array( 'enableCHashCache' => 1, 'appendMissingSlash' => 'ifNotFile', 'enableUrlDecodeCache' => 0, 'enableUrlEncodeCache' => 0, ), 'redirects' => array(), 'preVars' => array( array( 'GETvar' => 'no_cache', 'valueMap' => array( 'nc' => 1, ), 'noMatch' => 'bypass', ), array( 'GETvar' => 'L', 'valueMap' => array( 'en' => '2', 'de' => '1', ), 'noMatch' => 'bypass', ), ), 'pagePath' => array( 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main', 'spaceCharacter' => '-', 'languageGetVar' => 'L', 'expireDays' => 3, 'rootpage_id' => 19 ), 'fileName' => array ( 'defaultToHTMLsuffixOnPrev'=> 1 ), 'fixedPostVars' => array(), 'postVarSets' => array ( '_DEFAULT' => array ( 'shoparticle' => array ( 0 => array ( 'GETvar' => 'tx_fbmagento[shop][s]', ), ), 'shop' => array ( 0 => array ( 'GETvar' => 'tx_fbmagento[shop][route]', ), 1 => array ( 'GETvar' => 'tx_fbmagento[shop][controller]', ), 2 => array ( 'GETvar' => 'tx_fbmagento[shop][action]', ), 3 => array ( 'GETvar' => 'tx_fbmagento[shop][id]', 'userFunc' => 'EXT:fbmagento/lib/class.tx_fbmagento_realurl.php:&tx_fbmagento_realurl->idRewrite', ), 4 => array ( 'GETvar' => 'tx_fbmagento[shop][category]', 'userFunc' => 'EXT:fbmagento/lib/class.tx_fbmagento_realurl.php:&tx_fbmagento_realurl->categoryRewrite', ), 5 => array ( 'GETvar' => 'tx_fbmagento[shop][product]', ), ), 'shoppage' => array ( 0 => array ( 'GETvar' => 'tx_fbmagento[shop][p]', ), 1 => array ( 'GETvar' => 'tx_fbmagento[shop][order]', ), 2 => array ( 'GETvar' => 'tx_fbmagento[shop][dir]', ), ), ),//default ),//postvar ), ); |
|
Written on: 08. 12. 2009 [23:02]
|
|
|
stwsimon
Simon Browning
registered since: 20.11.2009
Posts: 13
|
Same issue here. I find it works if you remove/comment out: 2 => array ( 'GETvar' => 'tx_fbmagento[shop][action]', ), |