[SOLVED] Search in news extension shows 404-page

Hi,
I added a search page for my news.
I use the plugin newssearchform with page-ID for List view or without (to show on the same page).
I add the plugin for the search results.
The page shows up, but if I enter a searchtext and submit a 404-page ist shown.
I used the search before, but I don’t understand why it is not working now.
Kind regards
Bernd

Typo3 13.4.8 latest news extension

404 indicates a urls is not correct - so that will be the first thing to check: Does the pid point to a available, not-hidden-or-deleted page?

Hi @bernds! Did @sorenmalling’s answer resolve your issue?

Sorry for not responding, I was on vacation.
I assume that after submitting the search, the search-result-page should be shown. This page is linked in the plugin, it exists and is not hidden. I can call the page itself.
The 404 has this additional information:

The page did not exist or was inaccessible. Reason: Request parameters could not be validated (&cHash empty)
Request: b5a8f63be6178

Sorry, no it is not. I answered the post.

This additional information is super important for your case :slight_smile: You seem to submit a number of parameters in a way that resolves the urls as invalid (hence the cHash error).

Perhaps this stackoverflow question can shed some light

https://stackoverflow.com/questions/63548921/typo3-form-request-parameters-could-not-be-validated

If no, question is, if you modified the HTML template in anyway or can tell us what the URL looks like (parameters is important here :slight_smile: )

I did not modify the template. The URL for the page is:
https://esf.ddev.site/nachrichtenliste/nachrichten-suchergebnisliste?tx_news_pi1[search][subject]=Mobil&tx_news_pi1[search][minimumDate]=2022-10-01&tx_news_pi1[search][maximumDate]=

So I don’t see any specific parameters. But “cHash empty”?

I see this as related to your issue (Added the link to your Github Issue as well)