HomeHome Product Discus... Product Discus...SmithCartSmithCartApplying Coupon: Could not find stored procedure Applying Coupon: Could not find stored procedure 'l'
Previous
 
Next
New Post
3/22/2011 2:18 PM
 

Hi,

I am having real problems trying to get a coupon to work. It is a simple 10% off coupon.
 

In ProductList, I add to cart with the coupon code in the box above it. When I click View Cart, I get:
 

A critical error has occurred.
Could not find stored procedure 'I'.
 

When I add to cart without the coupon, there is no error. But with the error the entire shopping session is broken as you cannot view your cart, and the customer needs to close the browser and start a new session.
 

[UPDATE] - When you are NOT logged into your account, you can at least view the cart without the error.
 

What is stored procedure 'I'?
 

Also, is it possible to show the coupon box in the product details page? Now customers have to go back to the product list page to enter the coupon.
 

What would be best is to not have all those boxes on the product list, but a simple "Apply Coupon" box on the View Cart page that will apply the coupon.
 

Also, a special field to show the applied discount would be good in the cart summary. Now, you do not see what the discount is.
 

Thanks,
 

Steve

 
New Post
3/22/2011 10:12 PM
 
Which version of the cart are you running? There's no stored procedure named 'I', do you have a stored procedure "I" in your database?

Thanks,
Christian
 
New Post
3/23/2011 7:21 AM
 
I am using 4.24.

I do not have a stored procedure with that name. The only extra procedure I call is one that does some extra stuff on the On Checkout Complete event. But that has a Smith prefix in it.

So, something in the View Cart code is calling some stored procedure. When this happens, all I get is the DNN error box, with the productlist beneath it.

Is there some stored procedure you all are calling when a customer is logged in compared to when a customer is not logged in? Maybe the stored procedure is corrupted or something.

Steve
 
New Post
3/23/2011 12:58 PM
 

I would double-check your settings.... normally, when I see something like that, the first thing I think of is that there is an apostophy somewhere in a setting that is breaking things.

 

 

 
New Post
3/24/2011 12:58 PM
 
I do not see anything with an unsafe SQL character.

I did confirm that this ONLY happens when a user is logged in. When they are not logged in, there is no error.

I am not sure where to look next. Maybe I will see if my login still works on the www7 site and try it there.
 
New Post
4/12/2011 2:10 PM
 
I just tried to re-produce this error on my test portal and was unable to recreate the error but I may not have the exact same configuration as you. Can you login to our test site http://www7.smith-consulting.com/ and try to replicate the error. This will determine if the issue is with the latest version of the cart or an issue with your specific dnn portal/cart install.

Please send an email to support@smith-consulting.com if you need a login.

Thank, Kevin
 
New Post
4/13/2011 12:51 PM
 
Hi Kevin,

I had tried the test site and I could not produce the error. But I have no idea what could be causing this because I have hardly made any mods to the order. Can you think of any step that create an extra call to a stored procedure when a user is logged in (when the error occurs), compared when they are not logged in?

We have not had to use a coupon yet so we are OK for now. Maybe you can look at the code and see what extra procedure is called for logged in users when they click view cart.

Thanks,

Steve
 
New Post
4/13/2011 3:56 PM
 

Since you cant recreate the bug on the www7 test portal the issue must be something with your cart install possibly something with your cart install has gotten out of the sync.  To get a working cart on your site I recommend you download the latest trial version of the cart v4.26 for DNN 5 from our site and then do a clean install of the cart as follows:

1.   From the dnn->host menu uninstall all 6 modules; Smith.BuyNow, Smith.AffliateTracking, Smit.CategoryMenu, Smith.MiniCart, smith.featuredproducts and Smith.MyAccount.  Make sure you check the delete files box when you uninstall

2.   Confirm that all stored procs and tables with a prefix of smith in your database are deleted

3.   Confirm that all files in /desktopmodules/smith.buynow are deleted and the folder is removed

4.   Install the latest cart module v4.26

5.   Configure the cart settings and test


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartApplying Coupon: Could not find stored procedure Applying Coupon: Could not find stored procedure 'l'