Forums / Setup & design / Strange problem with "upload_max_filesize"
Felix Laate
Friday 17 September 2004 4:36:46 am
Hi all!
On one of my ez-installations (3.3-5) I get this message when one tries to upload an image or a file to the server:
Image: Size of uploaded file exceeds limit set by upload_max_filesize directive in php.ini.
Now, this could be a piece of cake to fix.. only problem is that this variable is allready set to 200 megs (which is allready too much) and the files in question are 0-2 MB of size.
For fun, I tried to set the variable to a much higher value, but to no avail.
Its obliously also of interest, that the other installaions running on this server (ranging from 3.0-2 to 3.4.1) all work well (at least concerning this).
Any help would be helpfull..!
Felix
Publlic Relations Manager Greater Stavanger www.greaterstavanger.com
Bård Farstad
Monday 20 September 2004 12:15:02 am
Felix,
there is also a setting for the max file size in Exponential. This is set on class level, so if you go to your class setup and edit the class image you will find a setting for the maximum upload size there.
--bård
Documentation: http://ez.no/doc
Monday 20 September 2004 3:33:12 am
Hi Bård,
thank you for your answer! I tried this and I still get the same message when trying to upload an image. When uploading a <b>file</b> I get this message after klicking the publish-button:
File: Oppgi en gyldig fil.
When I klick the publish-button again, it gets published.
Maybe its notworthy that this sytem was upgraded from 3.2-5 to 3.3-5. It worked very well in the previous version..
Best regards,Felix
Monday 20 September 2004 3:51:57 am
If it works with smaller files check the following: upload_max_filesize, post_max_size in php.ini and the setting of the attribute in your class. If no files work check that file_uploads are set in php.ini.
Monday 20 September 2004 5:10:21 am
Thank you again for your swift answer..
Unfortunatly it still doesn't work. I've these settings:
PHP.INI ------------------ upload_max_filesize = 100M post_max_size = 200Mfile_uploads = On
Image and File Class ------------------max size = 20M
There are some 20 sites running on the same server as this one, and none of them experience such problems... so I'm dazzled and puzzled and so on..