Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Realurl no_cache = 1 #494

Closed
prdt3e opened this issue Jun 20, 2017 · 4 comments
Closed

Realurl no_cache = 1 #494

prdt3e opened this issue Jun 20, 2017 · 4 comments

Comments

@prdt3e
Copy link

prdt3e commented Jun 20, 2017

With a typo3 8.7 installation I installed indexed search and wondered why nothing is indexed.
I found the following: index.php
  If ($ GLOBALS ['TSFE'] -> no_cache) echo "No cache is activated!";

After that I came across the following line:
UrlEncoder.php

Line: 1455 (UrlEncoder.php)
If (! $ IsValidLanguageUid) {
$ This-> tsfe-> set_no_cache (
Sprintf ('Bad "L" parameter ("% s") which is detected by realurl.'.
'Page caching is disabled to prevent spreading of wrong' L 'value.',
addslashes ($ sysLanguageUid)
)
);
}

Is that OK?
My language ID is 0.

@dmitryd
Copy link
Owner

dmitryd commented Jun 21, 2017

See Getting help if you want to ask questions.

@dmitryd dmitryd closed this as completed Jun 21, 2017
@prdt3e
Copy link
Author

prdt3e commented Aug 4, 2017

I have made the configuration according to your description.
I have allowed L (1-6) and even with defaultGetVars as well as with bypass.

The problem only occurs in Typo3 8.7.

@SventB
Copy link

SventB commented Jan 15, 2018

Same problem in TYPO3 7.6
If someone adds "?L=notexistinglanguage", the log file is created.
Second problem is the amount of data which is logged: One line in the log file needs ~4 MB.

@SventB
Copy link

SventB commented Jan 15, 2018

See #549 for possible solutions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants