coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: gishua on July 11, 2005, 07:47:47 PM

Title: Can't upload other file types
Post by: gishua on July 11, 2005, 07:47:47 PM
My photo gallery is working great! I want to expand it to allow other filetypes, such as: PSD, EPS, PDF, etc.

For some reason I can't upload other image types. I get this error when in debug mode:

The file 'albums/userpics/sb5100~0.pdf' can't be inserted in the album
File: /home/virtual/site1/fst/var/www/html/gallery/db_input.php - Line: 305

Any help would be great. Thanks

The debug info is below:
USER:
------------------
Array
(
    [ID] => c1d504631b9907d5a20bc59fa0533a79
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Can't upload other file types
Post by: Nibbler on July 11, 2005, 09:59:50 PM
That means Coppermine did not recognise that file type. Make sure it is in the filetypes table, as a document, and allowed explicitly or implictly in config.