• Resolved Safety13

    (@safety13)


    How do I stop these errors from being recorded in the server log? Get hundreds of warnings everyday.

    PHP Warning: file_exists(): open_basedir restriction in effect. File(/watch) is not within the allowed path(s): (/www/xxx/public:/www/xxx/mysqleditor:/www/xxx/web:/www/xxx/deploy:/www/xxx/deployment:/www/xxx/deployments:/usr/share:/tmp:/www/xxx/public/wp-content/plugins/download-monitor/) in /www/xxx/public/wp-content/plugins/download-monitor/src/FileManager.php on line 80″ while reading response header from upstream, client: 95.181.237.3, server: xxx, request: “GET /download/6227/?tmstv=1695144862 HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-xxx:”, host: “xxx:40739”

    The files are always custom urls which link to 3rd party sites like YouTube.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support beatrice12

    (@beatrice12)

    Hello @safety13,

    Thanks for reaching out to us!

    The?open_basedir?is a server configuration, a security measure to disallow file access.
    The message says that the required file is not located within the allowed path(s). Please go to cPanel or ask your host to disable the open_basedir restrictions or add the required paths to the allowed open_basedir paths.

    Warmly,

    Beatrice.

    Thread Starter Safety13

    (@safety13)

    According to the host that directive has already been added for your plugin. Errors appear to be coming from a coming from a google crawler at 66.249.73.231 based on the access logs. Any suggestions?

    Plugin Support beatrice12

    (@beatrice12)

    Hi @safety13,

    Can you please send us a link so we can take a look?

    Thank you,

    Beatrice.

    Thread Starter Safety13

    (@safety13)

    A link to what?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP Warnings’ is closed to new replies.