Zum Inhalt springen

RealURL funktioniert nicht mehr

Erstellt am 9. Juni 2006 · 2 Antworten · letzte Antwort am 9. Juni 2006

Tags: RealURL, Server & Hosting, Frage

IgM ·

Ich hab meine Website nun auf einen anderen Server kopiert und nun funktioniert RealURL nicht mehr.

Sobald ich auf einen Link klicke kommt folgende Fehlermeldung:

"Error!

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

Ich bin bald am verzweifeln :-(.

.htaccess Konfiguration:

#RewriteBase /

RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]

RewriteRule ^typo3$ typo3/index_re.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* /typo3/index.php [L]

Localconf Configuration (von http://www.tugmuc.de/tugmuc-projekte/realurl-aktivieren-und-konfigurieren.html):

$TYPO3_CONF_VARS['EXTCONF']['realurl'];
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
 
 'init' => array(
  'enableCHashCache' => 1
 ),
 
 'preVars' => array(
  array(
   'GETvar' => 'no_cache',
   'valueMap' => array(
    'no_cache' => 1,
   ),
   'noMatch' => 'bypass',
  ),
  array(
   'GETvar' => 'L',
   'valueMap' => array(
    'en' => '1',
   ),
   'noMatch' => 'bypass',
  ),
 ),
 'fileName' => array (
  'defaultToHTMLsuffixOnPrev' => true,
  'index' => array(
   'backend.php' => array(
    'keyValues' => array (
     'type' => 100,
    )
   ),
   'print' => array(
    'keyValues' => array(
   'type' => 98,
   )
   ),
  ),
 ),
 'postVarSets' => array(
  '_DEFAULT' => array (
   'news' => array(
     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[backPid]',
     ),
   ),
   'category' => array(
    array(
     'GETvar' => 'tx_ttnews[cat]',
    ),
   ),
   'neste' => array(
    array(
     'GETvar' => 'tx_ttnews[pointer]',
    ),
   ),
  ),
 ),
 'pagePath' => array(
  'type' => 'user',
  'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  'spaceCharacter' => '-',
  'languageGetVar' => 'L',
  'expireDays' => 3,
  'rootpage_id' => '2'
 ),
);
miwolfram ·

Hast du was geändert?
localconf.php, Seitenstruktur (vielleicht Seite die auch "contact" heist, die vorher nicht da war?)
Tritt Fehler bei jedem Link auf?
Schmeiß mal alles bis auf Standard-Realurl-Config raus um zu sehen ob die Seiten normal funktionieren.
Hast du vorher mal "Contact" benutzt um eine Get-Variable zu ersetzen?

IgM ·

Habs nun gelöst:

  array(
   'GETvar' => 'L',
   'valueMap' => array(
    'en' => '1',
   ),
   'noMatch' => 'bypass',
  )

War das Problem (hab den Abschnitt nun gelöscht). Es gingen nämlich nur die Seiten im Baum unter /en nicht. Einfach Scripte kopieren ist halt doch gefährlich...