Internal search gives blank screen

Vote:
 

[6r2+pagetypebuilder]

The internal search dialog doesn't pop out when pressing the search button.

The ajax request to "[siteurl]/[uiurl]/shell/Search/Index/?searchArea=[cms/shell/whatever]" gives a blank screen (200), no source code, no javascript errors.
Debug log files give no errors; relevant lines read:

2011-08-08 11:33:32,748 DEBUG [30] EPiServer.Shell.Web.Routing.ModuleRouteCollection.GetRouteData - Found route with values moduleArea=Shell, controller=Search, action=Index, id=Sidor for path:~/epiadmin/Shell/Search/Index/Sidor
2011-08-08 11:33:32,752 DEBUG [30] EPiServer.Shell.Web.Mvc.ModuleControllerFactory.CreateController - Creating controller 'Search' with type: EPiServer.Shell.UI.Controllers.SearchController
2011-08-08 11:33:32,763 DEBUG [30] EPiServer.Shell.Web.Mvc.ModuleMvcHandler.ProcessRequestInit - Resolved 'Search' to controller: EPiServer.Shell.UI.Controllers.SearchController
2011-08-08 11:33:32,764 INFO [30] EPiServer.Shell.UI.Models.SearchProvidersManager.GetEnabledProvidersByPriority - Listing search providers within search area: Shell
2011-08-08 11:33:32,765 INFO [30] EPiServer.Shell.UI.Models.SearchProvidersManager.GetSettings - Loading search settings
2011-08-08 11:33:32,782 DEBUG [30] EPiServer.Shell.Web.Mvc.ModuleViewEngineCollection.FindView - Returning view engine for module: [ShellModule 'Shell' routing from 'epiadmin/' with resources at '/epiadmin/Shell/' and client resources at '/epiadmin/Shell/' with assemblies 'EPiServer.Shell, EPiServer.Shell.UI, EPiServer.ApplicationModules' containing controllers 'FailingGadgetController, AboutController, DashboardController, DebugController, SettingsController, ResourcesController, SearchController, VisitorGroupsStatisticsController']
2011-08-08 11:33:32,783 DEBUG [30] EPiServer.Shell.Web.Mvc.ModuleViewEngineCollection.FindView - Returning view engine for module: [ShellModule 'Shell' routing from 'epiadmin/' with resources at '/epiadmin/Shell/' and client resources at '/epiadmin/Shell/' with assemblies 'EPiServer.Shell, EPiServer.Shell.UI, EPiServer.ApplicationModules' containing controllers 'FailingGadgetController, AboutController, DashboardController, DebugController, SettingsController, ResourcesController, SearchController, VisitorGroupsStatisticsController']
2011-08-08 11:33:32,811 DEBUG [30] EPiServer.Shell.Web.Routing.ModuleRouteCollection.GetVirtualPath - Got path epiadmin/Shell/Resources/GetLocalizationResource?typeName=EPiServer.Shell.UI.Views.Search.Resources&culture=sv
2011-08-08 11:33:32,877 DEBUG [30] EPiServer.Shell.Web.Routing.ModuleRouteCollection.GetVirtualPath - Got path epiadmin/Shell/Search/Search

The administrators role have access.
We have tried switching the master language and the user language between en and sv.
Reflection of the EPiServer.Shell.UI dll (SearchController) reveal only the enumeration of search providers.
We can access /Shell/Search/Settings and change search settings, to no avail.
We created a custom search provider and enabled only that one but the problem persists. 

We tried exporting the database and importing it to a new one and switching the connection strings - that worked.  All the settings were imported, as was the page structure and some basic properties, but some custom properties weren't. Could it perhaps be because of a custom page property or content somehow? Again, we're not getting any errors. Not even any markup.

EPiServer support says.. give more info :)

Grateful for any help we can get.

#52644
Aug 08, 2011 12:16
Vote:
 

We're getting similar problems but the search is giving us this error in the logs:

 

2011-12-06 16:21:32,589 ERROR [29] EPiServer.Shell.UI.Controllers.SearchController.Search - Search provider EPiServer.Cms.Shell.Search.PageSearchProviderthrew an exception when searching for "test"
2011-12-06 16:21:32,591 ERROR [29] EPiServer.Shell.UI.Controllers.SearchController.Search - System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.DataAccess.PageTextIndexDB.<>c__DisplayClass8.<SearchPages>b__7()
at EPiServer.DataAccess.DataAccessBase.<>c__DisplayClass1`1.<Execute>b__0()
at EPiServer.DataAccess.DatabaseFactory.Execute[TResult](Action`1 method)
at EPiServer.Cms.Shell.Search.PageSearchProvider.Search(Query query)
at EPiServer.Shell.UI.Controllers.SearchController.Search(String id, String epiSearchQuery)
2011-12-06 16:21:37,273 DEBUG [34] EPiServer.Events.Remote.RemoteEventsManager.EventSequenceCheckTimer_Elasped - Event Sequence Check Timer Elapsed
 
Can you give any assistance/suggestions how we might overcome this?

 

#55529
Dec 06, 2011 17:22
Vote:
 

Hi Steven,

Our problem was traced to a faulty reponse stream filter of ours and had little to do with EpI internals. I doubt this is the case for you, a null reference exception here would suggest maybe an invalid search configuration. Is there a search provider registered? Google episerver search provider configuration or something like that (sorry don't know the section by mind).

 

/JJ

#55532
Dec 06, 2011 17:45
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.