Skip to Content Skip to Menu

Photo Gallery paging not working correctly version 3.0.1

  • boyjahq
  • boyjahq
  • ONLINE
  • Posts: 479
  • Thanks: 33
  • Karma: 3
2 days 19 hours ago #342415 by boyjahq
We have a page that shows photos from a specific gallery (which contains thousands of photos). Previously we enabled paging, set limit to 20 and it worked perfectly. Clicking the link to the page showed 20 photos, with page numbers at the bottom, allowing the user to go to the next page of 20 photos until they reached the end.
 

After update, if we enable paging and set limit to 20 the link does open a page of 20 photos from the gallery, but instead of page number links at the bottom there is a "More" button,
 

which when clicked adds only 13 more photos all of which are in a single column, and they are simply a repeat of the last 13 photos in the first set that was shown. There is no "More" button at the end of this new, single column set of repeat photos.
 

Changing the "Limit" number under Paging still give similar results after the "More" button is clicked: a single column of some number of photos that are repeats from the first page.

Setting the "Limit" number to zero or leaving it blank loads several thousand photos (seems like maybe it is actually loading all photos from the specified gallery, which would seem to indicate that it has access to all photos in the gallery)

Gallery plugin 3.0.1
Joomla 4.4.14
PHP 8.3.23
MySQL 8.4.3-3

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49757
  • Thanks: 8507
  • Karma: 1465
2 days 6 hours ago #342420 by krileon
Strange, paging is working perfectly fine in all my tests. Within the _comprofiler_plugin_gallery_items database table does all your media properly have a "page" column value? As for them being in a single column I'm not sure how that could happen beyond a CSS conflict. Do you have a custom template for CB Gallery? If so please switch it back to default.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49757
  • Thanks: 8507
  • Karma: 1465
2 days 4 hours ago #342423 by krileon
Ok, was able to duplicate your issue by causing the next page to be invalid and it'd output the entire gallery again. Am working on a fix for that, but my guess is your paging isn't working right due to maybe the paging values didn't migrate properly.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49757
  • Thanks: 8507
  • Karma: 1465
2 days 4 hours ago #342425 by krileon
A new build release of CB Gallery is now available that prevents outputting a More button if the next page is invalid. Should prevent this issue from happening, but doesn't solve the issue of media missing pages, which should've been migrated fine.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • boyjahq
  • boyjahq
  • ONLINE
  • Posts: 479
  • Thanks: 33
  • Karma: 3
19 hours 5 minutes ago - 17 hours 31 minutes ago #342437 by boyjahq
Looking for irregularities that might explain the errors we are getting. I notice that the params setting in comprofiler_plugin_gallery_items seems to have 3 types of entries:
 
(It won't let me type the left and right square bracket--is disappears from this post when I submit)
or
NULL
or something like:
{"name":"1762306899082.jpg","extension":"jpg","mimetype":"image\/jpeg","modified":1762308148,"filesize":110304,"height":640,"width":640,"name_thumbnail":"tn9374b7ae97af3d7e70e4bd37cac6aa0b.jpg","extension_thumbnail":"jpg","mimetype_thumbnail":"image\/jpeg","modified_thumbnail":1762308148,"filesize_thumbnail":29999,"height_thumbnail":320,"width_thumbnail":320}

Would this have any connection to the weird photo gallery issue or with the single random gallery photo module sometimes disappearing?

Or is there some way that I can identify a which media are considered "missing" so I can look for that kind of irregularity in the database and makes changes?

And yes, all gallery items seem to have a valid "page" value. All are something like this 1763459793.26615, where the number after the period is the ID for that entry.

We do not use any modified templates. The page is set to Cassiopeia. Changing it to Default did not fix the problem.
 
Last edit: 17 hours 31 minutes ago by boyjahq.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 49757
  • Thanks: 8507
  • Karma: 1465
7 hours 3 minutes ago #342439 by krileon
Please update to latest build release and see if your issue continues. If it does please PM backend super user login credentials and will take a look as I'm not able to replicate your issue at this time. As for the params column it won't have any impact on paging and is fine that older entries are missing cached data.

We do not use any modified templates. The page is set to Cassiopeia. Changing it to Default did not fix the problem.

I was meaning in regards to CB Gallery and not Joomla. Each gallery, and CB Gallery globally, can have a template selected.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum