Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Quote:
Originally Posted by
sweetikins
Sales Report
Image Handler
Wishlist *pay to use*
Free Gifts *custom scriptz*
Private Area *custom scriptz*
I had a similar problem when I updated from 139d to 139h
An addon I was using on this site had a pre 139g version of
\includes\classes\shopping_cart.php in it that had not been updated.
I suspect one of your custom scripts uses this file and has not been updated.
As a guess check the "Free Gifts" mod first for this file
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Quote:
Originally Posted by
gilby
I had a similar problem when I updated from 139d to 139h
An addon I was using on this site had a pre 139g version of
\includes\classes\shopping_cart.php in it that had not been updated.
I suspect one of your custom scripts uses this file and has not been updated.
As a guess check the "Free Gifts" mod first for this file
Hiya, thanks for that, i checked it and reuploaded and nope it seems to be doing the same thing, i cannot figure this out i am getting overly frustrated :cry:
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Please look at the /includes/classes/shopping_cart.php file ON THE SERVER (ie: NOT on your PC)
What does line 180 say?
And lines 1243 and 1244?
Also, you said that if someone starts with an empty cart, then adds something, then clicks to checkout, and logs in, that they get this "whoops" message; and you said that at that point their cart is *not* empty, right? Can you check what happens when they then log out again? If they just log back in right away, are all the same contents in their cart just as if they'd just added that item to the cart before getting the error message?
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Quote:
Originally Posted by
DrByte
Please look at the /includes/classes/shopping_cart.php file ON THE SERVER (ie: NOT on your PC)
What does line 180 say?
And lines 1243 and 1244?
Line 180 Line 1243 Line 1244
Quote:
Also, you said that if someone starts with an empty cart, then adds something, then clicks to checkout, and logs in, that they get this "whoops" message; and you said that at that point their cart is *not* empty, right? Can you check what happens when they then log out again? If they just log back in right away, are all the same contents in their cart just as if they'd just added that item to the cart before getting the error message?
When somebody starts with an empty cart ans has NOT logged in and goes to check out, they will get a section asking to login but once logged in they get the whoops message BUT...
If you login and add items to an empty cart you can check out fine
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Ok it seems i have fixed it, the free gifts mod was supposed to been updated to 1.3.9h but in fact it wasn't so i took a fresh copy of shopping_cart and added the code for free gifts mod and walla it is fixed, i feel so stupid that i didn't think of win merge before oh my goodness.
Thank you everyone for your support it means so much to know if i do have issues i can always rely on the forum for help :D
:clap:
i will be back if i need more help thank you again :hug:
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Quote:
Originally Posted by
sweetikins
Quote:
Originally Posted by
DrByte
Please look at the /includes/classes/shopping_cart.php file ON THE SERVER (ie: NOT on your PC)
What does line 180 say?
And lines 1243 and 1244?
Line 180
Line 1243
Line 1244
You've clearly got OLD code in /includes/classes/shopping_cart.php
None of those lines you quoted are correct.
Since you said you've upgraded to v1.3.9h, you NEED the v1.3.9h version of that file ON YOUR SERVER.
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Quote:
Originally Posted by
sweetikins
Ok it seems i have fixed it, the free gifts mod was supposed to been updated to 1.3.9h but in fact it wasn't so i took a fresh copy of shopping_cart and added the code for free gifts mod and walla it is fixed, i feel so stupid that i didn't think of win merge before oh my goodness.
Thank you everyone for your support it means so much to know if i do have issues i can always rely on the forum for help :D
:clap:
i will be back if i need more help thank you again :hug:
I did end up fixing this :) you must of missed my post hehe
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Rule of thumb: If things aren't working right, get rid of the addons that are breaking them!
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Folks, I am in dire straits.
I am running v1.3.9f and installed a stock by attributes (stock_by_attributes_1-4-12.zip) by "That Software Guy".
And now I realize that I get an error on the checkout page. The moment you checkout it says "Whoops! Sorry, but you are not allowed to perform the action requested." Also, the items with no attributes chekout even though the purchase quantity exceeds stock, I mean I don't see any out of stock warning.
I know that uninstalling the module will work because it was functioning before. But I have gone ahead and installed all the products with attrbitues.
So, to summarise, the stock for products with attributes works fine but without attributes is an issue. Also, the error message on checkout.
I really appreciate any help.
Re: Whoops! Sorry, but you are not allowed to perform the action requested.
Ok so here is what I found after some more testing.
Amazingly, clearing the cache solved the checkout problem. I hope that helps anybody in a similar situation.
Here is the weird thing. the shopping cart displays all products out of stock even if one attributed product goes out of stock. But at the checkout confirmation page the out of stock message appears at the right places so it seems to work okay.
I guess this should go the stock by attributes forum. But clearing the cache solved the issue in the title of this post for me.