R rdn Well-known member Jan 10, 2014 #1 My Maximum Attachment File Size (KB) = 2048 When I use Flash Uploader, I got this error: When I disable the Flash Uploader, I got this: I read a lot of similar threads here, but didn't help. I'm on Nginx server, without GUI Control panel (Centmin Mod) Anybody already experience this kind of error?
My Maximum Attachment File Size (KB) = 2048 When I use Flash Uploader, I got this error: When I disable the Flash Uploader, I got this: I read a lot of similar threads here, but didn't help. I'm on Nginx server, without GUI Control panel (Centmin Mod) Anybody already experience this kind of error?
R rdn Well-known member Jan 10, 2014 #2 Adding this to my config.php ini_set('post_max_size', '32M'); ini_set('upload_max_filesize', '32M'); Didn't fix it. Upvote 0 Downvote
Adding this to my config.php ini_set('post_max_size', '32M'); ini_set('upload_max_filesize', '32M'); Didn't fix it.
R rdn Well-known member Jan 10, 2014 #3 My Phpinfo: max_execution_time = 60 memory_limit = 128M post_max_size = 15M upload_max_filesize = 15M Upvote 0 Downvote
My Phpinfo: max_execution_time = 60 memory_limit = 128M post_max_size = 15M upload_max_filesize = 15M
R rdn Well-known member Jan 10, 2014 #4 Mysql Settings: max_allowed_packet = 32M And the error display just after you hot the button upload/open. No uploading progress is shown. But I can upload images below 1mb. Upvote 0 Downvote
Mysql Settings: max_allowed_packet = 32M And the error display just after you hot the button upload/open. No uploading progress is shown. But I can upload images below 1mb.
R rdn Well-known member Jan 10, 2014 #5 And I'm using ImageMagick PECL Extension as Default Image Processor. Even if using GD, same error. Upvote 0 Downvote
Mike XenForo developer Staff member Jan 10, 2014 #6 It's certainly possible that the web server is effectively blocking the request. You can see some discussion here about increasing the max body size in Nginx: https://rtcamp.com/tutorials/php/increase-file-upload-size-limit/ If that doesn't help, please try disabling JS entirely in your browser and see what happens when you try to upload a file (this will prevent any errors from being hidden). Upvote 0 Downvote
It's certainly possible that the web server is effectively blocking the request. You can see some discussion here about increasing the max body size in Nginx: https://rtcamp.com/tutorials/php/increase-file-upload-size-limit/ If that doesn't help, please try disabling JS entirely in your browser and see what happens when you try to upload a file (this will prevent any errors from being hidden).
R rdn Well-known member Jan 10, 2014 #7 Fixed now Didn't realize it was the issue Thanks ! Upvote 0 Downvote
R rdn Well-known member Jan 22, 2014 #9 RobParker said: What was the solution? Click to expand... client_max_body_size Upvote 0 Downvote
R RobParker Well-known member Jan 22, 2014 #10 Our host set that to 10MB and now I can upload fine on our live site but on our test site it's still giving that error. As our test site was just a copy of our live site on the same server I can't think of any reason why they'd differ? Any ideas? Upvote 0 Downvote
Our host set that to 10MB and now I can upload fine on our live site but on our test site it's still giving that error. As our test site was just a copy of our live site on the same server I can't think of any reason why they'd differ? Any ideas?