HomeHome Product Discus... Product Discus...SmithCartSmithCartSmith Search moduleSmith Search module
Previous
 
Next
New Post
1/17/2013 12:42 PM
 
Hello, 

I have purchased and installed the smith search module on my Smith Cart version 5.30 installation. After upgrading to 5.30, I was having a licensing issue, but I worked with Kelli, and the search module license seems to now be active.

However, searching via the search module is not working for some reason. My website uses multiple instances of the buy.now module, so I have each product checked "share between catalouges". I double checked on 10 or so products, and they all have this field checked. I checked the module itself to make sure it was tied in correctly with a buy.now module, and that it's settings were correct. 

Whenever I attempt to search, I am forwarded to the specified buy.now page, meaning that the search has returned a result (if there were no results, I would simply get a message and not be re-directed). However, no search results are displayed. When I try to search a few more time, I am hit by my browser with the following message:

This webpage has a redirect loop
The webpage at https://www.yandasmusic.com/search/def/errormessage has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.
Here are some suggestions:
Reload this webpage later.
Learn more about this problem.
Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.

Long story short, search acts like it should be working, but it returns no results on page. The re-direct error leads me to believe that this may be an issue with iFininity URL master possibly redirected the page that the search module is trying to open? Not quite sure. Thanks for looking into this.

I currently have the search module hidden on all pages but the following page:
www.yandasmusic.com/search
You can go there if you would like to see the bug in action. Thanks.

Alex

 
New Post
1/18/2013 8:36 AM
 
I've been sifting through the DNN Log Viewer for messages pertaining to this problem. I found the following.

Module Load Exception:
RawURL: /search/def/errormessage
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: ebf84837-0828-43df-9070-a4d19efd9d8e
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.ProductDetail.ProductMain.BindDetails
StackTrace:
Message: DotNetNuke.Services.Exceptions.ModuleLoadException: 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.ProductDetail.ProductMain.BindDetails() at Smith.DNN.Modules.ProductDetail.ProductMain.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:


Page Load Exception:
RawURL: /search
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.52 Safari/537.17
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 548a6c52-13b7-4a96-90c0-13c886894fc9
InnerException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Web.UI.ControlCollection.Add
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). ---> System.Web.HttpException: The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>). at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) --- End of inner exception stack trace ---

Hope this extra info helps.
Alex
 
New Post
2/1/2013 9:54 AM
 
Update!

I spent about 3 hours doing more tests, and trying different settings.

I found that the culprit for all the errors resides in the number of "Product Columns" on the associated search module buy.now page.

I had the buy.now module associated with the search module displaying 3 columns. In this state, the search module fails, and returns the errors above.

I changed that buy.now module's setting to product columns = 1. After doing this, the search is now functioning normally.


I tried deleting my custom "Multi Column" template, and then re-adding the default "Multi-Column" template in the templates menu. This had no effect. Could possibly be a bug in the software - just an FYI.

Alex
 
New Post
2/13/2013 12:22 AM
 
Hi Alex,

Can you please post a screenshot of your Search module settings?

Thanks!
 
New Post
2/13/2013 6:55 AM
 
Sure Kevin, here ya go.

When you have a moment, could you please take a look at another thread I have running?
http://www.smith-consulting.com/Forums/forumid/1/threadid/14889/scope/posts.aspx

Much abliged.
Alex


 
New Post
2/14/2013 9:29 PM
 
Hi Alex,

I haven't been able to replicate this issue on our test portal. I would like to have you login to one of our public test portals and configure the cart the way you have your's configured and try to replicate the issue. This will determine if the issue you are reporting is with the latest version of the cart or an issue with your specific DNN portal/cart install.

Please submit a Help Desk ticket with a link to this post at the following link and I will provide you with credentials to login: http://www.smith-consulting.com/Suppo...

Thanks
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSmith Search moduleSmith Search module