【问题标题】:RealURL error: wrong "L" parameter valueRealURL 错误:错误的“L”参数值
【发布时间】:2017-02-14 11:39:00
【问题描述】:

RealURL 给出了这个错误。

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

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

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' => '-'
                            )
                        )
                    )
                )
            )
        )
    )
);

【问题讨论】:

    标签: typo3 typo3-7.6.x realurl


    【解决方案1】:

    我认为这是 RealURL 2.1.7 的问题。 我降级到 RealURL 2.1.5 然后它就可以工作了。

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

    【讨论】:

      【解决方案2】:

      见 => https://github.com/dmitryd/typo3-realurl/issues/407

      对 2.1.7 的快速修复可以是严格分配已配置的“uid”整数值

      linkVars = L(0-1)
      

      ……为我完成了这项工作。而不是 L(0-3)

      【讨论】:

        猜你喜欢
        • 2019-08-25
        • 2014-02-10
        • 2023-01-12
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2017-04-17
        • 1970-01-01
        相关资源
        最近更新 更多