Images are not displayed in the Manager using Gallery 2.0.0 and Modx 2.8.4. I can upload new images and they display on the front end but in the Manager the content simply reads “No files match the specified filter.”
I can’t find in the files where to make any changes to ‘rank’ if this is indeed the issue.
The error I’m getting is:
[2022-07-12 11:49:45] (ERROR in modManagerRequest::prepareResponse @ /home/website/public_html/core/model/modx/modmanagerrequest.class.php : 187) modAction support is deprecated since version 2.3.0. Support for modAction has been replaced with routing based on a namespace and action name. Please update the extra with the namespace gallery to the routing based system.
[2022-07-12 11:49:46] (ERROR @ /home/website/public_html/core/xpdo/om/xpdoobject.class.php : 241) SQL: SELECT `galItem`.`id`, `galItem`.`name`, `galItem`.`filename`, `galItem`.`description`, `galItem`.`mediatype`, `galItem`.`url`, `galItem`.`createdon`, `galItem`.`createdby`, `galItem`.`active`, `galItem`.`duration`, `galItem`.`streamer`, `galItem`.`watermark_pos`, AlbumItems.rank, Album.id AS album, (
SELECT GROUP_CONCAT(Tags.tag) FROM `modx_gallery_tags` AS Tags
WHERE Tags.item = galItem.id
) AS tags FROM `modx_gallery_items` AS `galItem` JOIN `modx_gallery_album_items` `AlbumItems` ON ( galItem.id = AlbumItems.item AND `AlbumItems`.`album` = ? ) JOIN `modx_gallery_albums` `Album` ON Album.id = AlbumItems.album LEFT JOIN `modx_gallery_tags` `Tags` ON `galItem`.`id` = `Tags`.`item` GROUP BY id, rank ORDER BY rank ASC LIMIT 20
Thanks for the quick response.
Yes, I have found the word ‘rank’ in numerous files but what should I change this to and will changes need to be made to every entry?
Do i need to add the extra backticks?
This topic was automatically closed 2 days after discussion ended and a solution was marked. New replies are no longer allowed. You can open a new topic by clicking the link icon below the original post or solution and selecting “+ New Topic”.