Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.4, fastcgi, MaxRequestLen, mod_fcgid
- This topic has 7 replies, 2 voices, and was last updated 8 years, 2 months ago by
Global Cultura.
-
AuthorPosts
-
10/08/2014 at 2:50 pm #306409
Global Cultura
ParticipantHi, Steven
I’m having problems with my users because they are trying to upload files bigger than “max upload files” and site crash with internal server error
log file -> (HTTP request length 2000080 (so far) exceeds MaxRequestLen (2000000))
How can I forbid the users to do this?
10/08/2014 at 6:55 pm #306452Steven Zahm
KeymasterNot sure there’s anything I can do about this and a few Google searches do not really lead to much. This lounds the most promising:
The
2000000
seems to be only 2MB which actually should be more than enough but you know users, they want to upload those multi-megapixel images from their cameras and phones.10/09/2014 at 5:08 pm #306654Global Cultura
ParticipantHi again Steven
Perhaps I don’t explain good; I don’t want to allow users to upload bigger files. Just the opposite: I want that Connections prevent users to do this, like WP core prevents on media library.
I take a look to connections code and I found a class.upload.php with this content:
$this->translation[‘uploaded_too_big_ini’] = ‘File upload error (the uploaded file exceeds the upload_max_filesize directive in php.ini).’;
But this message is not showed. So, this class is not being loaded? Or why not connections is detecting that file exceeds directive?
One thing perhaps may be important, my installation is multisite.
Thank you for your attention,
10/09/2014 at 7:41 pm #306672Steven Zahm
KeymasterThat is a third party library Connections no longers uses. It is only provided for backward compatibility and will be removed in later versions. Currently Connections uses core WP functions to handle uploads. Many of the same functions the media manager uses.
What I can do is check the fill size before upload by, maybe doing it the same way as core WP does.
Right now I’ve put scheduled this to be in the next release.
10/10/2014 at 2:40 pm #306770Global Cultura
Participant“What I can do is check the fill size before upload by, maybe doing it the same way as core WP does.”
It will be a perfect solution!
Thank you
11/25/2014 at 1:26 pm #310861Global Cultura
ParticipantHi, Steven
When is this change scheduled ? It’s very important to me.
Thank you
11/25/2014 at 7:58 pm #310912Steven Zahm
KeymasterIt is scheduled to be included in the next update, version 8.1.6. I expect to release it in Dec.
11/26/2014 at 1:27 pm #310981Global Cultura
ParticipantGreat news, Steven.
Thank you
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.