goldsky/FileDownload-R

Error and open_basedir

Opened this issue · 2 comments

Hi i have a hardened MODX install (2.6.0-pl) so the core and download folder are outside the webroot. It seems to work but i'm seeing a lot of errors in the log file.
[2017-12-12 22:50:30] (ERROR @ /var/www/vhosts/xxx.com/core/components/filedownloadr/model/filedownloadr/filedownloadr.class.php : 2131) PHP warning: realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/xxx.com/:/tmp/)
Is there a way to fix this?
RDG

how come you store your files in /tmp/ folder?
it's OS's restriction

I don't know i'm not doing that on purpose. I'm just seeing this a lot in te log file. I don't target the tmp folder knowingly