TechnoX
Forum Replies Created
-
Okay, I have some more information now, when I enabled the debug output.
The widget gives:
WordPress database error: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT wp_ngg_pictures.* ,wp_options.option_valueAS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_picturesLEFT OUTER JOINwp_optionsONwp_options.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.pid) LEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=wp_options.option_valueWHERE (exclude= 0) AND (galleryidIN (3)) GROUP BY wp_ngg_pictures.pid ORDER BY ABS(imagedate) ASC,imagedateASC LIMIT 500The gallery page gives:
WordPress database error: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT pid ,wp_options.option_valueAS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_picturesLEFT OUTER JOINwp_optionsONwp_options.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.pid) LEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=wp_options.option_valueWHERE (exclude= 0) AND (galleryidIN (71)) GROUP BY wp_ngg_pictures.pid ORDER BY ABS(imagedate) ASC,imagedateASCWordPress database error: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT wp_ngg_pictures.* ,wp_options.option_valueAS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_picturesLEFT OUTER JOINwp_optionsONwp_options.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.pid) LEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=wp_options.option_valueWHERE (exclude= 0) AND (galleryidIN (71)) GROUP BY wp_ngg_pictures.pid ORDER BY ABS(imagedate) ASC,imagedateASC LIMIT 20no images were found
The album page gives:
WordPress database error: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT galleryid, COUNT(*) as counter ,wp_options.option_valueAS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_picturesLEFT OUTER JOINwp_optionsONwp_options.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.pid) LEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=wp_options.option_valueWHERE (galleryidIN (27, 26, 21, 19, 25, 39, 34, 40, 56, 57, 61, 62, 70, 71, 72, 32, 73, 77, 78, 111, 112, 115, 80, 91, 92, 93, 94, 95, 97, 98, 168, 99, 101, 100, 110, 96)) GROUP BY galleryid, wp_ngg_pictures.pidNotice: Undefined property: stdClass::$imagedate in /customers/7/9/7/larslofgren.se/httpd.www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 795
[245 identical rows left out]WordPress database error: [The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay]
SELECT galleryid, COUNT(*) as counter ,wp_options.option_valueAS ‘custom_post_id’, GROUP_CONCAT(CONCAT_WS(‘@@’, meta_key, meta_value)) AS ‘extras’ FROMwp_ngg_picturesLEFT OUTER JOINwp_optionsONwp_options.option_name = CONCAT(‘wp_ngg_pictures_’, wp_ngg_pictures.pid) LEFT OUTER JOINwp_postmetaONwp_postmeta.post_id=wp_options.option_valueWHERE (galleryidIN (27, 26, 21, 19, 25, 39, 34, 40, 56, 57, 61, 62, 70, 71, 72, 32, 73, 77, 78, 111, 112, 115, 80, 91, 92, 93, 94, 95, 97, 98, 168, 99, 101, 100, 110, 96)) GROUP BY galleryid, wp_ngg_pictures.pidNotice: Undefined property: stdClass::$imagedate in /customers/7/9/7/larslofgren.se/httpd.www/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_gallery_display/class.displayed_gallery.php on line 795
[245 identical rows left out]I also contacted my webhost and asked for the MAX_JOIN_SIZE, which is 33 554 432 and cannot be changed. However I think the problem is the SQL query now, because the limit was so high.
Hi!
I’ve been using Next Gen Gallery without any problems since 2010, but yesterday when I updated to 2.0.40 I’m getting “no images were found”, both when I’m using the NextGEN Gallery Slideshow widget and also when I use shortcodes on pages, I’ve tried with the following two codes:
[ngg_images album_ids="6" display_type="photocrati-nextgen_basic_extended_album"]
[album=7,extend]The galleries from the albums are shown (with the preview thumbnail), but when I click on any of them it says “no images were found”.
The site in question is http://larslofgren.se/photo/foton-2008/
(See the widget partners to the left)