如果我将noCacheHash =“1”添加到link.action,我可以停用cHash:
<f:link.action action="show" pageUid="43" arguments="{record:record.uid}" noCacheHash="1">{record.name}</f:link.action>
/?tx_abc_abc[record]=1&tx_abc_abc[action]=show&tx_abc_abc[controller]=Abc
但是在尝试访问记录时,我收到以下错误:
Uncaught TYPO3 Exception
#1509296606: Failed to fetch error page "domain/index.php?id=72", reason: Client error: `GET domain/index.php?id=72` resulted in a `401 Unauthorized` response: <script>window.location.href='domain/access-denied/';</script><noscript>Error 401 - Access Deni (truncated...)
20 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::pageErrorHandler("domain/index.php?id=72", "HTTP/1.0 404 Not Found", "Request parameters could not be validated (&cHash empty)")
如何在停用cHash时正确访问记录?
答案 0 :(得分:0)
这不是noCacheHash
参数的原因。我认为你为pageID(43)设置了特殊权限。因此,此页面无法访问此页面。
因此,首先检查此页面的访问权限。