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: Can only upload if I change file extension.  (Read 4175 times)

0 Members and 1 Guest are viewing this topic.

emptyspaces

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Can only upload if I change file extension.
« on: September 27, 2005, 04:27:37 pm »

I'm sure this is here somewhere, but I can't find it.

I have uploaded 2 divx files.  When I batch add, I get the PB sign.  I have checked folder permissions.
When I change the extensions to .mov or .avi, they are pulled in to the gallery fine.

How can I configure cpm to recognize or allow these files to be merged into galleries with their divx extension intact?  I am sure there is a config setting somewhere, but it is not on the config page (as far as I know).  I have no problem editting code, but rather than fish around trying to reinvent the wheel, I thought I would ask first.

Thanks you.

RUNNING: 1.3.3
« Last Edit: September 27, 2005, 06:03:51 pm by GauGau »
Logged

emptyspaces

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Can only upload if I change file extension.
« Reply #1 on: September 27, 2005, 05:36:46 pm »

Found my answer for adding filetypes in a previous post.  The following registers file extensions with cpm.  This worked for me.
--------------------------------------------------------------------------------
xou'll need a tool like phpMyAdmin to manually edit the mySQL table cpg_filetypes. You will have to add another line like this INSERT INTO cpgXXX_filetypes VALUES ('mpeg', 'video/mpeg', 'movie');

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.