• Resolved Scott Fennell

    (@scofennellgmailcom)


    Hi! Thank you for the excellent plugin.

    After udpating WordPress core and your plugin, we get this php warning:

    fopen(/nas/content/live/lexblogms/wp-content/blogs.dir/1321/files/wpcf7_uploads/.htaccess): failed to open stream: Permission denied

    Some unique things about our setup:
    – It’s a blogs.dir multisite network.
    – It’s on WP Engine.
    – It’s on php 7.4
    – It uses nginx rules instead of htaccess rules
    – There are hundreds of blogs on this install, so creating an htaccess file in every folder is not a scalable solution.

    Full stack trace from new relic:

    in fopen called at /nas/content/live/lexblogms/wp-content/plugins/contact-form-7/includes/file.php (247)
     in wpcf7_init_uploads called at /nas/content/live/lexblogms/wp-includes/class-wp-hook.php (290)
     in WP_Hook::apply_filters called at /nas/content/live/lexblogms/wp-includes/class-wp-hook.php (316)
     in WP_Hook::do_action called at /nas/content/live/lexblogms/wp-includes/plugin.php (484)
     in do_action called at /nas/content/live/lexblogms/wp-content/plugins/contact-form-7/load.php (118)
     in wpcf7_init called at /nas/content/live/lexblogms/wp-includes/class-wp-hook.php (290)
     in WP_Hook::apply_filters called at /nas/content/live/lexblogms/wp-includes/class-wp-hook.php (316)
     in WP_Hook::do_action called at /nas/content/live/lexblogms/wp-includes/plugin.php (484)
     in do_action called at /nas/content/live/lexblogms/wp-settings.php (560)
     in require_once called at /nas/content/live/lexblogms/wp-config.php (164)
     in require_once called at /nas/content/live/lexblogms/wp-load.php (37)
     in require_once called at /nas/content/live/lexblogms/wp-blog-header.php (13)
     in require called at /nas/content/live/lexblogms/index.php (17)
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘php warning: fopen(/nas/content/live/lexblogms/wp-content/blogs.dir/1321/files/’ is closed to new replies.