re: themes, upload logo file
error: File 'logo' exceeds the defined ini size
The error started happening on all themes, including the default, even using the existing images. Happens for all size, filetypes etc.
Running vers. 1.5.3, linux fedora
checked /etc/php.ini for file size, grep'd and found error message found in libraries/Zend/Validate/Fle/Upload.php, but not sure what that file has to do with anything related to the problem except throwing the error message.
Any help appreciated.
I'm adding more to my original post...
Did some additional grepping in libraries/Zend for variables such as max file size etc. and never came up with anything useful.
Thus tried going back to /etc/php.ini and changing:
; Maximum allowed size for uploaded files.
;upload_max_filesize = 2M
upload_max_filesize = 2M
Then restarting apache2:
systemctl stop httpd.service
systemctl restart httpd.service
...and was able to get logo.png to upload. Still seems a bit unstable, but at least was able to upload the logo image.
There are two settings in php.ini you need to pay particular attention to for upload size.
You found the first:
upload_max_filesize. It's a limit on the max size of each individual file you upload.
The other is
post_max_size. This is a total limit on the amount of data you can submit in one request. It needs to be at least as high as
upload_max_filesize, and possibly higher if you want to upload multiple files at once.
I am trying to upload an image and keep getting an error message. I have an image with a size of 480x360 pixels. I am a newbie here.
What does the error message say? The pixel size shouldn't matter, but the total file size might exceed the limit of your server. Please check with the server administrator to see what your local file size and post size limitations are.