Forums / Upgrading from 1.3.x to 1.3.9 / Whoops! Sorry, but you are not allowed to perform the action requested.

Whoops! Sorry, but you are not allowed to perform the action requested.

Locked

Views: 18,521

Results 1 to 20 of 44
This thread is locked. New replies are disabled.
17 Nov 2010, 8:36 AM
#1
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Whoops! Sorry, but you are not allowed to perform the action requested.

Hello, I just upgraded my store from 1.9.3d to 1.9.3h. When some customers or myself try to check out, we get this error:

Whoops! Sorry, but you are not allowed to perform the action requested.
You are still logged in to your account and may continue shopping. Please choose a destination from a menu.

Now the mods i do have installed have been upgraded to match the new zen version and nothing is conflicting (that i can see for myself), I am not getting any errors or debug files in my cache folder.

If the add product before logging in and try to check out they get the above error BUT if they log in then add the products to cart they can check out just fine.

I tried re-uploading the shopping_cart.php file and that doesn't work, i am at a loss and cannot seem to get around it :( Any help is appreciated

17 Nov 2010, 8:42 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

Try reviewing the similar threads listed at the bottom of this posting

Zen-Venom Get Bitten

17 Nov 2010, 8:43 AM
#3
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

yes i have made sure i read everything before i posted, but nothing i can find helps me with the problem :(

17 Nov 2010, 10:42 AM
#4
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

i am really struggling with this right now i have tried everything i am in tears here trying to work it out should i go back to 1.3.9d? i never issues then

17 Nov 2010, 10:51 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

  • Does this store have a URL?
  • You said you upgraded from 1.3.9d to 1.3.9h. Did you go from d-to-e, then e-to-f, then f-to-g, then g-to-h? Or did you just jump directly, skipping all the changes in in-between versions?
  • Have you emptied your browser cache and cookies?
  • What PHP version?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 10:55 AM
#6
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

Hello here is my replies.

URL: http://www.twilightscraps.com/

Upgrading: Yes i update step by step for each one d to e e to f f to g g to h. I have been working with Zen for a couple of years now and can pretty much fix anything i encounter but this has me stumped. i would NEVER skip and update always done step by step

Have you emptied your browser cache and cookies: Yes, it is not just happening to me it is happing to 95% of customers also

What PHP version: 5.2.14 (Zend: 2.2.0)

17 Nov 2010, 11:06 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

Seems like you might be missing updates to one or more of these files. I recommend verifying that they're all updated to the v139h version, by re-uploading the v139h version of each:

  • /includes/classes/shopping_cart.php
  • /includes/modules/pages/checkout_confirmation/header_php.php
  • /includes/modules/pages/checkout_payment/header_php.php
  • /includes/modules/pages/checkout_shipping/header_php.php
  • /includes/modules/pages/shopping_cart/header_php.php
  • /ipn_main_handler.php

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 11:10 AM
#8
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

ok i just reloaded those few files and it is still giving me the same message :no:

17 Nov 2010, 11:14 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

All I know about your problem is that "If the add product before logging in and try to check out they get the above error". I can't make anything like that happen, as far as I understand the words you typed.

What exactly does "try to check out" look like? Walk me through the exact steps, starting from logged-out status, with an empty cart, after first clearing browser cache/cookies, and shutting down all browser windows, and restarting the browser (just to be sure).

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 11:19 AM
#10
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

Ok cookies cleared as well as cache and browsers reloaded, Here is what is happening to me and customers.

When i go to the store and add products to the cart and click on checkout it asks me to log in, once i have done that i get a time_out.php page with the error message.

to be successful at checkout i need to do the following (once logged in):

empty the cart completely, reload the products then hit checkout.

so if i add products before logging in it will not allow anyone to check out unless they do the steps above, maybe 8 times out of 10 the customer is recieving the error.

17 Nov 2010, 11:28 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

sweetikins:

When i go to the store and add products to the cart and click on checkout it asks me to log in, once i have done that i get a time_out.php page with the error message.
After that happens, what's in their cart at that stage?
Do you know whether the same issue occurs if someone had something in their cart from a previous shopping session, but had logged out and never completed checkout with the items in their cart? Does it display the shopping_cart page again with a note that their cart contents have been merged? Or does the "whoops" message display before that can happen?

sweetikins:

i get a time_out.php page
Zen Cart doesn't use "time_out.php" unless perhaps you're using some addon that rewrites URLs. Do you have such an addon installed?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 11:33 AM
#12
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

After that happens, what's in their cart at that stage?
Do you know whether the same issue occurs if someone had something in their cart from a previous shopping session, but had logged out and never completed checkout with the items in their cart? Does it display the shopping_cart page again with a note that their cart contents have been merged? Or does the "whoops" message display before that can happen?

The cart still has the items in it after that. As far as i am aware people who have had previous carts have them merged into it but to checkout we get the "whoops" message when we click the checkout button, but the ones that use paypal express can checkout just fine, for now.

Zen Cart doesn't use "time_out.php" unless perhaps you're using some addon that rewrites URLs. Do you have such an addon installed?

I am not sure what kind of module would give me that error, i havent added anything to rewrite urls:no:

17 Nov 2010, 11:38 AM
#13
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

sweetikins:

As far as i am aware people who have had previous carts have them merged into it but to checkout we get the "whoops" message when we click the checkout button
I was kinda hoping you'd test it out ...

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 11:41 AM
#14
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

DrByte:

I was kinda hoping you'd test it out ...

oops sorry, ok i tested it for myself and it gives you the merged message but when i checkout it takes me that annoying message and this link

http://www.twilightscraps.com/index.php?main_page=time_out

17 Nov 2010, 12:01 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

There are only two conditions that would trigger that:

a) the cart is actually empty (which would only happen if you had altered code to empty customer carts at login)

b) the files I mentioned earlier aren't properly up-to-date and thus the cart contents aren't able to be validated between clicks

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 9:36 PM
#16
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

DrByte:

There are only two conditions that would trigger that:

a) the cart is actually empty (which would only happen if you had altered code to empty customer carts at login)

b) the files I mentioned earlier aren't properly up-to-date and thus the cart contents aren't able to be validated between clicks

a) i haven't altered the code to do that, as i wouldn't know how to

b) i have re-uped all the files you suggested with still no luck, so im not sure it can be that

:no:

17 Nov 2010, 9:41 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

You said all your addons are "latest". But which addons are they?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Nov 2010, 9:42 PM
#18
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

sweetikins:

a) i haven't altered the code to do that, as i wouldn't know how to

b) i have re-uped all the files you suggested with still no luck, so im not sure it can be that

:no:

Are you sure that you have uploaded the "admin" section to your "renamed admin" section.
You may have uploaded it to "admin" but you might still be using your "renamed admin" (139d)

Do you have 2 admin directories?
"admin" and "your renamed admin"

17 Nov 2010, 9:44 PM
#19
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

DrByte:

You said all your addons are "latest". But which addons are they?

Sales Report
Image Handler
Wishlist pay to use
Free Gifts custom scriptz
Private Area custom scriptz

17 Nov 2010, 9:45 PM
#20
sweetikins avatar

sweetikins

New Zenner

Join Date:
Feb 2009
Location:
Melbourne, Australia
Posts:
85
Plugin Contributions:
0

Re: Whoops! Sorry, but you are not allowed to perform the action requested.

gilby:

Are you sure that you have uploaded the "admin" section to your "renamed admin" section.
You may have uploaded it to "admin" but you might still be using your "renamed admin" (139d)

Do you have 2 admin directories?
"admin" and "your renamed admin"

Yes i am sure :) i only have the 1 renamed admin directory, nothing else