Search results - error after upgrade

Posted by Community Admin on 04-Aug-2018 20:17

Search results - error after upgrade

All Replies

Posted by Community Admin on 28-Nov-2012 00:00

Hi, After upgrading my site to v5.2 3700 my search results items have incorrect URLs. Links to result page are displaying links like:
domain.com/.../[f669d9a7-009d-4d83-ddaa-000000000002]f0326764-96c7-4331-8c92-cb4a377099d3 which results in a 404 instead of domain.com/about-us.

I've deleted and re-created the search indexes, this has made no difference. 

Thanks in advance.

Posted by Community Admin on 04-Dec-2012 00:00

Hi,

There is a problem with the search results widget since in Sitefinity 5 the assembly where the search implementation resides was changed. To fix the problem go to Design->Widget Templates and find all search related templates. If there are more than two templates delete two of them preferably those who have

Assembly="Telerik.Sitefinity" as referenced assembly in their template.

The first error is caused because of having more than one templates for search results with the problematic assembly.

Second make sure the templates for search results have markup like:
<%@ Control Language="C#" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sitefinity" %>
<%@ Register Assembly="Telerik.Sitefinity.Search.Impl" Namespace="Telerik.Sitefinity.Services.Search.Web.UI.Public" TagPrefix="sfSearch" %>
   
   
<sfSearch:SearchBox ID="topSearchBox" runat="server" />
   
<sitefinity:SitefinityLabel id="resultsStats" runat="server" WrapperTagName="p" CssClass="sfsearchResultStatistics" Text="<%$Resources:SearchResources, SearchResultsStatusMessage %>" />
<asp:Repeater ID="resultsList" runat="server">
<HeaderTemplate>
<ol class="sfsearchResultsWrp sfsearchReultTitlesOnly">
</HeaderTemplate>
<ItemTemplate>
<li class="sfsearchResultTitle"><a href='<%# Eval("Link")%>'><%# Eval("Title") %></a></li>
</ItemTemplate>
<FooterTemplate>
</ol>
</FooterTemplate>
</asp:Repeater>
<sitefinity:Pager ID="pager" runat="server" />
   
<sfSearch:SearchBox ID="bottomSearchBox" runat="server" />
and for the template for Title, URL, Excerpt:
<%@ Control Language="C#" %>
<%@ Register Assembly="Telerik.Sitefinity" Namespace="Telerik.Sitefinity.Web.UI" TagPrefix="sitefinity" %>
<%@ Register Assembly="Telerik.Sitefinity.Search.Impl" Namespace="Telerik.Sitefinity.Services.Search.Web.UI.Public" TagPrefix="sfSearch" %>
   
<sfSearch:SearchBox ID="topSearchBox" runat="server" />
   
<sitefinity:SitefinityLabel id="resultsStats" runat="server" WrapperTagName="p" CssClass="sfsearchResultStatistics" Text="<%$Resources:SearchResources, SearchResultsStatusMessage %>" />
   
<asp:Repeater ID="resultsList" runat="server">
<HeaderTemplate>
<dl class="sfsearchResultsWrp sfsearchReultTitleSnippetUrl">
</HeaderTemplate>
<ItemTemplate>
<dt class="sfsearchResultTitle"><a runat="server" href='<%# Eval("Link")%>'><%# Eval("Title") %></a></dt>
<dd class="sfsearchResultSnippet"><%# Eval("Summary")%></dd>
<dd class="sfsearchResultUrl"><a runat="server" href='<%# Eval("Link")%>'><%# Eval("Link")%></a></dd>
<dd class="sfsearchResultHighLighter"><%# Eval("HighLighterResult")%></dd>
</ItemTemplate>
<FooterTemplate>
</dl>
</FooterTemplate>
</asp:Repeater>
<sitefinity:Pager ID="pager" runat="server" />
<sfSearch:SearchBox ID="bottomSearchBox" runat="server" />


Greetings,
Stanislav Velikov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 06-Mar-2015 00:00

Does Telerik.Sitefinity.Services.Search.Web still exist?

 Markus

Posted by Community Admin on 11-Mar-2015 00:00

Hello Markus,

What is the issue you have? Could you please provide more information about it?

Note that in 7.3 there is API changes in search module. More information is available here.

Regards,
Svetoslav Manchev
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 11-Mar-2015 00:00
This thread is closed