We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23849
    • 223 Posts
    Hi Bruno,

    So I recently transferred a website from one domain to another, and everything is working fine other than the multi-upload. The folder is correctly created for each resource with the proper permissions, but when I open the multi-upload box there is no "upload files" button and I can't drag images into it (screenshot attached along with the console error).

    Any ideas would be much appreciated!

    This question has been answered by Bruno17. See the first response.

    [ed. note: presson83 last edited this post 7 years, 1 month ago.]
      Nick Hoag
      Creative Partner
      The FutureForward

      http://thefutureforward.com
      • 23849
      • 223 Posts
      So I've figured out that this is due to having installed an SSL certificate on the website. The call to http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js is not secure, so it's not loading.

      The only reference I can find to this file is in "ajaxupload.html" which is in the core/packages/migx-2.9.6-pl/ folder. But when I update that to https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js the change isn't occurring and the error still appears (even after clearing core/cache and my browser cache etc).

      Any thoughts on how to update that path to be secure would be much appreciated.
        Nick Hoag
        Creative Partner
        The FutureForward

        http://thefutureforward.com
      • discuss.answer
        • 4172
        • 5,888 Posts
        did you try to change the file under
        core/components/migx/templates/mgr/iframechunks?
          -------------------------------

          you can buy me a beer, if you like MIGX

          http://webcmsolutions.de/migx.html

          Thanks!
          • 23849
          • 223 Posts
          Hi Bruno,

          Yes, that worked. Thanks!
            Nick Hoag
            Creative Partner
            The FutureForward

            http://thefutureforward.com
          • This was a solution until PHP 7.1 and MODX 2.6.4, and whilst the ajaxupload.html file has been updated to https:// to load the jquery library, the Upload button no longer appears in the iframe - see attached image.

            This has been reported on github too along with a related issue concerning migxResourceMediaPath

            https://github.com/Bruno17/MIGX/issues/304

            The site is hosted on MODX Cloud and MIGX version 2.12.0-pl is installed.
              Helen Warner
              Number one pixel!
              Proud to be linked with MODX at Crimson Pixel
              • 23849
              • 223 Posts
              @Bruno17,

              Any chance you can provide guidance on the previous post? The manual https fix for the jquery path doesn't work on PHP 7.1 and MODX 2.6.5.

              Thanks in advance!
                Nick Hoag
                Creative Partner
                The FutureForward

                http://thefutureforward.com