HELP: exceeds maximum permitted file size

gargo2000

Joined: 2007-07-07
Posts: 3
Posted: Wed, 2007-07-11 02:51

Gallery version 2
PHP version 5.1.2
Webserver Apache2 2.0.55
Database MySQL 5.0.22
Activated toolkits NetPbm, Dcraw, Ffmpeg, ImageMagick
Operating system Ubuntu 6.06 LTS
Browser (e.g. Firefox 1.5.0.12

I have uploaded several albums, but now I am not able to upload any more to my server Gallery2. I receive the following message:

There was a problem processing your request, see below for details.
Input file DSC_9577.JPG exceeds maximum permitted file size

My thoughts were that there is a specific amount of space available in the Gallery2 settings and I am unable to find it to change. Please let me know your thoughts on this topic.

Thanks, Gargo

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2007-07-14 15:31

FAQ: Why can't I upload big files (over a megabyte or two)?

(it's a PHP setting not a Gallery setting)

 
cooterrules

Joined: 2008-03-03
Posts: 1
Posted: Sun, 2008-05-04 15:27

The setting is in the php.ini file. You can make the changes if you have access to the php.ini file or have to have your administrator make the changes.

Change the upload_max_filesize from 2M to something bigger.

Restart apache.

 
veritas-yu.com

Joined: 2008-10-07
Posts: 1
Posted: Tue, 2008-10-07 22:58

For users of godaddy.com Linux shared hosting it goes like this:

1. Download php.ini
2. Open it in notepad
3. Edit or add the following code:

Quote:
memory_limit = 64M
post_max_size = 64M
file_uploads = On
upload_max_filesize = 64M

Where 64M represents Megabytes you can set it as you wish
2. Upload it back

That is it!

 
FireSand

Joined: 2009-04-03
Posts: 11
Posted: Fri, 2009-04-03 16:06

Thanks this solution worked for me.
memory_limit = 64M
post_max_size = 64M
file_uploads = On
upload_max_filesize = 64M

First My admin created a php.ini file for me.

All of the items were in the PHP.ini file already so I just edited but file uploads had a number 1 next to it so I figured that setting was right so I left it because my site was receiving uploads already just not the bigger size photos.