I have a site which has been using the migxResourceMediaPath as a location for images however, this seems to have become unusable in recent MODX upgrade to 2.6.1. Files are no longer located under the Media Source.
The call for basePath and baseURL have been unchanged are as follows:
[[migxResourceMediaPath? &pathTpl=`assets/foldername/resourceimages/{id}/`]]
Whilst this did list images under the media source there the following error would appear in the logs;
/paas/site/www/core/cache/includes/elements/modsnippet/13.include.cache.php : 69) [migxResourceMediaPath]: docid could not be determined.
However there is a new error appearing:
/paas/site/www/core/model/modx/sources/modfilemediasource.class.php : 53) PHP warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/paas/site)
Plus the images are now no longer listed under the Media Source although the folder still exists.
The site is hosted on MODX Cloud and was using PHP 7.1 but have reverted to PHP 5.6 but this hasn't resolved that issue... had another issue relating to AJAX Upload which seemed to be linked to a compatability isssue with PHP 7.1 which was almost resolved with rolling back to 5.6. Can use AJAX multi upload but not individual upload as I think there is an issue with the media source...
Any suggestions / solutions to this problem. I have also posted it to github...
https://github.com/Bruno17/MIGX/issues/304