• I keep getting this warning when your plugin is active only:

    mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/0701269180) is not within the allowed path(s): (/var/www/vhosts/thedomain.com/:/tmp/) in /var/www/vhosts/thedomain.com/httpdocs/wp-content/plugins/contact-form-7/includes/file.php on line 304, referer: https://thedomain.com/test-form/
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter PCS Web Hosting LLC

    (@wetapplemedia)

    Update: It appears Track Geolocation Of Users Using Contact Form 7 is trying to save the attached file to the root of the server instead of the allowed “uploads” directory?

    Plugin Author ZealousWeb

    (@zealopensource)

    Hello @wetapplemedia,

    Thank you for reaching out to me.

    The latest version has been updated, and the issue has been fixed.

    Please let me know if you encounter any queries or require further assistance—I’m here to help.

    Thank you,
    ZealousWeb

    Thread Starter PCS Web Hosting LLC

    (@wetapplemedia)

    This issue is still not fixed.

    [Fri Jan 17 06:33:43.452496 2025] [fcgid:warn] [pid 1318407:tid 139685934384896] [client 123.123.123.123:0] mod_fcgid: stderr: PHP Warning:  file_exists(): open_basedir restriction in effect. File(/1220484899) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/:/usr/share/httpd/pcs_global_files/) in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/contact-form-7/includes/file.php on line 304, referer: https://domain.com/test-form/
    [Fri Jan 17 06:33:43.452540 2025] [fcgid:warn] [pid 1318407:tid 139685934384896] [client 123.123.123.123:0] mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/1220484899) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/:/usr/share/httpd/pcs_global_files/) in /var/www/vhosts/domain.com/httpdocs/wp-includes/functions.php on line 2061, referer: https://domain.com/test-form/
    [Fri Jan 17 06:33:43.452548 2025] [fcgid:warn] [pid 1318407:tid 139685934384896] [client 123.123.123.123:0] mod_fcgid: stderr: PHP Warning: is_dir(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/:/usr/share/httpd/pcs_global_files/) in /var/www/vhosts/domain.com/httpdocs/wp-includes/functions.php on line 2072, referer: https://domain.com/test-form/
    [Fri Jan 17 06:33:43.452554 2025] [fcgid:warn] [pid 1318407:tid 139685934384896] [client 123.123.123.123:0] mod_fcgid: stderr: PHP Warning: copy(): open_basedir restriction in effect. File(/a-file.pdf) is not within the allowed path(s): (/var/www/vhosts/domain.com/:/tmp/:/usr/share/httpd/pcs_global_files/) in /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 309, referer: https://domain.com/test-form/
    [Fri Jan 17 06:33:43.452560 2025] [fcgid:warn] [pid 1318407:tid 139685934384896] [client 123.123.123.123:0] mod_fcgid: stderr: PHP Warning: copy(/a-file.pdf): Failed to open stream: Operation not permitted in /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 309, referer: https://domain.com/test-form/

    Despite these errors, the email somehow gets to the destination it seems. However, it would be great to not have these errors without turning off “open_basedir” protections.

    Plugin Author ZealousWeb

    (@zealopensource)

    Hello @wetapplemedia,

    Could you please create a ticket for this issue using this link ?

    If you have any questions, please don’t hesitate to ask. I’m here to assist you.

    Thank you,
    ZealousWeb

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Contact Form 7 open_basedir Warning with Plugin’ is closed to new replies.