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

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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');