Search in the 404 error page: 404 Component not found Topic is solved
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
Search in the 404 error page: 404 Component not found
Dear devs,
on article not found (error 404), the user is offered to use a search the site. But searching yields a 404 "Component not found" error. All my search components are public. (There are two modules: mobile and desktop version). What should I do to allow for a proper search through the 404 error page, please?
on article not found (error 404), the user is offered to use a search the site. But searching yields a 404 "Component not found" error. All my search components are public. (There are two modules: mobile and desktop version). What should I do to allow for a proper search through the 404 error page, please?
You do not have the required permissions to view the files attached to this post.
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
- toivo
- Joomla! Master
- Posts: 13096
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Zagreb, Croatia
Re: Search in the 404 error page: 404 Component not found
What is the URL of the website?
Toivo Talikka, Global Moderator
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
- toivo
- Joomla! Master
- Posts: 13096
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Zagreb, Croatia
Re: Search in the 404 error page: 404 Component not found
My Czech is almost non-existent but managed to get to the 404 page, tried to search and can now confirm the error '404 Komponenta nebyla nalezena', '404 Component not found'.
Go to Extensions - Manage - Manage and type in 'search' into the Search field. Click 'Search Tools' and select the type 'Component'. Are the search components Search and Smart Search enabled?
Please post the results of the Forum Post Assistant (FPA) by following the link in the red banner at the top of this topic.
Go to Extensions - Manage - Manage and type in 'search' into the Search field. Click 'Search Tools' and select the type 'Component'. Are the search components Search and Smart Search enabled?
Please post the results of the Forum Post Assistant (FPA) by following the link in the red banner at the top of this topic.
Toivo Talikka, Global Moderator
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
Re: Search in the 404 error page: 404 Component not found
I'm sorry, I forgot to change that. I hope no broken link had been found by you, but you typed in https://svjsvetova523-1.cz/blahblah 
Well, the Search component had been disabled both for site and administrator. After enabling the Search two components the 404 error for the component do not appear. Instead results of the search are presented
on the /component/search/ URI
I was using Smart Search components for long time on the site. Results appeared on the /component/finder/ URI. Now I remember that I switched off the Search component intentionally in the past -- it was some strange interference between Smart Search and Search in pre-3.8 J versions. I'll see whether is appears again now when both Search and Smart Search are enabled.
Thank you for pointing me the right direction, I totally missed the component list and was checking the modules (silly me). I'm not posting any FPA now.
It would be nice to be able to change the search component in the 404 error - page not found. Currently (I repeat and confirm) the Search component supplies the search results. I'd like to optionally replace that by the Smart Search (Finder) results. Is this possible on the administrator level, please? That is a template thingy, right?

Well, the Search component had been disabled both for site and administrator. After enabling the Search two components the 404 error for the component do not appear. Instead results of the search are presented
on the /component/search/ URI
I was using Smart Search components for long time on the site. Results appeared on the /component/finder/ URI. Now I remember that I switched off the Search component intentionally in the past -- it was some strange interference between Smart Search and Search in pre-3.8 J versions. I'll see whether is appears again now when both Search and Smart Search are enabled.
Thank you for pointing me the right direction, I totally missed the component list and was checking the modules (silly me). I'm not posting any FPA now.
It would be nice to be able to change the search component in the 404 error - page not found. Currently (I repeat and confirm) the Search component supplies the search results. I'd like to optionally replace that by the Smart Search (Finder) results. Is this possible on the administrator level, please? That is a template thingy, right?
- toivo
- Joomla! Master
- Posts: 13096
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Zagreb, Croatia
Re: Search in the 404 error page: 404 Component not found
Perfectly possible. Use Extensions - Modules to disconnect the Search module from the Search position of the template and assign the Smart Search module to that position. Do not forget to re-index and test.tychapogoy wrote:I'd like to optionally replace that by the Smart Search (Finder) results. Is this possible on the administrator level, please?
It is possible to present the search results on their own page, for example /search-results, especially if the site uses SEF URLs and modern routing: https://www.joomlage.com/joomla-3-tutor ... -in-joomla.
The following tutorial will help if you want to customise the page for search results: https://docs.joomla.org/Customising_the ... sults_page
Toivo Talikka, Global Moderator
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
Re: Search in the 404 error page: 404 Component not found
Dear Toivo,
I'm working on understanding your instructions, but I'm failing to do so. I summarize my findings:
I'm working on understanding your instructions, but I'm failing to do so. I summarize my findings:
- There is no Search module among my modules, only Smart search module. See also
https://imgur.com/azMOF8d - I cannot identify the search position of the Protostar template.
- Only Smart search would allow me to re-index. Search does not have that option, ASAIK.
Thank you for the help page on the separate search page.toivo wrote: ↑Fri Feb 07, 2020 11:46 amPerfectly possible. Use Extensions - Modules to disconnect the Search module from the Search position of the template and assign the Smart Search module to that position. Do not forget to re-index and test.tychapogoy wrote:I'd like to optionally replace that by the Smart Search (Finder) results. Is this possible on the administrator level, please?
- toivo
- Joomla! Master
- Posts: 13096
- Joined: Thu Feb 15, 2007 5:48 am
- Location: Zagreb, Croatia
Re: Search in the 404 error page: 404 Component not found
Go to Extensions - Templates: Styles - Options and set 'Preview Module Positions' to Enabled. Now you can browse to the home page and add '?tp=1' to the URL, for example http://example.com/index.php?tp=1. Usually the search position in Protostar is position-0.tychapogoy wrote:I cannot identify the search position of the Protostar template.
Did you manage to get rid of the original issue?
Toivo Talikka, Global Moderator
-
- Joomla! Enthusiast
- Posts: 194
- Joined: Thu Oct 01, 2015 7:52 pm
Re: Search in the 404 error page: 404 Component not found
Yes, please, the original issue has been solved. Thank you.
The other issue, I'll escalate in new thread soon.
The other issue, I'll escalate in new thread soon.