Jump to content

Recommended Posts

Posted

Hi

I'm having trouble adding PDFs to my page. They are large files - up to 50Mb. They appear to be failing - the progress bar gets stuck on 99%. I have tried adding

upload_max_filesize = 100M

post_max_size = 100M

to php.ini, but no luck. Has anyone else had this and found a solution?

Thanks!

Posted

Your PHP memory limit may be a factor. You might have it set to 32 or 64. I'd suggest bumping it up to 256.

  • 10 months later...
Posted

When I'm uploading a bigger file (90Mb for example) it stops on 99% or 100% and freezes. I have done all PHP configuration required.

What could be the problem?

Screenshot_2.jpg

Posted

Hi Martijn,

Well I altered php.ini like this:

upload_max_filesize = 150M
post_max_size = 150M
memory_limit = 128M
max_execution_time = 120
max_input_time = 120
Posted

I'm by far not an expert at this.

But it seems to me that memory limit should at least double your 90Mb.

Next to that max_input_time is way to less if you asked me.

Our internet connection is not that great. It would take 12 minutes (720 seconds) for us to upload 90Mb if there's no interuption

  • Like 1
Posted

Thanks for suggesting to push memory_limit higher.

max_input_time is no matter in my case because Im working on localhost and the upload is quite fast. I must check it on live server though.

Thanks again

Posted

Did you take a look at the server logfiles? I bet you will find hints about the problem in "error.log". It Apache does not complain, it's most likely no Apache problem.

Posted

I think Martijn is right and this really is a memory_limit issue. Especially if that file is an image, as it'll have to be processed to generate a thumbnail too. And once uncompressed for processing, a 90 MB image is going to be quite large. Even if not an image, 128 MB is still too little for this situation. I would bump it to 256. 

  • Like 1
  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...