Unable to use new file type .mpo Unable to use new file type .mpo
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Unable to use new file type .mpo

Started by Florin, October 24, 2011, 04:47:27 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Florin

Hello,

I added a new file type, mpo, to the Gallery Configuration, File settings. I first added it to Allowed image types, then to Allowed document types. But at the end of the upload I get the message: "Only files with the following extensions are accepted:"
I checked the server and there is no restriction on this file type. I even added the extension as a mime type in the server control panel.
Another attempt was to add the file extension in Filetypes editor plugin. The result was invariably the same.
Please help.

ΑndrĂ©

Quote from: Florin on October 24, 2011, 04:47:27 AM
Another attempt was to add the file extension in Filetypes editor plugin. The result was invariably the same.
That was the correct approach. If a file type doesn't exist in the filetypes table, you need to add it (e.g. with that plugin) and then add the file type to the allowed file types in the config.

personzero

Hi florin,

I ran into the same problem with the mp4 filetype. My problem was solved by adding the filetype manually to the filetypes table:

mysql>insert into cpg134_filetypes (extension,mime,content,player) values ('mp4','video/mp4','movie',WMP');