Kjell Iver Johansen Posted October 16, 2015 Posted October 16, 2015 On this site there is following settings: On my site I have following: When someone tries to upload an image of 11 megabytes _ get the following error: Where do I adjust these settings - and how to display it?
AndyF Posted October 16, 2015 Posted October 16, 2015 Its per group setting (say if you need detail on where to adjust this) However you won't be able to exceed what has been defined for php's limits, ie upload_max and max_post , these two you would need to ask your host how to adjust them as there are a few ways of doing it. :)
Kjell Iver Johansen Posted October 16, 2015 Author Posted October 16, 2015 Thanks @AndyF - before I upgraded I had max filesize 250 Mb and that was displayed as it is on this site now. How do I enable so that is is showing in the editor - as in my first image (like it is on this site)? I have unlimited upload filesizes on these groups I'm testing with. And what is (error) -200?
AndyF Posted October 16, 2015 Posted October 16, 2015 200 means 'OK' its not an error as such. I'm not sure why its - 200 though plus it should not really display a 200 in most cases. If you have it set to unlimited it may not display any limit. Can you temporarily adjust your group to say 100mb max upload and then see if it displays that ?
Kjell Iver Johansen Posted October 16, 2015 Author Posted October 16, 2015 1 hour ago, AndyF said: Can you temporarily adjust your group to say 100mb max upload and then see if it displays that ? Yes it does - but still I have the same error. I have a testsite running with a copy of the site. I do not have the issue there, so it should be possible to track it down in a way. Not sure where to look though.
AndyF Posted October 16, 2015 Posted October 16, 2015 Test on the default skin and language packs, either of those could (in theory) cause that if there is something amiss with them.
Kjell Iver Johansen Posted October 16, 2015 Author Posted October 16, 2015 50 minutes ago, AndyF said: Test on the default skin and language packs, either of those could (in theory) cause that if there is something amiss with them. I'm on the default skin - and also tried with English with the same result. I will have a chat with a developer later this evening and will try to track it down then. I notice that my testboard have MySQL version 5.5.45-cll. with PHP version 5.4.45., while my mainboard have MySQL version 5.5.42-cll. and PHP version 5.3.29. I will try to get my host to upgrade the other server.
dmckamara Posted November 10, 2015 Posted November 10, 2015 i have the same problem, anybody knows how to fix it?
Kjell Iver Johansen Posted November 11, 2015 Author Posted November 11, 2015 23 hours ago, dmckamara said: i have the same problem, anybody knows how to fix it? As a sidenote - it disappeared after the last upgrade for me.. You're on the latest version?
dmckamara Posted November 11, 2015 Posted November 11, 2015 7 hours ago, Kjell Iver Johansen said: As a sidenote - it disappeared after the last upgrade for me.. You're on the latest version? Yes, its 4.1.3.2. Today problem dissapeared, after i changed PHP mode on server from FastCGI (Apache) to CGI. But forum works much slower
Mark H Posted November 11, 2015 Posted November 11, 2015 Just some additional info. Some of this was already mentioned but I'll clarify. There are two PHP variables which control upload sizes, which need to be checked and adjusted if necessary. This is done in the server's php.ini file. Both of them have to be set to the upper limit you want for the server. post_max_size upload_max_filesize As example, if you want a 100 Megabyte limit: post_max_size=100M upload_max_filesize=100M Note that while the software can restrict that further, it cannot override the upper limits set by those two variables.
dmckamara Posted November 12, 2015 Posted November 12, 2015 11 hours ago, Mark H said: There are two PHP variables which control upload sizes, which need to be checked and adjusted if necessary. This is done in the server's php.ini file. Both of them have to be set to the upper limit you want for the server. post_max_size upload_max_filesize I have 500 Mb for them but it doesn't solve this problem
Tracy Perry Posted November 12, 2015 Posted November 12, 2015 12 hours ago, Mark H said: Just some additional info. Some of this was already mentioned but I'll clarify. There are two PHP variables which control upload sizes, which need to be checked and adjusted if necessary. This is done in the server's php.ini file. In addition, if one is using nginx as their HTTP server, there is also a setting in it that can control the size of uploads. From the top of my head, I think it's the client_max_body_size (have had issues with it on other scripts also). If using CentOS/CentMin Mod it's set at 50MB.
AndyF Posted November 12, 2015 Posted November 12, 2015 1 hour ago, dmckamara said: I have 500 Mb for them but it doesn't solve this problem Are you having a time out / blank white page or something else ? How long are the uploads taking ? I guess it might be max input time but that seems a bit unlikely.
dmckamara Posted November 12, 2015 Posted November 12, 2015 10 minutes ago, AndyF said: Are you having a time out / blank white page or something else ? How long are the uploads taking ? I guess it might be max input time but that seems a bit unlikely. I have the same error, Upload time < 1 sec. Now, in CGI php mode, upload works, it takes about 5 sec depending on the file size. but the forum running very slow
dmckamara Posted November 12, 2015 Posted November 12, 2015 43 minutes ago, AndyF said: Nothing relevant in the server error logs ? notning related to uploading files
Mike Gholson Posted December 31, 2015 Posted December 31, 2015 I just had a member complain about this tonight. Did you guys come up with any resolution to this problem?
liviu2004 Posted February 9, 2016 Posted February 9, 2016 Have this problem also. Few months ago no issues, now problems. Upload size set to unlimited on members groups settings. Just uploaded to latest ipboard version, same problem.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.