"No individual file may be larger than 2 megabytes"

bernitz

Joined: 2006-04-27
Posts: 3
Posted: Thu, 2006-04-27 15:47

Hi All,

I'm somewhat of a newbie to websites, linux and mysql so please excuse any stupid questions.

I'm running into the issues that seem to have been seen by a few people on the forums - though I an unable to solve it.

I cannot upload any pictures > 2Meg.

I have followed the instructions here: http://codex.gallery2.org/index.php/Gallery2:FAQ#Why_can.27t_I_upload_big_files_.28over_a_megabyte_or_two.29.3F

I have tried setting the post_max_size and upload_max_filesize to large values in my main php.ini file and also a php.ini file in the gallery directory to no avail.

I have also adding post_max_size = 12M to upload_max_filesize = 12M .htaccess file which did not help.

The upload page always says "No individual file may be larger than 2 megabytes" whatever I do.

Has anyone got any hints about what I can do to help fix this? Is there any way I can see where gallery is picking up the 2M max filesize from?

Many Thanks
Kev

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.11 apache2handler
Webserver = Apache
Database = mysql 4.1.12, lock.system=database
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, SquareThumb, Thumbnail, Gd, Ffmpeg
Acceleration = none, none/900
Operating system = Linux server.clarkconnect.lan 2.6.9-27.cc #1 Mon Oct 24 18:48:25 EDT 2005 i686
Default theme = matrix
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.2) Gecko/20060308 Firefox/1.5.0.2

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2006-04-27 18:57

Did you restart apache after changing the limits? Also, does your phpinfo page reflect the changes?


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
bernitz

Joined: 2006-04-27
Posts: 3
Posted: Thu, 2006-04-27 20:29
Quote:
Did you restart apache after changing the limits?

Yes - multiple times. Also rebooted the server.

Quote:
Also, does your phpinfo page reflect the changes?

Alas no! Is there a trick to make sure mysql takes the new settings?

Many Thanks for your help!
Kevin

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2006-04-27 20:37

Mysql doesn't enter the equation here. Check the top of your phpinfo page and make sure you edit the correct one (the path to it is listed in the output)


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org

 
bernitz

Joined: 2006-04-27
Posts: 3
Posted: Thu, 2006-04-27 21:05
Quote:
Check the top of your phpinfo page and make sure you edit the correct one (the path to it is listed in the output)

Configuration File (php.ini) Path /etc/php.ini -> Thats the one I changed... No luck :(

Once again - I really appreciate your help!
Kevin

 
h0bbel
h0bbel's picture

Joined: 2002-07-28
Posts: 13451
Posted: Thu, 2006-04-27 21:42

Then I really don't know why that happens. You edit the right file, and still the changes you made doesn't show up in the phpinfo page after restarting Apache. That sounds very strange, and I have no idea why that happens.


h0bbel - Gallery Team
If you found my help useful, please consider donating to Gallery
http://h0bbel.p0ggel.org