2017-02-14 78 views
0

RealURL提供此错误。RealURL错误:错误的“L”参数值

我的网站只有一种语言,我没有在根页面添加任何网站语言。

我在设置中尝试了config.linkVars = Lconfig.linkVars = L(0-5),没有任何效果。

enter image description here

RealURL配置是自动生成的:

<?php 
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
    '_DEFAULT' => array(
     'init' => array(
      'appendMissingSlash' => 'ifNotFile,redirect', 
      'emptyUrlReturnValue' => '/' 
     ), 
     'pagePath' => array(
      'rootpage_id' => '1' 
     ), 
     'fileName' => array(
      'defaultToHTMLsuffixOnPrev' => 0, 
      'acceptHTMLsuffix' => 1, 
      'index' => array(
       'print' => array(
        'keyValues' => array(
         'type' => 98 
        ) 
       ) 
      ) 
     ), 
     'postVarSets' => array(
      '_DEFAULT' => array(
       'news' => array(
        0 => array(
         'GETvar' => 'tx_news_pi1[news]', 
         'lookUpTable' => array(
          'table' => 'tx_news_domain_model_news', 
          'id_field' => 'uid', 
          'alias_field' => 'title', 
          'useUniqueCache' => 1, 
          'useUniqueCache_conf' => array(
           'strtolower' => 1, 
           'spaceCharacter' => '-' 
          ) 
         ) 
        ) 
       ) 
      ) 
     ) 
    ) 
); 

回答

2

我认为是一个RealURL 2.1.7问题。 我降级到RealURL 2.1.5,然后它工作。

编辑: 现在我添加page.theme.language.languageValue = 0到我的模板常量