Zum Inhalt springen

RealURL + Problem beim Aufruf von Alias

Erstellt am 1. Juni 2010 · Noch keine Antworten

Tags: Frage

marcin ·

RealURL Version 1.5.3

Guten Morgen, leider quäle ich mich seit mehreren Tagen mit folgendem Problem:
Vergebe ich einer bestehenden Seite ein Alias, so kann dieser per Adresseingabe in Browser nicht aufgerufen werden. Daraufhin erhalte ich folgende Fehlermeldung:

Error!
Reason: Segment "test0815" was not a keyword for a postVarSet as expected!

Erstelle ich jedoch eine neue Seite im Root- Baumverzeichnis und vergebe einen Alias Namen, so kann ich diese in der Browser- Adresszeile aufrufen ohne jegliche Fehlermeldungen. Verschiebe ich aber die erstelle Seite in eine Unterseite so erhalte ich wieder die Fehlermeldung.

Meine RealURL Extension Konfiguration sieht wie folgt aus:
Bild: img139.imageshack.us/…/realurl1.jpg

Das TS Setup sieht wie folgt aus:
Bild: img185.imageshack.us/…/realurl2.jpg

Die PHP realurl_config.php sieht wie folgt aus:

<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'useCHashCache' => '0',
'enableCHashCache' => 1,
'respectSimulateStaticURLs' => 'TRUE',
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => '1',
'enableUrlEncodeCache' => '1',
),
 
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
'nc' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'segTitleFieldList' => 'alias,tx_realurl_pathsegment,nav_title,title',
'languageGetVar' => 'L',
'expireDays' => 1,
'disablePathCache' => 1,
'rootpage_id' => 332,
),
 
// configure filenames for different pagetypes
'fileName' => array(
'defaultToHTMLsuffixOnPrev' => 1,
'index' => array(
'print.html' => array(
'keyValues' => array(
'type' => 98,
),
),
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
'postVarSets' => array(
'_DEFAULT' => array(
'browse' => array(
array( 'GETvar' => 'tx_ttnews[pointer]', 'valueMap' => array('weiter' => '1','weiter' => '2',)),),
 
// news kategorien
'kategorie' => 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, 'spaceCharacter' => '-',    ),),),),
 
// news artikel
'datum' => array(
array('GETvar' => 'tx_ttnews[year]' , ),
array('GETvar' => 'tx_ttnews[month]' , ),
array('GETvar' => 'tx_ttnews[day]' , ),
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' => '-',  ),),),),
),),
);
?>

Vielen Dank für Eure Hilfe im Voraus.