forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: mroppolo on November 13, 2010, 01:52:34 am

Title: Increasing the maximum allowed file size
Post by: mroppolo on November 13, 2010, 01:52:34 am
Hello -

I've search the documentation, support forum and Google looking for the solution to increase the maximum allowed file size which apparently defaults to 1 Mb.  Loading a file less that this size works perfectly, but most of my photos are 6 Mb and some videos are much larger.  Here are the error details when uploading a larger file:

Error message:
   No file was uploaded!
   If you have really selected a file to upload, check that the server allows file uploads...
   File: /var/...<removed the path details>.../db_input.php - Line: 554

I have checked and reset the albums directory permissions.

My phpinfo.php values are:
   upload_max_filesize is 20M
   upload_tmp_dir is set: /var/...<removed the path details>.../tmp
   file_uploads is set to On

My gallery: http://media.roppolo.net/

I'm using version 1.5.8; which IMO is well documented and robust.  I'm just having this one small upload issue (see attached)

Thanks !
Title: Re: Increasing the maximum allowed file size
Post by: papukaija on November 13, 2010, 02:07:10 am
The limit shown in the screenshot seems to come from your gallery's settings. Try looking at this setting (http://documentation.coppermine-gallery.net/en/configuration.htm#admin_picture_thumbnail_intermediate_dimension) (and the setting after it) at your gallery's configuration.
Title: Re: Increasing the maximum allowed file size
Post by: mroppolo on November 13, 2010, 02:16:02 am
Wow.  I'm pretty embarrassed I missed the configuration item.

Thanks for pointing it out !