繁体   English   中英

typo3 realurl chash

[英]typo3 realurl chash

我正在尝试设置realurl以与我的扩展一起使用。

我想我做错了什么,因为我无法摆脱cHash参数。 我的realurl配置是

REALURL开始

$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
    'fileName' => array(),
    'init' => array(
        'enableCHashCache' => true,
             'appendMissingSlash' => 'ifNotFile,redirect',
              'adminJumpToBackend' => true,
              'enableUrlDecodeCache' => true,
              'enableUrlEncodeCache' => true,
              'emptyUrlReturnValue' => '/',
    ),
    '_DEFAULT' => array(
        'redirects' => array(),
        'preVars' => array(),
        'pagePath' => array(
        'type' => 'user',
        'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
            'spaceCharacter' => '-',
            'expireDays' => 30,
            'rootpage_id' => '1',
        ),
        'postVarSets' => array(
            '_DEFAULT' => array(
                'kategori' => array(
                    array(
                        'GETvar' => 'tx_projgallery_pi1[cat]',
                        'lookUpTable' => array(
                            'table' => 'tx_projgallery_categories',
                            'id_field' => 'uid',
                            'alias_field' => 'category',
                            'addWhereClause' => ' AND NOT deleted',
                            'useUniqueCache' => '1',
                            'useUniqueCache_conf' => array(
                                'strtolower' => '1',
                                'spaceCharacter' => '-'
                            )
                        ),
                    ),
                ),
                'album' => array(
                    array(
                        'GETvar' => 'tx_projgallery_pi1[album]',
                        'lookUpTable' => array(
                            'table' => 'tx_projgallery_gallery',
                            'id_field' => 'uid',
                            'alias_field' => 'navi_title',
                            'addWhereClause' => ' AND NOT deleted',
                            'useUniqueCache' => '1',
                            'useUniqueCache_conf' => array(
                                'strtolower' => '1',
                                'spaceCharacter' => '-'
                            )
                        ),
                    ),
                ),
                'billede' => array(
                    array(
                        'GETvar' => 'tx_projgallery_pi1[show]',
                        'lookUpTable' => array(
                            'table' => 'tx_projgallery_photos',
                            'id_field' => 'uid',
                            'alias_field' => 'uid',
                            'addWhereClause' => ' AND NOT deleted',
                            'useUniqueCache' => '1',
                            'useUniqueCache_conf' => array(
                                'strtolower' => '1',
                                'spaceCharacter' => '-'
                            )
                        ),
                    ),

                ),
            ),
        ),
    ),
);

真实网址结束

我像疯子一样用Google搜索它,但没有找到任何有用的信息。 有人可以看到我在做什么吗?

  • 检查您的扩展配置。 是否创建了所有表和字段? 如果不是,请尝试通过phpMyAdmin自行创建表和字段。
  • 检查表tx_realurl_chashcache是​​否存在,该表不应为空。
  • 在realurl扩展配置中激活enableChashUrlDebug
  • 在realurl扩展配置中激活enableDevLog
  • 安装扩展devlog

因此,请检查日志和缓存表中是否有错误。

停用realurl并检查链接。 也许您然后发现一些问题。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM