拼写错误3 realurl chash
我正在尝试设置 realurl 来与我的扩展一起使用。
我认为我做错了什么,因为我无法摆脱 cHash 范围。我的 realurl 配置是
REALURL START
$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' => '-'
)
),
),
),
),
),
),
);
REAL URL END
我像疯子一样用谷歌搜索它,但确实找到了任何有用的信息。 有人能看到我做错了什么吗?
I am trying to setup realurl to work with my extension.
I think I am doing something wrong because I can't get rid of the cHash
parameter. My realurl config is
REALURL START
$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' => '-'
)
),
),
),
),
),
),
);
REAL URL END
I have googled it like a maniac but did find any helpful info.
Can someone see what I am doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
enableCashUrlDebug
。enableDevLog
因此,检查日志和缓存表是否有错误。
停用 realurl 并检查链接。也许你会发现一些问题。
enableChashUrlDebug
in realurl extension configuration.enableDevLog
in realurl extension configurationSo, check the log and the cache-tables for errors.
Deactivate realurl and check the links. Perhaps you find some issues then.