• After updating to Contact Form 7 5.4, I’m locked out of the backend of the website. Downgrading to 5.3 won’t allow my site to load at all — the front page just spins.

    There is no wpcf7_uploads folder in the uploads folder.

    Warning: fopen(/home/markskut/public_html/wp-content/uploads/wpcf7_uploads/.htaccess): failed to open stream: No such file or directory in /home/customer/www/markskutztown.com/public_html/wp-content/plugins/contact-form-7/includes/file.php on line 247

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/markskutztown.com/public_html/wp-content/plugins/contact-form-7/includes/file.php:247) in /home/customer/www/markskutztown.com/public_html/wp-includes/pluggable.php on line 1296

    • This topic was modified 3 years, 8 months ago by ssacks.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 32 total)
  • Thread Starter ssacks

    (@ssacks)

    I’ve tried adding the wp-content/uploads/wpcf7_uploads folder and .htaccess file with “Deny from all” as content, and it still isn’t working.

    @ssacks,

    How did you manage to gain access to downlgrade the plugin? Does this mean you have access to file managemnt system? Can you temporarly remove the relevant .htaccess file?

    Can you restore from your hosting provider backup, such AWS snapshot?

    Or create a new WordPress installation UPLOADING a backup file from a storage outside of the previous installation?

    Thread Starter ssacks

    (@ssacks)

    @ziegel,

    I do have access to the file management system, which is how I discovered that the /wpcf7_uploads/ folder was missing. I tried removing the .htaccess file I created within that folder, but that doesn’t seem to do anything.

    I can restore a backup from a few weeks ago if there are no other solutions, but I don’t want to run into this issue again when I try to update the plugin in the future.

    @ssacks,

    From lots of experience in this kind of issues, I would recommend:
    1. Restore a “clean” backup from few weeks ago
    2. Create a staging sub domain which is identical to live
    3. Create an outside snapshot backup to enable restore from outside of WordPress
    4. Download backups to local PC or outer storage as Amazon AWS S3 service
    5. BEFORE testing plugin update, BACKUP the instance on all previous places
    6. ALWAYS test plugins’ update FIRST on staging, and only if working SYNC staging to Live

    Note: .htaccess some times find their content to “black holes” on server as cache, and their fix is VERY tricky. I strongly suggest a restore to a date before all of this mess begun.

    My 2 cents…

    Take care

    Thread Starter ssacks

    (@ssacks)

    @ziegel

    Thanks, I’ll do that. I’m not sure if this was an auto update or performed by another admin, but it’s definitely a headache.

    @ssacks,

    I do not have autoupdate turned on. I recommend checking if this is the case.

    Good luck

    Thread Starter ssacks

    (@ssacks)

    I discovered that the hosting provider automatically updated to PHP 7.3, which messed up the plugin for some reason. I set it at 7.2 for the time being while I look into other options.

    Hi @ssacks

    I’m experiencing exactly the same warning as you are. However, in my case, I do have the wpcf7_uploads folder. I checked the PHP version (by the way, my site is hosted on Siteground) and it’s atomically set to PHP 7.3.27. And when I reverted to PHP 7.2, it still didn’t solve the problem. Please, let me know if you are able to solve it from your end.

    Regards,
    Seun O.

    Hello;

    Another one here with the same error.

    I am also in Siteground and after an update that they made of cpanel this began to happen to me.

    Here I put the 3 main errors that the website gives me when accessing the administration, at the moment I can not solve it:

    Warning: fopen(/home/mysite/public_html/wp-content/uploads/wpcf7_uploads/.htaccess): failed to open stream: No such file or directory in /home/customer/www/mysite.es/public_html/wp-content/plugins/contact-form-7/includes/file.php on line 247

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/mysite.es/public_html/wp-content/plugins/contact-form-7/includes/file.php:247) in /home/customer/www/mysite.es/public_html/wp-includes/functions.php on line 6360

    Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/mysite.es/public_html/wp-content/plugins/contact-form-7/includes/file.php:247) in /home/customer/www/mysite.es/public_html/wp-admin/includes/misc.php on line 1310

    When accessing the website at the top of the web I always get this error:

    Warning: fopen(/home/mysite/public_html/wp-content/uploads/wpcf7_uploads/.htaccess): failed to open stream: No such file or directory in /home/customer/www/mysite.es/public_html/wp-content/plugins/contact-form-7/includes/file.php on line 247

    Let’s see if someone knows how to give us some kind of solution, Best Regards.

    Thread Starter ssacks

    (@ssacks)

    @olowoseun and @rebellionnt1

    I did a reinstall of a recent backup of the entire site, which had the previous version of Contact Form 7 and WordPress 5.6, which still presented the problem. When I downgraded to PHP 7.2 the error went away. I have not attempted to upgrade the CF7 plugin or WP version since. It seems that my theme is no longer supported, so I’m planning on doing a redesign with another theme to see if that helps in the future. I definitely am not seeing the CF7 error on other sites that I have designed.

    I’ve just had this problem too. I had to get into the database and change my password in there and then I was able to get in. With siteground, I tried to change the wp admin password in the new siteground control panel with no luck.

    I’m now looking into the contact form 7 error. I’ll come back if I find a fix.

    Hi @rebellionnt1

    “I am also in Siteground and after an update that they made of cpanel this began to happen to me.”
    This explains the whole quirky thing I’ve been experiencing on my WP site. Earlier today I tried uploading an an image using the media library but this is what I get Media Library Error. I have checked folder permissions and all looks good. What is going on?

    Thanks

    Hi @les78

    Please please come up with a solution. Have you tried contacting Siteground support?

    Thanks,
    Seun O.

    Have you tried going to Wp Admin Dashboard> Settings> Permalinks and then don’t make any changes, just click on Save Settings twice.

    Yes. I did this on several occasions just to generate a new .htaccess with no luck.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Contact Form 7 5.4 upgrade missing folder’ is closed to new replies.