Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
Can not upload file bigger than 2MB in group discussion
ISSUE SUMMARY:
When I try to upload file bigger than 2MB in group discussion I get an error that the file is bigger than the allowed minimum. In jomsocial configuration the limit is set to 16MB, and the server configuration: post_max_size=8M and upload_max_filesize=40M.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
I think this issue caused by your server configuration, please you ask your sys-admin which you cant upload more than 3MB, I am not sure why and I dont really understand with server setting, but I hope your server sys-admin can help it.
I even tried to use core PHP code to upload it, and broken for >3MB file size.
If you are using some other method to upload files, please send me some code example that I can present to the support of my hosting so the problem can be fixed.
I've solved the problem. It was a setting in the php.ini which enables zlib compression. ("zlib.output_compression" and "zlib.output_compression_level")
After removing these two from php.ini the upload is working fine.