solved File Upload Size Limit

Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
My server guy assures me it is set for 1 GB and has been confirmed and tested by the data center.

However, the script "instantly" rejects any large file with a message that it is past the limit of .1 GB

The global setting is at maximum 128 MB+. Is there something else in the script or config settings perhaps, that needs to be changed?


--

Ken Rich
indiegospel.net

updated by @ken-rich: 01/28/15 11:40:07PM
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
michael:
Have you seen this page?

"How do I increase PHP's upload limit?"
https://www.jamroom.net/the-jamroom-network/documentation/problems/748/how-do-i-increase-phps-upload-limit

Hi Michael,

That's my point. We have done all that and still no joy.


--

Ken Rich
indiegospel.net
douglas
@douglas
11 years ago
2,797 posts
If you are hosting with Arvixe, you can login to your cPanel to change the upload limit.

Use the "PHP Settings" icon in the top "Arvixe" box.

If you set the following fields to this:

upload_max_filesize = 2048
memory_limit = 2048
post_max_size = 2048

You'll get a max upload size of 512M, then you can set the max amount per quota in your ACP > Core > Quota Config section.

Hope this helps! :)


--

Douglas Hackney
Jamroom Team - Designer/Developer/Support
FAQ-Docs-Help Videos
brian
@brian
11 years ago
10,148 posts
If it's still "not working" for you, then it's not been done right - there's nothing else it can. I've set this up hundreds if times, and know exactly how it works:

Set the proper settings in your php.ini:

upload_max_filesize = 1024M
post_max_size = 1024M
memory_limit = 1024M

Then your webserver must be restarted.

Then you must run an integrity check.

This will result in a max upload of 256M.

So one of those steps has not been done on your server.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Hi Brian - OK thanks - I'll go back to him again.

We are actually at 4,096 on those settings, to supposedly give us 1,024 upload.

He's contacted to the datacenter 3 times over it, so wanted to be sure there was nothing else involved before bugging them again.


--

Ken Rich
indiegospel.net
brian
@brian
11 years ago
10,148 posts
Ken_Rich:
Hi Brian - OK thanks - I'll go back to him again.

We are actually at 4,096 on those settings, to supposedly give us 1,024 upload.

He's contacted to the datacenter 3 times over it, so wanted to be sure there was nothing else involved before bugging them again.

OK let me know. Do you have root access to your server? If so and you still cannot get it to work contact me at support [at] jamroom [dot] net and I will fix it for you.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Cool - my friend has root access so if we are still getting no where, perhaps I can get him to let you in.


--

Ken Rich
indiegospel.net
brian
@brian
11 years ago
10,148 posts
Just an FYI as well, that a max upload size of 1024M is going to be pretty big. If your plan is to allow users to upload video files of up to a Gig in size, I'd highly recommend that you have your own dedicated, multi core server - converting a 1 gig video to FLV + MP4 would likely take several hours. So just an FYI.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Thanks Brian. It's actually for a subscribed client who wants to to sell a huge zip of their artwork.

However, this speaks to another issue. File size controls are global, not specific.

For example, an increase in the picture size limit to accommodate someone who wants to upload extreme HI DEF images for gallery sales, also allows the technically challenged to upload enormous pictures for profiles pics and content icons.

Of course those should be small for fast loading, but some of my clients don't understand tech issues. More control over such things at the admin level would be nice.


--

Ken Rich
indiegospel.net

updated by @ken-rich: 12/17/14 09:11:38AM
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
douglas:
If you are hosting with Arvixe, you can login to your cPanel to change the upload limit.

Hope this helps! :)

Thanks Douglas. No I am not with them - perhaps I should be lol


--

Ken Rich
indiegospel.net

updated by @ken-rich: 12/17/14 09:36:29AM
brian
@brian
11 years ago
10,148 posts
Ken_Rich:
Thanks Brian. It's actually for a subscribed client who wants to to sell a huge zip of their artwork.

However, this speaks to another issue. File size controls are global, not specific.

For example, an increase in the picture size limit to accommodate someone who wants to upload extreme HI DEF images for gallery sales, also allows the technically challenged to upload enormous pictures for profiles pics and content icons.

Of course those should be small for fast loading, but some of my clients don't understand tech issues. More control over such things at the admin level would be nice.

For images you really don't need to worry about this - all images are "resized" as needed, so you're never streaming or displaying the full size image.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Cool - that's a load off my mind - whew...


--

Ken Rich
indiegospel.net