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

Error 404: Request parameters could not be validated (&cHash empty) #416

Open
biedert opened this issue May 11, 2023 · 2 comments
Open

Error 404: Request parameters could not be validated (&cHash empty) #416

biedert opened this issue May 11, 2023 · 2 comments
Assignees
Labels

Comments

@biedert
Copy link

biedert commented May 11, 2023

In a freshly installed TYPO3 instance, I get a 404 thrown if I submit the search form supplied by the "Search form" plugin. The content of the 404 page says: "Request parameters could not be validated (&cHash empty)"

How to replicate:
Set up fresh Instance of TYPO3 11.5.27, install the newest version of events2 (currently 8.1.6). Add the static TS of events2 to the root Template. Add a new page below the root page, add an event to it. Add a new Plugin called "Search form" to the root page and reference the page with the event in the field "Record Storage Page". In the Frontend, submit the search form.

@biedert
Copy link
Author

biedert commented May 11, 2023

EDIT: By Setting $GLOBALS['TYPO3_CONF_VARS']['FE']['pageNotFoundOnCHashError'] = 0 you can prevent that TYPO3 throws a 404 when there's no cHash. But this shouldn't be a requirement since by default, the value of this setting is 1. Maybe, requireCHashArgumentForActionArguments could be a solution to this problem.

@sfroemkenjw sfroemkenjw self-assigned this Jun 15, 2023
@loeffe1
Copy link

loeffe1 commented Nov 24, 2023

Any news on this? It seems the possibility to set requireCHashArgumentForActionArguments was removed purposely without introducing a fix for this? #15

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

No branches or pull requests

3 participants