Hallo
Ich habe ein Problem mit RealURL, mm_forum, tt_products und tt_news. Bei diesen Extensions werden Posts, News und Produkte die ein Leerzeichen haben nicht gefunden. Die URL wird zwar richtig angezeigt also mit '_' bzw '-' in der Adressleiste aber es wird kein Post/Artikel/Produkt gefunden.
Lösche ich den underscore in der URL findet er den Post und Newseintrag. Bei tt_products findet er nichts.
Nach Stunden Googeln und probieren verzweifle ich noch.
UTF-8 bzw ISO umstellung habe ich keine vorgenommen. Allerding Teile aus der Localconf.php kommen aus einem UTF-8 Projekt (via copy paste).
Hier das TS:
## RealURL
config.simulateStaticDocuments = 0
config.tx_realurl_enable = 1
config.baseURL = http://meineDomain.at/
config.prefixLocalAnchors = all
und die localconf.php:
// realurl - Flush RealURL Cache
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_pathcache'] = 'tx_realurl_pathcache';
// end - Flush RealURL Cache
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array (
'enableCHashCache' => '1',
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => '1',
'enableUrlEncodeCache' => '1',
'postVarSet_failureMode' => 'redirect_goodUpperDir',
),
'redirects' => array (
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 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' => '1',
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => true,
),
'fixedPostVars' => array(
'mm_forum_pi3' => array(
array(
'GETvar' => 'tx_mmforum_pi3[folder]',
'valueMap' => array(
'inbox' => 'inbox',
'outbox' => 'send',
'archive' => 'archiv'
)
),
array(
'GETvar' => 'tx_mmforum_pi3[action]',
'valueMap' => array(
'read' => 'message_read',
'write' => 'message_write',
'delete' => 'message_del'
)
),
array(
'GETvar' => 'tx_mmforum_pi3[messid]',
'lookUpTable' => array(
'table' => 'tx_mmforum_pminbox' ,
'id_field' => 'uid',
'alias_field' => 'subject',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'tx_mmforum_pi3[userid]',
'lookUpTable' => array(
'table' => 'fe_users' ,
'id_field' => 'uid',
'alias_field' => 'username',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
)
),
'mm_forum_pi1' => array(
array(
'GETvar' => 'tx_mmforum_pi1[action]',
'valueMap' => array(
'topics' => 'list_topic',
'posts' => 'list_post',
'user' => 'forum_view_profil',
'reply' => 'new_post',
'open' => 'new_topic',
'report' => 'post_alert',
'edit' => 'post_edit',
'delete' => 'post_del',
'all_posts' => 'post_history',
'unanswered' => 'list_unans',
'unread' => 'list_unread',
'all_read' => 'reset_read',
'subscribe' => 'set_havealook',
'unsubscribe' => 'del_havealook',
'favorite' => 'set_favorite',
'no_favorite' => 'del_favorite',
'prefix' => 'list_prefix',
'attachments' => 'get_attachment',
),
),
array(
'GETvar' => 'tx_mmforum_pi1[fid]',
'lookUpTable' => array(
'table' => 'tx_mmforum_forums' ,
'id_field' => 'uid',
'alias_field' => 'forum_name',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'tx_mmforum_pi1[tid]',
'lookUpTable' => array(
'table' => 'tx_mmforum_topics' ,
'id_field' => 'uid',
'alias_field' => 'topic_title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'tx_mmforum_pi1[pid]',
),
array(
'GETvar' => 'tx_mmforum_pi1[page]',
),
array(
'GETvar' => 'tx_mmforum_pi1[user_id]',
'lookUpTable' => array(
'table' => 'fe_users' ,
'id_field' => 'uid',
'alias_field' => 'username',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'tx_mmforum_pi1[user_id]',
'lookUpTable' => array(
'table' => 'fe_users' ,
'id_field' => 'uid',
'alias_field' => 'username',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
),
'83' => 'mm_forum_pi1',
'82' => 'mm_forum_pi3'
),
'postVarSets' => array(
'_DEFAULT' => array(
// goof_photobook parameters anfang
'photobook' => array(
array(
'GETvar' => 'tx_gooffotoboek_pi1[srcdir]'
),
array(
'GETvar' => 'tx_gooffotoboek_pi1[fid]'
),
array(
'GETvar' => 'tx_gooffotoboek_pi1[func]',
'valueMap' => array(
'thumbnails' => 'thumb',
),
),
),
// goof_photobook parameters ende
//tt_news
// archive
'period' => array(
array(
'condPrevValue' => -1,
'GETvar' => 'tx_ttnews[pS]' ,
'valueMap' => array(
)
),
array(
'GETvar' => 'tx_ttnews[pL]' ,
'valueMap' => array(
)
),
array(
'GETvar' => 'tx_ttnews[arc]' ,
'valueMap' => array(
'archived' => 1,
'non-archived' => -1,
)
),
),
// pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
'select' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
'lookUpTable' => array(
'table' => 'tt_news_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
),
),
),
),
'article' => array(
array(
'GETvar' => 'tx_ttnews[backPid]',
),
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]'
),
),
// backPID
'backPID' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[backPID]',
'lookUpTable' => array(
'table' => 'pages',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
),
),
),
// product categories
'categories' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[cat]',
'lookUpTable' => array(
'table' => 'tt_products_cat',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
// products
'products' => array(
array(
'GETvar' => 'tx_ttproducts_pi1[product]',
'lookUpTable' => array(
'table' => 'tt_products',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
),
),
);
mit dank im vorraus Walter