We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12410
    • 353 Posts
    Thanks switching out that line worked. I had to edit the file under snippets in the Manager itself as opposed to editing the file in Filezilla. Thanks

    Editing the file
    core/components/migx/elements/snippets/migxresourcemediapath.snippet.php
    wont do it...must be in manager


    Note to self smiley
    Replace:
    $permissions = $modx->getOption('new_folder_permissions', null, '0755', true);

    with

    $permissions = octdec($modx->getOption('new_folder_permissions', null, '0755', true));

    see screenshot [ed. note: howster last edited this post 11 years, 8 months ago.]
      • 4172
      • 5,888 Posts
      Yeah, of course you need to modify the snippet, not the file.
      The file is the exported snippet, which gets imported as snippet on installation.

      Glad, this did fix it!
        -------------------------------

        you can buy me a beer, if you like MIGX

        http://webcmsolutions.de/migx.html

        Thanks!
        • 12410
        • 353 Posts
        Thanks - I learned something new and hopefully it will help others.
          • 12410
          • 353 Posts
          Will this line:
          $permissions = octdec($modx->getOption('new_folder_permissions', null, '0755', true));

          ... be added to future releases of Migx? I keep forgetting the issue. Thanks smiley