If I have more than 20 items in the cart when I check
out with email I get the following error:
Warning: array_keys(): The first argument should be an
array in
/home/.eros/pnwimage/www.weddings.pnwimages.com/gallery/modules/checkoutemail/Email.inc
on line 95
Security Violation
The action you attempted is not permitted.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER)
in
modules/core/classes/helpers/GalleryDerivativeHelper_medium.class
at line 48 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line
1013
(galleryderivativehelper_medium::fetchthumbnailsbyitemids)
in modules/checkoutemail/Email.inc at line 95
(gallerycoreapi::fetchthumbnailsbyitemids)
in main.php at line 199 (emailcontroller::handlerequest)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1
PHP version 4.4.2 cgi
Webserver Apache/1.3.33 (Unix) mod_throttle/3.1.2
DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a
PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e
Database mysql 5.0.18-standard-log
Toolkits ImageMagick, SquareThumb, NetPBM, Gd
Operating system Linux olive
2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189
#1 SMP Mon Feb 7 13:23:30 PST 2005 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT
5.1; SV1; .NET CLR 1.1.4322)
My email address is akraymond3@yahoo.com
Logged In: NO
Apparently this is a G2 bug rather than a Checkout bug. The solution is to go into the g2_sessionmap table in the G2 database and change the g2_data field type from TEXT to MEDIUMTEXT or even LONGTEXT.