[TYPO3-english] RealURL language switch problem
Donatas Elvikis
elvikis at mathematik.uni-kl.de
Tue Nov 18 14:21:59 CET 2008
First check if you have 'p2_realurl' extension installed. If yes, then
configure it as described in
http://typo3.org/documentation/document-library/extension-manuals/p2_realurl/1.0.0/view/1/3/
or simply remove it to check if it is the one causing problems.
Donatas Elvikis
Edgars Karlsons wrote:
> Thanks for your reply. Actually - I already tried to disable some extensions, but without any positive results. I doesn't understand - what did you mean with RealURL force-use of ID's? I'm kind of stuck with this problem.
> PS. Also - migration (TYPO3 downgrade) to earlier versions (f.e - 4.2.1) gives the nice results and RealURL is working as it should! The problem is starting when i used T3 v4.2.2 and v4.2.3 with the same version of RealURL in all these cases.
>
> Thanks in advance
> ---
> 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
>>>>
>>>>
>>>
>>>
>
> _______________________________________________
> 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