Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error and open_basedir #62

Open
Lefthandmedia opened this issue Dec 13, 2017 · 2 comments
Open

Error and open_basedir #62

Lefthandmedia opened this issue Dec 13, 2017 · 2 comments

Comments

@Lefthandmedia
Copy link

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

@goldsky
Copy link
Owner

goldsky commented Jan 11, 2018

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

@Lefthandmedia
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants