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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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