Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 16, 20159 yr 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?
October 16, 20159 yr 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. :)
October 16, 20159 yr Author 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?
October 16, 20159 yr 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 ?
October 16, 20159 yr Author 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.
October 16, 20159 yr Test on the default skin and language packs, either of those could (in theory) cause that if there is something amiss with them.
October 16, 20159 yr Author 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.
November 11, 20159 yr Author 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?
November 11, 20159 yr 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
November 11, 20159 yr 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.
November 12, 20159 yr 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
November 12, 20159 yr 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.
November 12, 20159 yr 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.
November 12, 20159 yr 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
November 12, 20159 yr 43 minutes ago, AndyF said: Nothing relevant in the server error logs ? notning related to uploading files
December 31, 20159 yr I just had a member complain about this tonight. Did you guys come up with any resolution to this problem?
February 9, 20169 yr 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.
Archived
This topic is now archived and is closed to further replies.