[TYPO3-german] Re: Re: Formhandler und realurl - Dringend Hilfe benötigt!

Kay Strobach typo3 at kay-strobach.de
Fri Mar 9 10:35:13 CET 2012


Hi,

Tipp:

1. typo3conf/realurlautoconf.php löschen
2. alle caches leeren
3. seite nochmal laden

Die fehlermeldung bedeutet, dass realurl die url zu keiner seite
auflösen konnte, liegt meistens an 2. oder an der nicht verwendung der
typolink funktionen zum erzeugen von links (weiß nicht wie formhandler
das macht, nehme fast immer powermail ;))

CU

Am 09.03.2012 09:48, schrieb Reinhard Führicht:
> Hallo Johannes,
> 
> hast du eine Lösung für das Problem gefunden?
> Würde mich interessieren was Schuld daran war.
> 
> Viele Grüße,
> Reinhard
> 
> Am 08.03.2012 21:17, schrieb JCL - Johannes C. Laxander:
>> Hallo,
>>
>> morgen soll eine Website online gehen und ich habe, nachdem ich realurl
>> "scharf gemacht" habe,
>> Probleme mit meinem Kontaktformular.
>>
>> Ich habe über TypoScript eine "Bestätigungsseite" konfiguriert:
>>
>>    # Finisher_Redirect will redirect the user to another page after
>> the form
>> was submitted successfully.
>>    5.class = Finisher_Redirect
>>    5.config {
>>     redirectPage = {$formhandlerExamples.basic.ajax-submit.redirectPage}
>>    }
>>
>> Die Seiten-ID ist korrekt (über Object-Browser kontrolliert) und die
>> Seite
>> ist auch angelegt und wir angezeigt, wenn ich sie mit index.php?id=29
>> aufrufe. Nach Absenden des Formulars wird in der Browser-Adresszeile zwar
>> der richtige Pfad angezeigt (/de/kontakt/danke-seite.html
>> <http://its-united.webseiten.cc/de/kontakt/danke-seite.html>  ), aber die
>> Seite bleibt leer. Auch die Quellcode-Ansicht ist leer. E-Mail ist
>> gesendet
>> und kommt auch an.
>>
>> Im Error Log steht folgender Eintrag: Segment "kontakt" was not a keyword
>> for a postVarSet as expected on page with id=2
>>
>> Diesen Fehlerhinweis verstehe ich nicht. Ist realurl nicht richtig
>> konfiguriert? Oder ein Fehler in der .htaccess?
>>
>> Wer kann mir bitte weiterhelfen?
>>
>> Gruß Johannes.
>>
>> ***********  hier folgt realurl_conf.php ****************************
>>
>> $TYPO3_CONF_VARS['EXTCONF'] ['realurl'] = array (
>>      '_DEFAULT' =>  array (
>>          'init' =>  array (
>>              'enableCHashCache' =>  '1',
>>              'appendMissingSlash' =>  'ifNotFile',
>>              'enableUrlDecodeCache' =>  '1',
>>              'enableUrlEncodeCache' =>  '1',
>> // TRUE ermöglicht Endungen wie xyz.html
>>        # 'respectSimulateStaticURLs' =>  'true'
>>          ),
>>          'redirects' =>  array (
>>          ),
>>          'preVars' =>  array (
>>              '0' =>  array (
>>                  'GETvar' =>  'no_cache',
>>                  'valueMap' =>  array (
>>                      'nc' =>  '1',
>>                  ),
>>                  'noMatch' =>  'bypass'
>>              ),
>>              '1' =>  array (
>>                  'GETvar' =>  'L',
>>          'valueMap' =>  array (
>>           'de' =>  '0',
>>           'ru' =>  '1',
>>           'en' =>  '2',
>>           'ch' =>  '4',
>>           'ar' =>  '5'
>>          ),
>>          'valueDefault' =>  'de',
>>                # 'noMatch' =>  'bypass',
>>        ),
>>              '2' =>  array (
>>                  'GETvar' =>  'lang',
>>                  'valueMap' =>  array (
>>                      'de' =>  'de',
>>                      'ru' =>  'ru',
>>                      'en' =>  'en',
>>                      'ch' =>  'ch',
>>                      'ar' =>  'ar',
>>          ),
>>                  'noMatch' =>  'bypass',
>>              ),
>>      ),
>>          'pagePath' =>  array (
>>              'type' =>  'user',
>>              'userFunc' =>
>> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>>              'spaceCharacter' =>  '-',
>>              'languageGetVar' =>  'L',
>>              'expireDays' =>  '7',
>>              'rootpage_id' =>  '2',
>>          ),
>>          'fileName' =>  array (
>>              'defaultToHTMLsuffixOnPrev' =>  true,
>>              'index' =>  array (
>>                  'sitemap.xml' =>  array (
>>                      'keyValues' =>  array (
>>                          'type' =>  '776',
>>                      ),
>>                  ),
>>                  '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',
>>                      ),
>>                  ),
>>              ),
>>          ),
>>      ),
>> );
>>
>> # Kontrollstruktur für mehrsprachigen 404- Fehlerseiten
>> # 0 - Deutsch
>> # 1 - Russisch
>> # 2 - Englisch
>> # 4 - Chinesisch
>> # 5 - Arabisch
>> if (preg_match('/\/ru\//', $_SERVER['REQUEST_URI']) || $_GET['L'] == 1) {
>>    $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/ru/404/';
>> } else if (preg_match('/\/en\//', $_SERVER['REQUEST_URI']) ||
>> $_GET['L'] ==
>> 2) {
>>    $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/en/404/';
>> } else if (preg_match('/\/ch\//', $_SERVER['REQUEST_URI']) ||
>> $_GET['L'] ==
>> 4) {
>>    $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/ch/404/';
>> } else if (preg_match('/\/ar\//', $_SERVER['REQUEST_URI']) ||
>> $_GET['L'] ==
>> 5) {
>>    $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/ar/404/';
>> } else  {
>>    $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] = '/404/';
>> }
>>
>> ?>
>>
>>
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful: https://flattr.com/profile/kaystrobach


More information about the TYPO3-german mailing list