Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Unable to use new file type .mpo  (Read 8370 times)

0 Members and 1 Guest are viewing this topic.

Florin

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Unable to use new file type .mpo
« on: October 24, 2011, 04:47:27 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15760
Re: Unable to use new file type .mpo
« Reply #1 on: October 24, 2011, 02:04:52 pm »

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.
Logged

personzero

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Unable to use new file type .mpo
« Reply #2 on: December 17, 2011, 07:43:28 pm »

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

Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.