Shopping cart validation error

bdfoto
bdfoto's picture

Joined: 2011-03-25
Posts: 44
Posted: Tue, 2012-06-19 01:13

Can anyone suggest what is causing this please.

Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryPermissionHelper_simple.class at line 235 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 711 (GalleryPermissionHelper_simple::fetchPermissionsForItems)
in modules/cart/ViewCart.inc at line 87 (GalleryCoreApi::fetchPermissionsForItems)
in modules/core/classes/GalleryView.class at line 293 (ViewCartView::loadTemplate)
in main.php at line 465 (GalleryView::doLoadTemplate)
in main.php at line 104
in main.php at line 88
System Information
Gallery version 2.3.2
PHP version 5.2.4-2ubuntu5.14 apache2handler
Webserver Apache
Database mysqli 5.0.51a-3ubuntu5.5
Toolkits Thumbnail, Gd
Operating system Linux 109-104-79-220 2.6.18-028stab093.2 #1 SMP Tue Aug 23 16:27:58 MSD 2011 x86_64
Browser Mozilla/5.0 (Windows NT 6.1) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.56 Safari/536.5

Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-06-19 01:46

Which cart?

its failing at fetchPermissionsForItems - so check item permissions

and as always clearing caches cannot hurt (should do it regularly)

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bdfoto
bdfoto's picture

Joined: 2011-03-25
Posts: 44
Posted: Tue, 2012-06-19 05:59

Hi

g2-module-cart-1.0.12.zip (which I have reinstalled but makes no difference)

Cache cleared, makes no difference.

Happens from both the thumbnail text link and from the large image cart icon.

New version of site under test - http://www.bd-shop.co.uk/G2/main.php?g2_itemId=29 prior to installing credit card handler

I have edited module.inc to remove the word "photo" as I only want the words "Add to cart". I have tried it with the original version and it does the same thing.

I often run into permissions problems, but I recently checked and thought I had corrected all the permissions across the entire site. 777 on all these at present.

Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2012-06-19 12:18

I find the Checkout module to be more robust. And have not tried the cart module.

The Gallery is not looking at filesystem permissions, but permissions set from the item(s) itself.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
bdfoto
bdfoto's picture

Joined: 2011-03-25
Posts: 44
Posted: Thu, 2012-06-21 12:50
suprsidr wrote:
I find the Checkout module to be more robust. And have not tried the cart module.

The Gallery is not looking at filesystem permissions, but permissions set from the item(s) itself.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

Thank you

Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk

 
bdfoto
bdfoto's picture

Joined: 2011-03-25
Posts: 44
Posted: Sat, 2012-06-23 08:24

I have decided to run with Prestashop

Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk