Failed to load resource: the server responded with a status of 404 CSS file

After an automatic WordPress update the plugin forms (Contact Form 7) now display a slash just below them and are no longer firing the wpcf7mailsent listener event, so it is no longer being redirected to the thanks page after submitting the form. This error: “the server responded with a status of 409 or also known as net :: ERR_ABORTED 409” from what I see is a problem loading styles.css and scripts.js files. This must be the reason why it is not issuing the wpcf7mailsent listener event and a slash just below the forms.

Strangely if on the same page I manually click and open the styles.css file via URL, the file starts to load on the page and it stops showing that bar just below the form.

For this reason I am saying that you are not loading the styles.css and scripts.js files, as they do not even appear in the uploaded files folder, just after I open them by URL.

Here’s the test I did to show it:

The error happening: //ibb.co/Vvm8jwG

Did not load CSS file and JS file: //ibb.co/kHszgW9

After I open the CSS style link that says it didn’t load: //ibb.co/FXcLRXQ //ibb.co/997nMgK

You no longer see the error that you did not upload the CSS file and now the file has been uploaded to the folder showing the contents. The same will happen with the JS file if I manually load it as the CSS file. //ibb.co/jGPQ2MH //ibb.co/chVjRTQ

What I already tried to do to fix, but it didn’t work: – I disabled several plugins – I updated the plugin – I reinstalled the plugin – I tested in other browsers, the error persists

Other sites with Contact Form 7 are also experiencing the same.

Environment Settings: Theme: Javelin WordPress: 5.2.4 PHP: 7.1.24 Hosting: Hostgator

The page I need help with: //verdecia.com.br/central-de-atendimento/

Solutions

For anyone who is facing this issue, this is a known issue in bluehost and hostgator hosting. Basically the root reason for this seems to be that they are blocking image/js/css or other assets in any path with contact string.

The reason that contact form 7 assets are randomly blocked is probably also due to this same reason.

I had html websites running on my server where contact (or any other) page with assets in for example /images/contact/ folder also did not load with 409 conflict error, due to the contact path in the assets folder.

Unfortunately I found no solution to this just like many many users out there. Check out these links: Link 1 Link 2

What is the solution?

  • Well wasting time with hosting provider support is of no use. I just use hostgator/bluehost for development purpose. There are many hosting providers out there, so next time you can choose some other one, especially for live websites.

  • For custom websites, avoid naming your assets folder to anything that has contact in it.

  • For CF7 in wordpress stop loading the assets in wp-config file using define( 'WPCF7_LOAD_JS', false ); define( 'WPCF7_LOAD_CSS', false ); and manually load the files in the header by separately downloading the files and importing them.

Similar questions

Failed to load resource: 409 (Conflict)

I have get an error on my website: //anthologymdjs.com/ I have tried to deactivate all plugin except contact form 7, and activate 2019 theme, but this error is still existed. The error is : GET //anthologymdjs.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.0.5 net::ERR_ABORTED 409 (Conflict) GET //anthologymdjs.c...

AJAX jQuery post frontend returning failed to load resource status 400

I've created a custom post template for a front-end question bank/quiz in which I have two elements: Code in functions.php The code I have in my custom post template is as following: I have a separate js file stored in my-child-theme/js/question-refresh.js I think I have isolated where the issue is coming from. I have obviously done something wrong...

Wordpress + Vagrant : The SSH command responded with a non-zero exit status

I am following this tutorial to set up Wordpress with vagrant. But it does not seem to work. I get the following: and then: I do not know what this means, really, or where the problem could lie. Vagrant does work though, I have been able to start up a vagrant box before without errors. It is just in the context of the above mentioned tutorial that ...

How to fix WordPress ajax request responded with a status of 400

I spend a lot of time searching for a solution to this issue. I looked on google and stackexchange but didn't get the answer. So I am looking for the solution is while making an ajax request through my plugin(that I am developing) i am getting this 400 status error. I don't know why i am getting this? Let me know why i am getting this error; Thank ...

Also ask

Toplist

Neuester Beitrag

Stichworte