Posts

Showing posts with the label error

Solr Error: Plugin init failure for [schema.xml] fieldType "x": Error loading class 'solr.xfield'

I recently integrated Solr with Sitecore 7.2 and found that the Schema.xml generated by Sitecore is only supported up to Solr 4.x.  Configuring Solr for Sitecore 8  provides the steps required to upgrade Schema.xml to work with Solr 5.x, especially the Step 3 that mentions that Solr.IntField is deprecated and must be replaced with Solr.TrieIntField. What is fails to mention is that you need to replace the other field types as well else you run into the following error for each of the field types: Could not load conf for core contentindex: Plugin init failure for [schema.xml] fieldType "plong": Error loading class 'solr.LongField'. The Fix: In Sitecore generated Schema.xml Replace     <fieldType name="pint" class="solr.IntField" />     <fieldType name="plong" class="solr.IntField" />     <fieldType name="pfloat" class="solr.FloatField" />     <fieldType name="pdou...

RESOLVED: Uncaught TypeError: Cannot read property 'parent' of null

While testing a few pages in page editor, I started running into this error: Uncaught TypeError: Cannot read property 'parent' of null This would happen when trying to add a new component while in edit mode. Since the error wasn't very descriptive and researching it online was leading me down the wrong path as this js error usually occurrs due to collision with jquery plugin ($ issue). So as a trial and error method I started removing the components one by one to see if the "Add Here" buttons would show up. I was able to trace it back to a listing component that was had a couple of Partial Views included in the markup. The culprit: Using @Html.PartialView() to rendering partial views within a view rendering. The fix: For the time being I am checking the Page Mode to load or skip the partial views.  I know this is not the best solution. Please let me know if someone has a better solution. I was looking to statically bind the renderings instead of usin...

RESOLVED: Empty strings are not allowed. Parameter name: roleName

A lot of users working with Chrome have been complaining about the below mentioned error: Exception Details: System.ArgumentException: Empty strings are not allowed. Parameter name: roleName ... Stack Trace: [ArgumentException: Empty strings are not allowed. Parameter name: roleName] Sitecore.Security.Accounts.Role.FromName(String roleName) +257 Sitecore.Shell.Applications.Security.EditUser.EditUserPage.Add_Click() +557 [TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +229 ... Here is the resolution for it: https://kb.sitecore.net/articles/826753