HomeHome Product Discus... Product Discus...SmithCartSmithCartImage issueImage issue
Previous
 
Next
New Post
2/8/2011 8:04 AM
 

We are running smith cart 4.0 on dnn 05.06.00 (459) any time I add a product with more than one photo, you cannot view it in the product details page. I get this error.

A critical error has occurred.
Object reference not set to an instance of an object.


Here is what is in my event viewer note that there are four errors so I'm posting them all
----------------------------------------------------------------------------------------------------------------------------
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: Buzz's Marine
UserID: 1
UserName: hostadmin
ActiveTabID: 85
ActiveTabName: Product Details
RawURL: /Storefront/ProductDetails/tabid/85/ProductID/21/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://buzzsmarine.com/Storefront.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; .NET CLR 3.5.21022; .NET4.0E; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1; .NET4.0C; InfoPath.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 46a23138-afc6-4f2f-84c3-befccbb6d267
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: Smith.DNN.Modules.ProductDetail.ProductDetails.BindDetails
StackTrace:
Message: System.NullReferenceException: Object reference not set to an instance of an object. at Smith.DNN.Modules.ProductDetail.ProductDetails.BindDetails(ProductsInfo pinfo) at Smith.DNN.Modules.ProductDetail.ProductDetails.Page_Init(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.UserControl.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Modules.ModuleHost.InjectModuleContent(Control content) at DotNetNuke.UI.Modules.ModuleHost.LoadUpdatePanel() at DotNetNuke.UI.Modules.ModuleHost.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at DotNetNuke.UI.Modules.ModuleHost.get_ModuleControl() at DotNetNuke.UI.Containers.Container.get_ModuleControl() at DotNetNuke.UI.Containers.Container.ProcessModule() at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo objModule)
Source:
Server Name:
MYSERVER
----------------------------------------------------------------------------------------------------------------------------------------
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: Buzz's Marine
UserID: 1
UserName: hostadmin
ActiveTabID: 85
ActiveTabName: Product Details
RawURL: /Storefront/ProductDetails/tabid/85/ProductID/21/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://buzzsmarine.com/Storefront.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; .NET CLR 3.5.21022; .NET4.0E; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1; .NET4.0C; InfoPath.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: abbfd607-5643-4bbf-b3d6-9d4e30c6e07f
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
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 DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name:
MYSERVER
----------------------------------------------------------------------------------------------------------------------------
ModuleId: -1
ModuleDefId: -1
FriendlyName:
ModuleControlSource:
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: Buzz's Marine
UserID: 1
UserName: hostadmin
ActiveTabID: 85
ActiveTabName: Product Details
RawURL: /Storefront/ProductDetails/tabid/85/ProductID/21/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://buzzsmarine.com/Storefront.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; .NET CLR 3.5.21022; .NET4.0E; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1; .NET4.0C; InfoPath.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 30f824cc-1aa1-41e5-b352-5bbed3bbfed4
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionBase.get_ActionRoot
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 DotNetNuke.UI.Containers.ActionBase.get_ActionRoot() at DotNetNuke.UI.Containers.ActionBase.Page_Load(Object sender, EventArgs e) --- End of inner exception stack trace ---
Source:
Server Name:
MYSERVER
----------------------------------------------------------------------------------------------------------------------------
AssemblyVersion: 5.6.0
PortalID: 0
PortalName: Buzz's Marine
UserID: 1
UserName: hostadmin
ActiveTabID: 85
ActiveTabName: Product Details
RawURL: /Storefront/ProductDetails/tabid/85/ProductID/21/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://buzzsmarine.com/Storefront.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET CLR 3.0.30618; .NET CLR 3.5.21022; .NET4.0E; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; SLCC1; .NET4.0C; InfoPath.3)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 0596da8b-3567-48ff-ae69-297d3e9f31de
InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions
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 DotNetNuke.UI.Containers.ActionButtonList.get_ModuleActions() at DotNetNuke.UI.Containers.ActionButtonList.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: MYSERVER
 
New Post
2/8/2011 4:30 PM
 

I'm not able to replicate this on our test site, so it might be something in your database or settings, can you try and replicate this on the www7 test site? If you need a login, please send an email to christian@smith-consulting.com

Thanks!

Christian

 
New Post
2/9/2011 12:30 PM
 

Replicated it on your www7 site. I figured out in the product detail module that when you

Enable Image Gallery with Zoom Effect

That's what causes the problem.

 
New Post
2/9/2011 3:12 PM
 

Have you installed the zoom package? I had this issue before I realized I needed to install the lightbox package to get the lightbox effect.

Here are the instructions to setup the Zoom javascript and css support files:

  1. Extract zoom-files.zip to a new folder on your PC or Server.

  2. Copy the jqzoom.css to your \CSS folder off the root of your server DNN install.

  3. Copy the \JS files extracted to your \JS folder off the root of your server DNN install.

  4. Copy the zoomloader.gif in the \Images folder extracted to your \Images folder off the root of your server DNN install.

  5. Open up the productdetails.ascx page located in the \desktopmodules\smith-productdetails folder and uncomment the zoom script section at the top of the page.

Christian

 
New Post
2/9/2011 3:22 PM
 

I was un aware you had to manually install the zoom files. I knew you did for lightbox. Thanks,

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartImage issueImage issue