when i type "" in the hebrew site i get an error Error loading MacroEngine script (file: Search.cshtml)
this is from umbdebugshowtrace
System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args) at System.String.Format(IFormatProvider provider, String format, Object[] args) at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at ASP._Page_macroScripts_Search_cshtml.<>c__DisplayClasse.<ShowSummary>b__d(TextWriter __razor_helper_writer) in c:\inetpub\wwwroot\4.8\macroScripts\Search.cshtml:line 44 at System.Web.WebPages.WebPageBase.Write(HelperResult result) at ASP._Page_macroScripts_Search_cshtml.Execute() in c:\inetpub\wwwroot\4.8\macroScripts\Search.cshtml:line 22 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage)1.3773000.274599 umbracoMacroLoading IMacroEngine script [done]1.3778900.000590 umbracoMacroError loading MacroEngine script (file: Search.cshtml, Type: '' Index (zero based) must be greater than or equal to zero and less than the size of the argument list. at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)1.3779440.000054 renderMacro
Yep, I could replicate the issue. Did you have the same problem with v1.0.3 and/or v.1.0.4? I'm starting to think it might be related to Examine in Umbraco 4.8 rather than the package itself as I have not changed the core search functionality
Found the problem. It's a very simple one. The SearchResults (plural) item in the dictionary is formatted wrong. Try to format it I a proper way and it will work.
I got the same issue as Eran for the Swedish language. If I change to Swedish with the same format as the English one it dosent work either.
Your search for '{0}' matches {1} pages
Din sökning av '{0}' matchar {1} sidor
I use umbraco 4.9 and ubootstrap 1.1.0
Any suggestions?
Regards Adam
Error Loading Razor Script (file: Search) Object reference not set to an instance of an object. at ASP._Page_macroScripts_Search_cshtml.Execute() in c:\inetpub\wwwroot\iftac\macroScripts\Search.cshtml:line 20 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) 0,076895 0,000208 umbracoMacro Loading IMacroEngine script [done] 0,076920 0,000025 umbracoMacro Error loading MacroEngine script (file: Search.cshtml, Type: '' Object reference not set to an instance of an object. at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
I have found the problem there is no ExamineIndex for Swedish in ubootstrap package!
Error loading MacroEngine script (file: Search.cshtml)
when i type "" in the hebrew site i get an error
Error loading MacroEngine script (file: Search.cshtml)
this is from umbdebugshowtrace
wtf, the forums removes hebrew words, anyway i tried looking for the word umbraco in hebrew :)
Hi Eran,
You're talking about the new version 1.1.0, right?
J
indeed
Yep, I could replicate the issue. Did you have the same problem with v1.0.3 and/or v.1.0.4? I'm starting to think it might be related to Examine in Umbraco 4.8 rather than the package itself as I have not changed the core search functionality
didn't check it before, i got intrested at this package after you added hebrew website
Ok, I'll have a look and let you know if I find out what it is going ok. I have also add it to the github bugtracker https://github.com/jorgelusar/ubootstrap/issues/1
Thanks,
J
sweet thank you, this is very important to me since me and eran are going to promote it in our local umbraco community :)
Hi Eran,
Found the problem. It's a very simple one. The SearchResults (plural) item in the dictionary is formatted wrong. Try to format it I a proper way and it will work.
you are right, we need to remove the {2} from the string
Hi!
I got the same issue as Eran for the Swedish language. If I change to Swedish with the same format as the English one it dosent work either.
Your search for '{0}' matches {1} pages
Din sökning av '{0}' matchar {1} sidor
I use umbraco 4.9 and ubootstrap 1.1.0
Any suggestions?
Regards Adam
Error Loading Razor Script (file: Search) Object reference not set to an instance of an object. at ASP._Page_macroScripts_Search_cshtml.Execute() in c:\inetpub\wwwroot\iftac\macroScripts\Search.cshtml:line 20 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPage.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at umbraco.MacroEngines.RazorMacroEngine.ExecuteRazor(MacroModel macro, INode currentPage) at umbraco.MacroEngines.RazorMacroEngine.Execute(MacroModel macro, INode currentPage) 0,076895 0,000208 umbracoMacro Loading IMacroEngine script [done] 0,076920 0,000025 umbracoMacro Error loading MacroEngine script (file: Search.cshtml, Type: '' Object reference not set to an instance of an object. at umbraco.macro.renderMacro(Hashtable pageElements, Int32 pageId)
I have found the problem there is no ExamineIndex for Swedish in ubootstrap package!
is working on a reply...