Got error when calling up a product

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
bcc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Thu Dec 27, 2007 11:39 pm

Got error when calling up a product

Post by bcc » Sun Aug 16, 2009 11:08 pm

When I selected the product from category page, I got error (from error log):
Exception of type 'System.Web.HttpUnhandledException' was thrown.; Object reference not set to an instance of an object.

I look at the product description, it seems ok. I assigned the product to other categories, some works and other got the same error.
Any idea?
Thanks!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Got error when calling up a product

Post by mazhar » Mon Aug 17, 2009 7:15 am

Is there any live link available for product? Also could you explain the product configurations for example its simple or kitted, contains any option variant etc? What is your application version you can found it under Help -> About AbleCommerce

bcc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Thu Dec 27, 2007 11:39 pm

Re: Got error when calling up a product

Post by bcc » Mon Aug 17, 2009 11:14 pm

We are using AC7.0.3
The product are simple and no option variant.
Please try http://www.worldwidemusicservices.com/Misc-C354.aspx then click on the product Serenade
thanks!

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Got error when calling up a product

Post by mazhar » Tue Aug 18, 2009 6:56 am

Yes there seems to be some problem on product page on your provided link. I think there is some sort of customization, may be you are using some custom created display page for some products which are throwing errors. In order to debug please turn off custom errors and turn on the debug mode for compilation. Read procedure from this thread
viewtopic.php?f=42&t=12057

bcc
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Thu Dec 27, 2007 11:39 pm

Re: Got error when calling up a product

Post by bcc » Sun Aug 23, 2009 4:08 pm

The problem seems related to AC7 cannot handle single children category at the third level.
I had category 1 -> category 2 -> category 3
When category 2 only has one child (category 3), then I got the error as mentioned.
I added a "dummy category" as child of category 2 (i.e. sibling of category 3), the problem goes away.

Post Reply