Gallery3 Upload Issues

Defiance
Defiance's picture

Joined: 2009-04-06
Posts: 5
Posted: Fri, 2009-08-14 22:47

I went to upload today via the web uploader and I'm getting the following errors. However the errors are completely wrong. On my web server I have my "upload_max_filesize=64M". This is telling me it's only at 2MB. The file I'm uploading is also only 5MB.

"File is too big. A likely error source is a too low value for upload_max_filesize (2M) in your php.ini."

I'm using Gallery 3 Beta 2

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7934
Posted: Fri, 2009-08-14 23:11

Can you verify that your memory size is correct by checking or providing your phpinfo() so that we can examine it?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
Defiance
Defiance's picture

Joined: 2009-04-06
Posts: 5
Posted: Fri, 2009-08-14 23:43

It appears to be an issue with adding a custom php.ini to the /gallery directory. When I removed this php.ini file the problem went away. Not sure why you can't use the custom php.ini files though. I had the following options in the file "suhosin.session.encrypt=Off". It was a slight bypass aside from adding this to the entire servers php.ini.

 
aldude

Joined: 2009-09-27
Posts: 1
Posted: Sun, 2009-09-27 20:48

I get the same message and checked the .htaccess file and it has:
php_value upload_max_filesize 20M
php_value post_max_size 100M
Sorry in advance, I am a newbie and not sure how to get the phpinfo, feel free to ignore.
Did not find a php.ini file in the directory.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 22892
Posted: Sun, 2009-09-27 21:12
Quote:
I am a newbie and not sure how to get the phpinfo

FAQ: What information is required when I ask for help in the forums?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team