[TYPO3-english] realurl caching pages and news - cHash
Daniel Huf
dhuf at cross-systems.com
Wed Jul 22 11:28:56 CEST 2009
Dmitry Dulepov wrote:
> Hi!
>
> Daniel Huf wrote:
>> Is it correct that a page uses a cHash too while realurl is active? Or
>> is there a miss configuration?
>>
>> What is the best way to debug?
>
> Step in the debugger only.
>
these changes did the trick, hope they will help others :
Index: class.tx_realurl.php
===================================================================
--- class.tx_realurl.php (Revision 22433)
+++ class.tx_realurl.php (Arbeitskopie)
@@ -1027,7 +1027,7 @@
$cachedInfo['GET_VARS'] =
t3lib_div::array_merge_recursive_overrule($cachedInfo['GET_VARS'],
$file_GET_VARS);
// cHash handling:
- if ($cHashCache) {
+ if ($cHashCache && !isset($cachedInfo['GET_VARS']['cHash'])) {
$cHash_value = $this->decodeSpURL_cHashCache($speakingURIpath);
if ($cHash_value) {
$cachedInfo['GET_VARS']['cHash'] = $cHash_value;
Thanks Michael for the tip
More information about the TYPO3-english
mailing list