HomeHome Product Discus... Product Discus...SmithCartSmithCartSearch does not work - "Critical Error"Search does not work - "Critical Error"
Previous
 
Next
New Post
8/12/2010 12:04 AM
 

I just upgraded to v3.02. When I perform a search on the store it gives me a "Critical Error". I also tried a search on your test portal and it also does not work. Here is the error that occurs in the event viewer:

AssemblyVersion: 5.4.4
PortalID: 14
PortalName: FireFly Trading Co.
UserID: 1
UserName:

ActiveTabID: 451
ActiveTabName: Store
RawURL: /Store.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://www.fireflytc.com/Store.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 67ca916f-871d-4ed5-baeb-ef9b0ae79076
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.BuyNow.ProductsList.btnSearch_Click
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object.at Smith.DNN.Modules.BuyNow.ProductsList.btnSearch_Click(Object sender, EventArgs e)at System.Web.UI.WebControls.Button.OnClick(EventArgs e)at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Name: VISION

 
New Post
8/12/2010 12:26 AM
 

In the cart admin settings in the Product Listing Page section there are the following new settings:

  • Hide Search and Sort bar
  • Show Search Bar
  • Show Sort Bar

In order for the search to work "Show Search Bar" needs to be selected. On the www9 test site I selected that option and saved and the search is now working.

Dave



At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/12/2010 12:35 AM
 

OK good. I set it and then it works fine. So I take it there isn't currently an option to allow both searching and sorting? It would be very nice to have both available at the same time.

 
New Post
8/12/2010 12:39 AM
Accepted Answer 

Currently there is not the option for both we didnt think there was enough real estate to show sort, search and the record selector at the top of the page.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/13/2010 11:56 AM
 

Hi Dave,

I got that critical error, too. When I went to the product listing page, the radio button for Hide Search and Sort was marked. I clicked Update since that is what I wanted. The search boxes were still there. I tried to change it to Show Search but the page will not update. I click update, then clear cache, restart DNN, clear cookies and history on the local browser and I when I go back, the Hide Search and Sort was marked.

Regards,

Art

 
New Post
8/13/2010 12:10 PM
 

Yes we fill fix this so in the server code behind on the product listing page if the setting does not exist we default it to the search bar or no search and sort bar so it doesnt give a critical error.

Dave


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSearch does not work - "Critical Error"Search does not work - "Critical Error"