Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Richard Yount 3 posts 72 karma points
    1 week ago
    Richard Yount
    0

    Coming up with website error - Help!

    Sorry, I'm brand new at this and trying to help a friend of mine. When you visit their website, we are getting a server error application.

    The source error shows:

    Line 50: if (!string.IsNullOrEmpty(itemLink) && !string.IsNullOrEmpty(itemTitle) && !string.IsNullOrEmpty(itemText) && firstImage > 0) Line 51: { Line 52: var image = Umbraco.Media(firstImage); Line 53: if (image != null && image.Id > 0) Line 54: {

    From what I was told, one of her co-workers was trying to change an email in the data folder, and then this happened.

    Any idea what to do?

  • Shaishav Karnani from digitallymedia.com 273 posts 1198 karma points
    1 week ago
    Shaishav Karnani from digitallymedia.com
    0

    Hi Richard,

    This is not showing complete error. Please can you share link to identify the exact error and suggest you with options.

    Regards,

    Shaishav

  • Richard Yount 3 posts 72 karma points
    1 week ago
    Richard Yount
    0

    Sorry, here is the full report of the error.

    [FileNotFoundException: Could not find file '\sambab\sites\bestbehaviourschoolfordogs.co.uk\publichtml\AppData\TEMP\ExamineIndexes\Internal\Index_5o.cfs'.] Lucene.Net.Index.FindSegmentsFile.Run(IndexCommit commit) +1466 Lucene.Net.Index.DirectoryReader.Open(Directory directory, IndexDeletionPolicy deletionPolicy, IndexCommit commit, Boolean readOnly, Int32 termInfosIndexDivisor) +93 Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen) +257

    [ApplicationException: Could not create an index searcher with the supplied lucene directory] Examine.LuceneEngine.Providers.LuceneSearcher.ValidateSearcher(Boolean forceReopen) +1183 Examine.LuceneEngine.Providers.LuceneSearcher.GetSearchFields() +19 UmbracoExamine.UmbracoExamineSearcher.GetSearchFields() +11 Examine.LuceneEngine.Providers.BaseLuceneSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation) +38 UmbracoExamine.UmbracoExamineSearcher.CreateSearchCriteria(String type, BooleanOperation defaultOperation) +10 Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id) +71 Umbraco.Web.PublishedCache.ContextualPublishedCache1.GetById(Boolean preview, Int32 contentId) +46 Umbraco.Web.UmbracoHelper.Media(Int32 id) +81 ASP.<>c__DisplayClassf.<GenerateLinkListItem>b__e(TextWriter __razor_helper_writer) in \\sambab\sites\bestbehaviourschoolfordogs.co.uk\public_html\Views\Home.cshtml:52 System.Web.WebPages.WebPageExecutingBase.WriteTo(TextWriter writer, HelperResult content) +24 ASP.<>c__DisplayClass1.<RenderListItems>b__0(TextWriter __razor_helper_writer) in \\sambab\sites\bestbehaviourschoolfordogs.co.uk\public_html\Views\Home.cshtml:15 System.Web.WebPages.WebPageBase.Write(HelperResult result) +113 ASP._Page_Views_Home_cshtml.Execute() in \\sambab\sites\bestbehaviourschoolfordogs.co.uk\public_html\Views\Home.cshtml:75 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +252 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +152 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +104 Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +194 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +357 System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +31 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func1 continuation) +415 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +415 System.Web.Mvc.Async.<>cDisplayClass25.22(IAsyncResult asyncResult) +187 System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +50 System.Web.Mvc.<>cDisplayClass1d.18(IAsyncResult asyncResult) +24 System.Web.Mvc.Async.<>cDisplayClass4.3(IAsyncResult ar) +25 System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +64 System.Web.Mvc.Async.<>cDisplayClass4.3(IAsyncResult ar) +25 System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +50 System.Web.Mvc.<>cDisplayClass8.3(IAsyncResult asyncResult) +38 System.Web.Mvc.Async.<>cDisplayClass4.3(IAsyncResult ar) +25 System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +50 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +602 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128

Please Sign in or register to post replies

Write your reply to:

Draft