We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38660
    • 7 Posts
    Hello all,

    following problem: After the installation of Gallery 1.7 there is the button in the manager to access the gallery, but once pressed , the gallery does not show up in the manager. This happened yesterday with Revolution 2.2.4, I installed it twice with clearing the caches in between. Then I updated to 2.3.2 and installed it again, but still the gallery is not visible in the manager.

    I attache the Error-Log from the last Installation of the Gallery, so obviously there is something wrong, but I don't know how to solve the problems which are found in the error log. Can anybody help?

    Thanks in advance

    Kay-Uwe
    • Sounds like files didn't get overwritten properly during the upgrade.
        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
      • I installed 2.2.7 on localhost to test this, and when installing Gallery there were these error messages in the console, which did not happen when installing it on 2.3.3
        chunk_err_createArray
        Error saving vehicle object of class modChunk; criteria: Array ( [name] => galAlbumRowTpl )
        chunk_err_createArray
        Error saving vehicle object of class modChunk; criteria: Array ( [name] => galItemThumb )
        snippet_err_createArray
        Error saving vehicle object of class modSnippet; criteria: Array ( [name] => Gallery )
        snippet_err_createArray
        Error saving vehicle object of class modSnippet; criteria: Array ( [name] => GalleryAlbums )
        snippet_err_createArray
        Error saving vehicle object of class modSnippet; criteria: Array ( [name] => GalleryItem )
        Could not install related objects with locally owned keys for vehicle object of class modCategory; criteria: Array ( [category] => Gallery )
        

        However, it appears to be working - at least it does open as expected from the Components menu.
          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
          • 38660
          • 7 Posts
          So, is it possible to find out from the log, which files were not possible to install/overwrite? It seams not depending on the Revo-Version, it occurred with the old installation 2.2.4 and with the new installation 2.3.2. So ist must be the installation of Gallery.
          Btw.: I installed Gallery on another server succesfully, so I think it is problem with my system, not a bug in gallery.

          Is it possible to find out from the log, which files in my installation have to be changed, or is it a problem of my database? I am not a coder, so I have difficulties to understand the errorlog.

          Thanks, Kay-Uwe
          • I meant is that I think that in your case when you did the upgrade to 2.3.2 (2.3.3 is out now) all of the core files didn't get overwritten from the old 2.2.4 core.

            You can use this install.php file to upgrade, as long as your server supports the PHP zipArchive libarary (http://php.net/manual/en/class.ziparchive.php). Just choose the Traditional option and let it download/unzip/move files and start setup.

            https://github.com/sottwell/installer

              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
              • 38660
              • 7 Posts
              Quote from: sottwell at Jan 30, 2015, 08:34 AM
              I meant is that I think that in your case when you did the upgrade to 2.3.2 (2.3.3 is out now) all of the core files didn't get overwritten from the old 2.2.4 core.

              You can use this install.php file to upgrade, as long as your server supports the PHP zipArchive libarary (http://php.net/manual/en/class.ziparchive.php). Just choose the Traditional option and let it download/unzip/move files and start setup.

              https://github.com/sottwell/installer


              How can I find out, if my server supports the PHP zipAchive library?
              • One way is to try the script. All it will do is download the MODX zip file, the die with an error message if it can't unzip the file. Then you can unzip it and move the files into place on the server.
                  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
                  • 38660
                  • 7 Posts
                  Now I updated Revolution to 2.3.3 manually, the server did not support unzipping the archive. I cleared all caches, made a fresh install of the gallery add-on, the log told me, everything went all right (see attachment), but still gallery-workspace shows up in the manager, when I push the button in the menu bar. Everything else seems to work fine after the Update (like before).

                  Anyhow, thanks for the support!