|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
I'm running SmithCart 5 on DNN 6.2.2.
I was working on my site and I wanted to place a category module on the home page. I went to modules - add existing module - Store - Store. I placed it and saw it was not the Categories module and deleted it. Now I have no store, no categories, no cart on any page. Plus it has affected other modules (not yours) like Easy DNN News and Rotator. This is the error I'm getting on two pages:
A critical error has occurred. There is no row at position 0.
I shouldn't have been able to delete my store if I wasn't on the store page, deleting the BuyNow module. Please help. What do I need to do to resore my store and other modules?
Thank you,Eric
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
Turns out my MiniCart module is corrupt. When I deleted it, the pages came back. When I put a new one on the page, it corrupted the entire page again. Is there a fix for the MiniCart module?
As a troubleshoot, I installed 5.1.7 and it made all my products disappear. I could go to them directly if I new the link, but they did not display on the Store page. I again tried to place a MiniCart module on the page and it corrupted the page like with SmithCart 5. I have instructed my host to restore my site; and I will await a fix for 5.1.7 beta so it doesn't make products disappear. I am also waiting for a fix to my MiniCart that was working fine, but no longer works after the above issue.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hello,
After adding the MiniCart to the Page, did you configure the BuyNow Page Name and Button Theme in the Smith MiniCart module settings?
Thanks
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
Yes, I'm a designer who has used Smith Cart for a couple of years on a half a dozen e-commerce sites. In fact once you place the module the site is still fine; it's only after doing what you say that the page gets corrupt. My host is restoring the site as we speak, but unfortunately that will not solve my initial issue, only the 5.1.7 issue.
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
The site has been restored and when I add MiniCart to any page everything disappears and all that is left is:
A critical error has occurred. There is no row at position 0.
MiniCart use to work, but it no longer works and your upgrade 5.1.7 did not fix it either. I am back to v5.0 Please come up with a solution for my MiniCart module.
Thank you, Eric
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Eric,
Are there any errors being logged to your DNN Event Viewer?
Try doing the following to see if it fixes the issue on your site:
- From the store admin menu, click on the page template button to go into the page template editor and delete all your page templates.
- In file explorer, navigate to your \portals\[portalid]\smithcart\tenplates folder
- Delete all the files in the \portals\[portalid]\smithcart\templates folder
- Reset iis and restart the application from the dnn host menu
- Go to product listing page and see if your products are displayed.
Thanks
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
I did everything but the "reset iis" I don't know how to do that. The mini cart still destroys the page. Also, with a recent order today I noticed the sale price is no longer on the product detail page and as a result charged my customer too much.
This is the Event Viewer error:
ExceptionGUID: a0f0c8b3-c0b9-4887-81fa-48360684429e
InnerException: There is no row at position 0.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.RBTree`1.GetNodeByIndex
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: There is no row at position 0. ---> System.IndexOutOfRangeException: There is no row at position 0. at System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) at System.Data.RBTree`1.get_Item(Int32 index) at System.Data.DataRowCollection.get_Item(Int32 index) at Smith.DNN.Modules.MiniCart.MiniCart.GetEUVATSettings() at Smith.DNN.Modules.MiniCart.MiniCart.Page_Load(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.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.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Eric,
The error you posted above seems to reference EU VAT Settings. Could you please post a screenshot of your Cart Settings? I believe this may have something to do with your specific configuration.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
This site has been live for almost 2 years. It worked fine until the issue which inspired this report. No MiniCart and no sale prices on Product View pages going forward through the checkout process. What settings are you wanting a screenshot of? General Cart Set-up?
Please go back and read my report on what happened. The reason I placed Store from the Add Existing Module, is because my Categories menu is named Store on every other page but the Store page, where it's named Categories. But that is not what I place on the Home page, I placed the Store. I saw the two icons of the red toolbox and settings icons; realized it wasn't the categories menu and deleted it. This action fried the MiniCart and my Sales pricing.
This is not about a check box in a settings menu. This is something serious.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Eric,
In order to help troubleshoot this issue please provide the following:
- A screen shot of your BuyNow settings; General, Shipping and Tax sections
- Screenshots of the setup screen of the Products in question you are calculating tax on
- A screen shot of the Cart page after you have calculated tax showing the tax applied
With the information you have provided so far I have not been able to replicate an issue with adding the MiniCart causing the store content disappear or an issue with adding an additional BuyNow module then deleting it causing any issue.
I recommend performing a full backup of your site, downloading the latest version of the Cart v.5.18 then upgrading your store. After upgrading your store take the following steps to if it fixes the issue on your site:
- From the store admin menu, click on the page template button to go into the page template editor and delete all your page templates.
- In file explorer, navigate to your \portals\[portalid]\smithcart\tenplates folder
- Delete all the files in the \portals\[portalid]\smithcart\templates folder
- Reset iis and restart the application from the dnn host menu
- Go to product listing page and see if your products are displayed.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
We have tried both of those. I need a real solution, for this critical issue. Please read through the entire thread again and provide me a real solution. If this is beyond your understanding, then please take it up the ladder. We've been going back and forth for a week on this and I need this permanently resolved by this weekend at the very latest.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Eric,
Below is the situation you outlined. Please correct me if I have missed any steps. If you would like our techs to login directly to your site and troubleshoot the issues you are expieriencing we are available please purchase a support package from the following link: https://www.smith-consulting.com/pd/P...
- By mistake the BuyNow module was added to the Home page of your site because your the Module Title of the Smith Categories module is "Store" on every other page but the Store page, where it's named "Categories".
- The BuyNow module was deleted from your Home page caused your store, categories, and cart not to be displayed on any page.
- The MiniCart module was then deleted from the page and all the pages began displaying again.
- 5.1.7 was unstalled as a troubleshoot and it made all the products disappear.
- The site was restored and when the MiniCart is added to any page everything disappears and all that is left is: A critical error has occurred. There is no row at position 0.
- You noticed the sale price is no longer on the product detail page and is not applying the Sale Price when checking out.
The above scenario is not typical behavior of the Cart as we have had no other reports of such an issue and I have not been able to replicate the issue on our test portal with the information you have provided so far. I would like to have you login to 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 send an email with a link to this post to kevin@smith-consulting.com and I will send you login credentials.
Thanks,
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
|
|
Everything somehow has been fixed. I can put the MiniCart on any page without issue. Sale pricing is now on Detail pages through the checkout process. i have instructed my host to backup the site and upgrade my DNN from 6.2.2 to 6.2.4. When complete, I will install your 5.1.8 upgrade.
|
|
|
|
| |
|
|
|
Joined: 1/1/0001
Posts: 0
|
|
|
Hi Eric,
That's great news but also very strange behavior. You may have been experiencing a caching issue with iis since it had not been restarted after attempting the fixes above. It's always a good idea to restart iis whenever making any major changes to your site.
Please let us know if there is anything else that we can assist you with.
Thanks,
Kevin
|
|
|
|
| |
|
|
|
|
Joined: 3/6/2012
Posts: 62
|
| |