Post by maria.amado » Fri May 25, 2018 10:56 pm

since we migrate from php53 to php56 we have an error repeatly showing in our store log

[Fri May 25 00:20:32 2018] [error] [client] mod_mime_magic: invalid type 0 in mconvert()., referer:
[Fri May 25 00:21:36 2018] [error] [client] mod_mime_magic: invalid type 0 in mconvert()., referer: ... me.min.css
[Fri May 25 00:21:37 2018] [error] [client] mod_mime_magic: invalid type 0 in mconvert()., referer: ... ap.min.css

In contact with our hoster, they respond:
This error refers to enviroment configuration without any link with clients applications. The mod_mime_magic log as already indicated does not impact the functionality of the site or its performance, it is just a configuration log of the apache environment that does not have the possibility of removing it.

That makes sense? Is there any way to avoid this error?
In .htaccess file we have the lines :

#AddHandler php53-script .php .php5 .php53 .pht .phtm .phtml
#suPHP_ConfigPath /home/delpradocombr/
AddHandler php56-script .php
suPHP_ConfigPath /home/delpradocombr/
# 2. If your cart has magic quotes enabled, This may work to disable it:
# php_flag magic_quotes_gpc Off

Its correct?




Wed Jun 27, 2012 11:29 pm

Post by IP_CAM » Sat May 26, 2018 1:42 am

magic_quotes_gpc = Off;
is already part of default OpenCart php.ini Files.

I'm no longer active at the Forum, to reach me, contact:
My free Opencart LIGHT Code is available on demand, and can be
seen in Action here: -
900+ FREE OC Extension-Repositories - from OC v.1.5.x up, on the
world's largest OC-related Github Site:

User avatar
Legendary Member


Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by yodapt » Sat May 26, 2018 1:43 am

Have you tried changing back to PHP 5.3? Why did you change PHP versions in the first place?

Anyway, this is definitely something your hosting company can lookup, it's not a Opencart issue.

Opencart Developer - My Extension Showcase
Contact me at

User avatar
Active Member


Fri Jun 17, 2011 6:39 pm

Who is online

Users browsing this forum: No registered users and 2 guests