|
|
|
|
Joined: 6/12/2011
Posts: 54
|
|
|
I have upgraded to Smith Cart 5.5.7 and have DNN 7.0.4.
If you click on the Product Image which would normally present the product details I get the following error
Error: is currently unavailable. 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 ---
Any ideas what can be done?
|
|
|
|
| |
|
|
|
|
Joined: 3/11/2010
Posts: 1979
|
|
|
What version of the cart and dnn did you upgrade from? If you are getting this error on a live site I recommend you roll back so your live site is not down.
Scott Kelly
Project Manager
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Robert,
Try taking the following steps to resolve this issue:
1. From the store admin menu, click on the page template button to go into the page template editor and delete all your page templates.
2. In file explorer, navigate to your \portals\[portalid]\smithcart\tenplates folder
3. Delete all the files in the \portals\[portalid]\smithcart\templates folder
4. Reset iis and restart the application from the dnn host menu
5. Go to product listing page and see if your products are displayed.
|
|
|
|
| |
|
|
|
|
Joined: 6/12/2011
Posts: 54
|
|
|
Rolled forward from Smith Cart 5.2.2 and DNN 7.0.1
I will try deleting the templates and see how that goes.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Thanks Robert, please let us know if deleting the Templates resolves the issue for you.
|
|
|
|
| |
|
|
|
|
Joined: 6/12/2011
Posts: 54
|
|
|
Hi Kevin, Deleting the templates did not work and I still get an error when clicking on a product and being taken to the Product Details page.
Screenshot attached.
I have also noticed when I upgraded from 5.5.2 to 5.5.4 and then to 5.5.7 there is a need to:
- Re save each Mini Cart module so it shows the colour and settings it is set to
- On Shop Buy Now settings I had to Remove single page checkout and Uncheck hide price, hide shipping, hide handling, hide subtotal
- Change thumbnail size to what I had previously
- Add a Payment method as none were there
|
|
| | Login to download attachment |
|
|
|
| |
|
|
|
|
Joined: 6/1/2010
Posts: 179
|
|
|
Hi, we get this exact same error. If I can figure something out I will post it. I just upgraded to the latest version from the previous version (no skipping of versions here), on DNN7.
Error: is currently unavailable. 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 ---
|
|
|
|
| |
|
|
|
|
Joined: 6/1/2010
Posts: 179
|
|
|
Hi, maybe this info from the log viewer helps...
ActiveTabID: 91
ActiveTabName: Product Details
RawURL: /Shop/ProductDetails/tabid/91/ProductID/15/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID: fcbaf5b1-90fd-485c-8b74-12e7c881b9be
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 -
|
|
|
|
| |
|
|
|
|
Joined: 6/1/2010
Posts: 179
|
|
|
OK. I made some progress, with still a small problem, but the error seems to be gone. I missed the step above to manually delete the files. I did that and the error disappeared. I had just deleted it via the template editor.
So the system then installed the default templates. I restored my multicolum template for the main site.
The only issue now is that there is no product image in the ProductDetails page. I do not use the lightbox or anything else. Just the image with no popup views. But at least customers can add to the cart via the ProductDetails page.
So maybe this narrows down the issue?
|
|
|
|
| |
|
|
|
|
Joined: 6/1/2010
Posts: 179
|
|
|
More info. I got the images back. I had to go into the ProductDetails settings page, and change it from No Image Gallery or Effects.
It was this ->No Image Gallery or Effects
Image Gallery with Zoom Effect
I changed it to this -> Image Gallery with Lightbox Effect
Image Gallery with Lightbox and Zoom Effect
The image used to show, but it stopped for some reason. If I just set it to the Zoom Effect, I got a crosshair. So setting it to the Lightbox Effect made it a normal cursor.
We do not have any images in our product pages, so I really did not need a gallery.
So it appears we are back up and running.
Update: I installed the Zoom files from the downloads area, and the cursor is now correct on the main product image. So it appears you need the CSS for that.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Steve Halpern wrote:
More info. I got the images back. I had to go into the ProductDetails settings page, and change it from No Image Gallery or Effects.
It was this ->No Image Gallery or Effects
Image Gallery with Zoom Effect
I changed it to this -> Image Gallery with Lightbox Effect
Image Gallery with Lightbox and Zoom Effect
The image used to show, but it stopped for some reason. If I just set it to the Zoom Effect, I got a crosshair. So setting it to the Lightbox Effect made it a normal cursor.
We do not have any images in our product pages, so I really did not need a gallery.
So it appears we are back up and running.
Update: I installed the Zoom files from the downloads area, and the cursor is now correct on the main product image. So it appears you need the CSS for that.
Glad to hear your back up and running!
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Robert Jesshope wrote:
Hi Kevin, Deleting the templates did not work and I still get an error when clicking on a product and being taken to the Product Details page.
Screenshot attached.
I have also noticed when I upgraded from 5.5.2 to 5.5.4 and then to 5.5.7 there is a need to:
- Re save each Mini Cart module so it shows the colour and settings it is set to
- On Shop Buy Now settings I had to Remove single page checkout and Uncheck hide price, hide shipping, hide handling, hide subtotal
- Change thumbnail size to what I had previously
- Add a Payment method as none were there
Robert,
Can you confirm if you manually deleted the templates via file explorer or via the Cart's Admin Menu?
|
|
|
|
| |
|
|
|
|
Joined: 6/12/2011
Posts: 54
|
|
|
Hi Kevin,
I checked Page Templates in the Admin menu and ther were none there and then went to file explorer, and deleted the files at \portals\[portalid]\smithcart\tenplates folder.
I will confirm on Monday that we did it on the staging site and not the live site.
Have also noticed the image selection but it was set to Ni Image Gallery Effects.
Regards
Robert
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Thanks Robert, please post back with an update.
|
|
|
|
| |
|
|
|
|
Joined: 6/12/2011
Posts: 54
|
|
|
That has worked and I will now roll the live site forward.
Thanks
|
|
|
|