Can only upload if I change file extension. Can only upload if I change file extension.
 

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

Can only upload if I change file extension.

Started by emptyspaces, September 27, 2005, 04:27:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emptyspaces

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

emptyspaces

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