Unable to Search

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
8/3/2009 4:45:11 AM
Gravatar
Total Posts 32

Unable to Search

Hi,

I am currently having trouble with the search facility on my site  http://stgeorge.designatedhosting.com

I have cleared the index, but it is not displaying any search results. CaIs there sometihng I have missed?

Many thanks

Shaun

8/3/2009 7:16:19 AM
Gravatar
Total Posts 18439

Re: Unable to Search

Most likely file system permissions are not allowing it to write the index files. Are you seeing errors in the mojoPortal log?

8/10/2009 9:23:56 AM
Gravatar
Total Posts 32

Re: Unable to Search

I am currently getting this appear in the log:

2009-08-05 00:07:15,793 INFO mojoPortal.Business.WebHelpers.IndexWriterTask - started IndexWriterTask task
2009-08-05 00:07:25,684 INFO mojoPortal.Web.WebTaskManager - started WebTaskManager task
2009-08-05 02:00:09,199 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-05 21:35:49,277 INFO mojoPortal.Web.Global - Application Started.
2009-08-05 22:01:09,730 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 11:14:19,702 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 12:00:51,244 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 12:28:49,781 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 14:00:58,668 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 14:12:36,058 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 16:01:07,136 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 16:10:05,449 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 18:01:07,308 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 18:17:43,996 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 20:01:08,390 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 20:07:57,760 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-06 22:01:15,795 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-06 22:16:38,295 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-07 00:01:24,233 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-07 02:53:36,389 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-07 04:00:09,588 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-07 06:03:36,425 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-07 08:00:25,314 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-07 08:31:11,798 INFO mojoPortal.Web.Global - Application Started.
2009-08-07 10:00:33,767 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-07 12:15:55,158 INFO mojoPortal.Web.Global - 程序已开始运行
2009-08-07 14:00:51,500 INFO mojoPortal.Web.Global - Global.asax.cs Application_End
2009-08-07 15:53:51,764 INFO mojoPortal.Web.Global - Application Started.
2009-08-07 15:53:52,201 ERROR mojoPortal.Web.Global - 61.135.165.203-en-US - /scriptresource.axd
System.Web.HttpException: This is an invalid script resource request.
at System.Web.Handlers.ScriptResourceHandler.Throw404()
at System.Web.Handlers.ScriptResourceHandler.DecryptParameter(NameValueCollection queryString)
at System.Web.Handlers.ScriptResourceHandler.ProcessRequest(HttpContext context)
at System.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

8/10/2009 12:20:31 PM
Gravatar
Total Posts 18439

Re: Unable to Search

None of that has anything to do with search. Most of them are just INFO not ERROR, its showing the application start and stop events. If a site is not getting much traffic what happens is that after 20 minutes of no traffic IIS shuts down the application and then when it gets a new request it wakes it up again.

The info message for aplication start is getting localized, looks like a visitor from China or Japan consistently wakes up your site with a visit. 

8/11/2009 3:37:34 AM
Gravatar
Total Posts 32

Re: Unable to Search

Hmmmmm! How odd, the sites not even live yet, so I don't know who is having a look from China, bizarre. Terribly sorry to keep bothering you, but how can I see what is going wrong with the search as that is all is happening in the Log when I make any searches?

Cheers

Shaun

8/11/2009 6:38:23 AM
Gravatar
Total Posts 18439

Re: Unable to Search

Hi,

What version of mojoPortal?

Are you seeing any files in the /Data/Sites/1/index/ folder?

Are you sure permissions are correct on that folder?

Have you tried rebuilding the search index?

Is there any data in the mp_IndexingQueue table?

Hope it helps,

Joe

8/11/2009 7:47:26 AM
Gravatar
Total Posts 32

Re: Unable to Search

Hi,

Latest version of Mojo Portal is currently installed.

There are files in the index folder.

I am assured by my service provider that the settigns are correct, but I have made them check again, as they are a bunch of idiots.

I have rebuilt the search index.

There is no data in the mp_IndexingQueue table.

If it is a permissions issue, if I can get an error that suggests that then I hit my service provider with it :) BAM!

Cheers

Shaun

 

8/11/2009 11:11:37 AM
Gravatar
Total Posts 18439

Re: Unable to Search

If you delete the files from the index folder they should come back after rebuilding the index.

When the index is rebuilt you should see messages logged in the log indicating that the index builders are indexing content. They write first to the mp_IndexingQueue table and then a task processes those rows into the index files. 

If for some reason you are missing files in the  /Setup/ProviderConfig/indexbuilders folder that could explain why indexing is not happening.

Hope it helps,

Joe

8/12/2009 7:37:53 AM
Gravatar
Total Posts 32

Re: Unable to Search

Sorted! Cheers Joe, it was a permissions issue, but I had to rebuild the index once the permissions were changed. Thanks for all your help.

You must sign in to post in the forums. This thread is closed to new posts.