• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.1 Why can't I add a 1.1mb avatar?

dehness

Active member
#1
It keeps giving me an error, filesize too large. Even when I try to upload it from the AdminCP. Seems ridiculous that 1.1MB would be too large.
 
#8
It could also be a PHP limitation it would be this line when viewing phpinfo

Code:
max_file_uploads2020
The left value is local set and the right is the master set point. So this tells me I can upload a max of 20 MiB at a time.

To see this value you can create a file called phpinfo.php and put it some where on your host. Use the following code inside of it

Code:
<?php
          phpinfo(); 
 ?>
 

dehness

Active member
#9
Sorry for only getting back to this now, and thanks for the help guys.

Yes, the forum is using imagemagik and Xenforo 1.1. There are dozens of other members with animated avatars.

This is the error I get when trying to upload via the Admin CP:
413 Request Entity Too Large
 

Mike

XenForo developer
Staff member
#10
This is a limitation configured in your web server -- you host has limited the size of the request body. They would need to increase that.
 

Sheratan

Well-known member
#11
Sorry for only getting back to this now, and thanks for the help guys.

Yes, the forum is using imagemagik and Xenforo 1.1. There are dozens of other members with animated avatars.

This is the error I get when trying to upload via the Admin CP:
413 Request Entity Too Large
Are you using cpanel? you might change max_file_upload and post_max_size

If you are using nginx, you might change client_max_body_size in nginx.conf