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
Posts: 8339
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
Posts: 44
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
Posts: 8339
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
Posts: 44
Thank you
Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk
Posts: 44
I have decided to run with Prestashop
Barney Douglas - calendar and fine art print sales - www.bd-shop.co.uk