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

    Recently I have migrated my site from local server to live. I have used Migx for a gallery.

    This is the snippet call

    [[!getImageList?
    &tvname=`GallerySlider`
    &tpl=`tpl.GallerySlider`
    &docid=`[[*id]]`
    &limit=`0`
    &showHidden=`false`
    ]]

    this is the "tpl.GallerySlider" chunk for the same

    <div class="item">
    <img src="[[+image]]" alt="[[+title]]" />
    <div class="content-align">
    [[+description]]
    </div>
    </div>


    and to see error please see attached images, error is something like this :

    {"success":false,"message":"Access denied.","total":0,"data":[],"object":{"code":401}}

    Will be grateful if anyone can help me in this.

    Thanks in advance.




      • 4172
      • 5,888 Posts
      sounds like a permission-issue to the connector
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 44854
        • 21 Posts
        Sorry it's not working yet. sad

        I have changed permission [ed. note: hitesh571985 last edited this post 13 years, 1 month ago.]
          • 44854
          • 21 Posts
          This is the error log message

          [2013-09-10 04:52:05] (ERROR @ /home/.../public_html/core/model/modx/modresponse.class.php : 137) PHP warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/config.core.php:8)
          [2013-09-10 04:52:06] (ERROR @ /home/.../public_html/core/model/modx/modx.class.php : 1087) PHP warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/config.core.php:8)
          [2013-09-10 04:52:07] (ERROR @ /home/.../public_html/core/model/modx/modresponse.class.php : 137) PHP warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/config.core.php:8)
            • 4172
            • 5,888 Posts
            did you try to set the permissions of all folders starting from /assets down to assets/components/migx/ to 755 ?
              -------------------------------

              you can buy me a beer, if you like MIGX

              http://webcmsolutions.de/migx.html

              Thanks!
              • 44854
              • 21 Posts
              Yes every folder files inside assets/components/migx/ are now with permission 755.

              yet No luck sad

              modx version : MODX Revolution 2.2.9-pl (traditional)

              [ed. note: hitesh571985 last edited this post 13 years, 1 month ago.]
                • 44854
                • 21 Posts
                Do I need to change permissions in core/components/mix/ folder.?
                  • 44854
                  • 21 Posts
                  Finally it is working with Modx 2.2.8pl version.

                  Thanks Bruno17. smiley