URGENT: Cannot Infer Mime Type
-
I am seeing an message in my error log that says:
ERROR: cannot infer mimetype from extension in /home/customer/www/*****/public_html/wp-content/plugins/simple-ajax-chat/resources/sac.php , set –type or –mime explicitly
Can you give me an idea what this is and how to fix it? Our web site has gone down and this is what I see in the log so I need to rule it out as the cause.
-
I want to help, but that error does not happen on default WordPress setup. So it’s some misconfiguration and/or conflict with another plugin, theme, etc.
If you can tell me the steps to replicate the issue on default WordPress, I will be able to investigate. Otherwise, you can do some basic troubleshooting to determine the cause and try to resolve. I would be glad to provide a troubleshooting guide if it will be useful for you.
I don’t know what caused it, it just suddenly came up.
The only thing I can think of is that we added some Google Analytics code to the Head. We are using Divi so we have placed that code in the Integration Tab under <Head>. A troubleshooting guide would be appreciated. Can’t get into WP of course because of the error but I can get in via the host/ftp.
Btw, thanks so much for your prompt response!
Absolutely here is a solid guide on troubleshooting WordPress. There are two basic ways of going about it, depending on your setup and goals, etc.
Does this tell you anything?
=== Top 10 Executed Scripts ============================== Count URL Local Path ----- ---------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------------------------ 22523 http://luna-sphere.com/wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php /home/u50-dygpfh6df0zx/www/luna-sphere.com/public_html/wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php 8013 http://luna-sphere.com/index.php /home/u50-dygpfh6df0zx/www/luna-sphere.com/public_html/index.php 7587 http://staging11.luna-sphere.com/wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php /home/u50-dygpfh6df0zx/www/staging11.luna-sphere.com/public_html/wp-content/plugins/simple-ajax-chat/simple-ajax-chat-core.php 4309 http://luna-sphere.com/wp-content/plugins/simple-ajax-chat/resources/sac.php /home/u50-dygpfh6df0zx/www/luna-sphere.com/public_html/wp-content/plugins/simple-ajax-chat/resources/sac.php 3845 http://staging11.luna-sphere.com/wp-admin/admin-ajax.php /home/u50-dygpfh6df0zx/www/staging11.luna-sphere.com/public_html/wp-admin/admin-ajax.php 2667 http://luna-sphere.com/wp-admin/admin-ajax.php /home/u50-dygpfh6df0zx/www/luna-sphere.com/public_html/wp-admin/admin-ajax.php 2424 http://luna-sphere.com/wp-content/plugins/simple-ajax-chat/resources/nonce.php /home/u50-dygpfh6df0zx/www/luna-sphere.com/public_html/wp-content/plugins/simple-ajax-chat/resources/nonce.php 2185 http://staging11.luna-sphere.com/index.php /home/u50-dygpfh6df0zx/www/staging11.luna-sphere.com/public_html/index.php 1250 http://staging11.luna-sphere.com/wp-content/plugins/simple-ajax-chat/resources/sac.php /home/u50-dygpfh6df0zx/www/staging11.luna-sphere.com/public_html/wp-content/plugins/simple-ajax-chat/resources/sac.php 960 http://staging11.luna-sphere.com/wp-cron.php /home/u50-dygpfh6df0zx/www/staging11.luna-sphere.com/public_html/wp-cron.php
————————————————————
- This reply was modified 3 years, 1 month ago by Steven Stern (sterndata).
- This reply was modified 3 years, 1 month ago by Steven Stern (sterndata).
- This reply was modified 3 years, 1 month ago by Steven Stern (sterndata).
Our web host (SiteGround) claims that there was a huge spike in resources used causing the site to shut down and they seem to feel that SAC was to blame. I am not pointing fingers at all, I am just trying to figure out if what they claim is feasible because I can’t have the site crashing again as it is supporting a live event tomorrow.
What we have is a WordPress site, built with Divi, using Ultimate Member for user registration and access control, WPML for bilingual support (English and French), and a handful of other plugins. We have the chat located in a text module in the footer of the site with a button that toggles the visibility of the row which contains it all.
Any thoughts?
No idea. I can tell you that the plugin has been working fine on 99.9% of sites for like 10 years now, thousands and thousands of sites with no such issues. As explained previously, the issue you report does not happen on default WordPress. That implies there is some other factor, like a plugin or theme, or perhaps server configuration issue, etc., that is causing the conflict your site is experiencing.
The only real way of determining the source of the issue, is to do some basic troubleshooting, as explained in my previous reply.
Hey @beacondigital, I hope you got this sorted. It’s been awhile with no reply so gonna go ahead and mark this thread as resolved to help keep the forum organized. Feel free to post again with any further questions or feedback, Thank you.
- The topic ‘URGENT: Cannot Infer Mime Type’ is closed to new replies.