404 errors
-
Those errors only showing when I’m switching currency:
?wmc-currency=EUR:26 GET https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_234ff900ccf0afe755e94c6f6d09c112.js 404 ()
GET https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.js 404 ()
I recently switch my hosting from LiteSpeed server to apache. It’s having issue from yesterday. have not faced such issues before. I’m not getting errors if I turn off js minify.
-
This topic was modified 8 years ago by
buyacsgo.
-
This topic was modified 8 years ago by
-
Seeing the same for your AO’ed CSS now, looks like a problem with a page cache that has stale HTML in cache that refers to old, removed AO’ed CSS/ JS?
Yes, I have cleared AO but still having issue.
Or a problem with conflicting .htaccess directives (possibly due to some security plugin or similar) which 404’s those files even if they are there.
Maybe check on the server if the files mentions are to be found in
wp-content/cache/autoptimize/jsorwp-content/cache/autoptimize/css?
-> if the files mentioned are there, this is htaccess/security related
-> if the files are not there but others are it’s probably a page cache thing
-> if no files are to be found in those directories it could be a file (directory) permission issue with AO not being able to create the files (but you should see a warning about that on your dashboard).Yes, I have cleared AO but still having issue.
I was referring to a page cache, which AO is not actually π
After clearing cache from WP Super Cache still having same issue.
Atm, I have turned off Super Cache plugin. Can you please able to check by visting my site ?
It’s just having issue with 3 plugins..
1> Autoptimize.
2> WP Super Cache.
3> Woocommerce multiccurrency.If I turn of WP super cache then I’m not facing issue. As well as if I turn of Js minify still I’m not facing issue. This 404 only showing when I’m switching currency
-
This reply was modified 8 years ago by
buyacsgo.
Also and still have it for the Autoptimized CSS I’m afraid;

now the weirdest thing; the CSS does exist and I can load it just fine in a separate tab, e.g. the first one from the screenshot https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css
So I am at a loss of what is going on here I’m afraid; AO correctly optimizes the CSS (and JS), adds the link in the HTML, but for some reason that link does not work when requested from a page with the change currency querystring …
a weird cloudflare bug maybe??
Those files are not present in wp-content/cache/autoptimize/js
autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.js
autoptimize_234ff900ccf0afe755e94c6f6d09c112.jsBut in JS folder this 2 files are present:
autoptimize_8fdeb77ece6d207e37ecac073057dc26.js
autoptimize_5a83752cdfa8e446476a54da9be31463.jsShould I pause Cloudflare CDN ?
-
This reply was modified 8 years ago by
buyacsgo.
Should I pause Cloudflare CDN ?
yes, that’s one of the things you should consider doing. do you have page rules at cloudflare, if so make sure to disable those as well!
also, if that does not solve things and given the fact that all used to work until recently, you should review whatever changes were made; your change of hosting (so contact hoster), but also any new plugins or configuration changes?
I just updated 2 plugins and also tested by disabled them… Can you able to visit my site now and use LIVE CHAT from our website ? that will be faster than this. π
afraid I can’t join a live chat now @buyacsgo, sorry π
but what surprises me; https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css loads almost always, except sometimes it … doesn’t. can you check if that file is there in
wp-content/cache/autoptimize/css/?Yes this file is present.
Is this happening due to Cloudflare DNS delay ? But This issue I’m facing from yesterday when there had no DNS delay.
EDIT: just now I have disabled JS minify
-
This reply was modified 8 years ago by
buyacsgo.
no idea if this is related to cloudflare dns delay i’m afraid. but to be clear, the problem is not only there for Autoptimized JS, but also CSS (cfr. my example) and I have even seen some other files 404 as well. maybe open a ticket at cloudflare?
Is the any issue during hosting change ? maybe some of files not moved Properly ?
What do you mean “I have even seen some other files 404 as well.” ? which files ?
Is the any issue during hosting change ? maybe some of files not moved Properly?
the fact that it works most of the time, would indicate this is not a problem with a missing file no. moreover, the AO-files are created automatically, so ..
What do you mean βI have even seen some other files 404 as well.β ? which files ?
I saw one image file, which was redirected (HTTP 301) and then produced a “not found” (404).
-
This reply was modified 8 years ago by
The topic ‘404 errors’ is closed to new replies.