[TYPO3-english] RealURL language switch problem

Edgars Karlsons emoedgars at inbox.lv
Tue Nov 18 17:44:32 CET 2008


Nope! :) I don't have this extension - I do not use any extensions that handles URLs! As I said this may be something like RealURL incompability issue between TYPO3 versions - because with 4.2.1 it works, but with versions 4.2.2 and 4.2.3 - it doesn't. Maybe some other tips? 

---
Edgars Karlsons

Donatas Elvikis wrote:

> Hi Edgars,
>
> I recently had the same problem which was due to p2_realurl extension. I 
> forces realurl to use default languages for the given language ID's or 
> 'all' by default. In this case you might want to configure it e.g.  with 
> '1' for russian language. However it might be something else, as you 
> said it was working fine before.
>
> Donatas Elvikis
>
>
> Edgars Karlsons wrote:
>   
>> > Hi, all!
>> >
>> > First of all - I must say - it is the first time I have stucked in TYPO3
>> > (after whole year, when I started to use it) - and so, I ask for your
>> > help, sirs!
>> >
>> > I have a TYPO3 driven page with RealURL extension - and quite a long
>> > time - I didn't receive any errors. After upgrade to TYPO3 4.2.3 and
>> > RealURL 1.5.2 - I noticed, that strange behavior when I switch between
>> > languages. For example - all my latvian URLs are correctly shown, but
>> > when I switch to english - it switches to ../en/latvian-title/, not
>> > ../en/english-title/. After this switch - there is shown the correct
>> > content, and other links works too as expected... The only problem with
>> > language prefix is at the language switch. Can someone can help me solve
>> > this issue?
>> >
>> > My RealURL config:
>> >
>> > $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][] 
>> >
>> >
>> > =
>> > 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
>> > $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][] 
>> >
>> >
>> > =
>> > 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
>> > $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['FE']['addRootLineFields'] .=
>> > ',tx_realurl_pathsegment,alias,nav_title,title';
>> > $TYPO3_CONF_VARS['FE']['pageNotFound_handling'] =
>> > 'READFILE:fileadmin/templates/pagenotfound.html';
>> > $TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
>> > 'init' => array(
>> > 'enableCHashCache' => 1,
>> > 'enableUrlDecodeCache' => 1,
>> > 'enableUrlEncodeHash' => 1,
>> > 'appendMissingSlash' => 'ifNotFile',
>> > ),
>> > 'redirects' => array (
>> > ),
>> > 'rewrite' => array(
>> > ),
>> > 'preVars' => array (
>> > '0' => array (
>> > 'GETvar' => 'no_cache',
>> > 'valueMap' => array (
>> > 'nc' => '1'
>> > ),
>> > 'noMatch' => 'bypass'
>> > ),
>> > '1' => array (
>> > 'GETvar' => 'L',
>> > 'valueMap' => array (
>> > 'lv' => '0',
>> > 'ru' => '1',
>> > 'en' => '2',
>> > ),
>> > 'valueDefault' => 'lv'
>> > ),
>> > ),
>> >
>> > 'pagePath' => array(
>> > 'type' => 'user',
>> > 'userFunc' =>
>> > 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>> > 'spaceCharacter' => '-',
>> > 'languageGetVar' => 'L',
>> > 'segTitleFieldList' => 'tx_realurl_pathsegment,alias,nav_title,title',
>> >
>> >
>> > 'disablePathCache' => 0,
>> > 'autoUpdatePathCache' => 1,
>> > 'expireDays' => 30,
>> > ),
>> > 'fixedPostVars' => array(
>> > ),
>> >
>> > ---
>> > Edgars Karlsons
>> >
>> >
>> >
>> > _______________________________________________
>> > TYPO3-english mailing list
>> > TYPO3-english at lists.netfielders.de
>> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>> >   
>>   



More information about the TYPO3-english mailing list