Just upgraded to 4.6.4 - and patched the htmlspecialchars (&) problem. Everything seems to work fine now, except when I try to attach a file to a node I get this error message repeated many times:
warning: mime_magic: invalid type 0 in mconvert(). in /path/to/www.dimmeria.com/includes/file.inc on line 149
finally it prints once:
warning: Cannot modify header information - headers already sent by (output started at /path/to/www.dimmeria.com/includes/common.inc:384) in /path/to/www.dimmeria.com/includes/common.inc on line 192.
I also get the same problem when I try to upload files (photos) into the acidfree album manager.
Strangely enough, if I go back to the node where I was attempting to attach/add the file - it has been added/integrated into the site fine.
Anybody else getting this problem? Any ideas on how to fix it. I did not have this problem before the upgrade, but the upgrade may not necessarily be the cause.
Comments
STFW
I googled on
and a) there are very few results b) the first resuit is the solution itself: http://bugs.php.net/bug.php?id=26064 in short you have a broken mime magic file.
--
Read my developer blog on Drupal4hu.
--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.
Simple Solution
Thanks, a lot. I googled too, but I was too stoopid to figure it out. I figured out mime magic is part of at least one of two debian packages (I run debian): file and libmagic1. I just did a
apt-get update, thenapt-get install file libmagic1. Restarted apache, and now it's working without error messages.Thanks again.