We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 46378
    • 20 Posts
    Hi,
    I've updated my modx to 2.3 and galleryItems, which I'm using in articles stops working. There are empy space where image should be rendered. I'm also update Gallery plugin to 1.6.2, same issue.

    TV for gallery works fine, gallery manager shows thumbs.

    [[GalleryItem? id=`356`]] not working. No errors related to this in logs.

    Gallery manager also is not working well. Thumbs are displayed in list, while it was in grid earlier. Also there is no gallery item detail panel visible on the right side - so I can't get image ID to galleryItem tag anymore.

    Cache cleared 10 times or more wink. I've spent 5 houres right now and can't figure it out. Please help, my site is offline because of that.

    [ed. note: smashingred last edited this post 9 years, 9 months ago.]
      • 22840
      • 1,572 Posts
      Gallery has not been upgraded to work with 2.3 yet, a full list of extras compatible and not working is on https://github.com/modxcms/revolution/issues/11630#issue-37173621
        • 22840
        • 1,572 Posts
        Seems there may be a fix on https://github.com/modxcms/revolution/issues/11700

        I was able to get the Gallery to work by applying the phpthumb fix (two comments above, or here (#11700), and then add "return;" to the end of the connector file at /assets/components/gallery/connector.php. The front end worked perfectly after that. In the manager, something was still off with the media display.
          • 46378
          • 20 Posts
          I've removed this duplicates error earlier. I've even overwrite whole phpthumb from earlier version.
          Just added return; to the end of connector, it makes no difference.

          I see this in the logs:
          (ERROR @ /index.php) [OnWebPagePrerender]1
          • That means a plugin which uses that event doesn't have a return at the end of the plugin code. I get one of these every time I open an element for editing, since I use Ace. It hasn't annoyed me enough yet to do anything about it...
              Studying MODX in the desert - http://sottwell.com
              Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
              Join the Slack Community - http://modx.org
              • 46378
              • 20 Posts
              I'll try it tomorrow. I've restored my site to previous modx version for now.
                • 46378
                • 20 Posts
                Well, gallery does not using WebPagePrerender event, so I guess it's not a gallery problem.

                [Edit]
                After some debuging I found, that galleryItem tag works fine, phpthum also works. The problem was toPlaceholder parameter, that I've changed in default property set for GalleryItem. I've forgot these setting are reset after addon update. Works now for me.
                But second problem still remains unresolved. The gallery manager is broken. Thumbs should display in grid, while in my manager it looks dead and thumbs are in stack layout one div over another. I can't click anything, thumbnail details also don't show up. I suspect some css or js problems.

                It looks like this:


                Please help. I don't even know where to search for problems. Firebug in firefox shows no error, modx log neither. [ed. note: pelzak last edited this post 9 years, 9 months ago.]
                  • 35715
                  • 59 Posts
                  Yep - same here.

                  2.3.1 has officially fixed the phpthumb issue but I feel Gallery needs updating for 2.3 so that we can update items and see the content properly....
                    • 46378
                    • 20 Posts
                    Glad to hear it is not only my issue wink. So I guess we should raport this officially.

                    edit: https://github.com/modxcms/Gallery/issues/35
                      • 48362
                      • 12 Posts
                      Yup for me also doesn't work, the only two addons I use and both don't work in 2.3 and 2.3.1

                      My solution? Removing MODX completely and going back to pre 2.3 I'm done with everything not working.