[php-maint] Bug#361789: PHP Warning: mime_magic: type search [..] text/x-tex invalid in Unknown on line 0

Daniel Leidert daniel.leidert at wgdd.de
Sun Mar 25 00:21:51 UTC 2007


forcemerge 366911 375918 357522
thanks

There is a new warning:

PHP Warning:  mime_magic: type search/400       \\input         text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\section       text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\setlength     text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\documentstyle text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\chapter       text/x-tex invalid in Unknown on line 0
PHP Warning:  mime_magic: type search/400       \\documentclass text/x-tex invalid in Unknown on line 0

This again seems to be related to unsupported magic-file syntax. The
search type is valid for file. So please try to find a solution. What
about a) fixing PHP, so it accepts the magic file syntax or b) shipping
a copy of file's magic.mime file with the PHP package, that doesn't use
the regex or search type (and other unsupported stuff; '>&' offsets may
be an example for something else, that is probably not supported yet by
PHP).

Regards, Daniel





More information about the pkg-php-maint mailing list