Support Forum

Cannot upload image files larger than 2 MB

RK Robert L. Kassab
Robert L. Kassab
Member

My forum uses the PL Upload plugin. Two updates ago it started giving errors when attempting to upload an image file larger than 2 mb. I was hoping future updates would have fixed the issue, but no luck so far.

The webserver is set to allow uploads of up to 1 gig. I can upload larger PDF files no problem. I have the Simple Press image upload limit set to unlimited.

When I attempt to upload images on the front end, I get the error: HTTP Error.
Upload URL might be wrong or doesn’t exist.

In Chrome’s Developer Tools I see this error: Failed to load resource: the server responded with a status of 500 (Internal Server Error), the source is http://winchestercollector.org/index.php?sp_ahah=plupload&sfnonce=778d4b12f4&type=&fid=3.

The site isn’t using Bootstrap Javascript, and I’ve tried disabling other plugins, but still no luck.

What else can I do or try?

6 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Are you 100% sure that the PHP_UPLOAD_MAX_SIZE and PHP POST_MAX_SIZE settings allow this? Ours, for example, are set at 32MB which is, I believe, a fairly usual and standard sort of setting.

We do give this value on the file uploads admin panel. What does it say it is set to there?

YS Yellow Swordfish
Yellow Swordfish
Member

I just re-read this and guess I basically answered the wrong question!

The 500 internal server error is the real question. Coukld you tae a look in your php error logs and server error logs to see if there is any more information?

RK Robert L. Kassab
Robert L. Kassab
Member

Hello Yellow Swordfish. I have taken a look and there is nothing in either log (I’ve looked previously) that relates to this. I can post them if you need to see them.

Any other thoughts as to where I can look?

MP Mr Papa
Mr Papa
Member

have you looked at forum – tools – error log and see if anything reported there?  just errors.. maybe even clear if any errors, try again and see what errors…

a 500 error almost certainly has to log an error…  they are had to track as not much info..

still think you should make sure your php upload settings and memory are sufficient…

RK Robert L. Kassab
Robert L. Kassab
Member

Thanks Mr Papa. I took a look in the Forum error logs and didn’t see anything related. I then cleared it, tried to upload a 2MB jpg, got the HTTP Error. Upload URL might be wrong or doesn’t exist. on the front end and then checked the error logs again. It was still empty.

Below are the stats for my PHP ini file.

Version: 5.4.13
Memory: 64M
Max Upload: 1G
Timeout: 300

 

As you can see, I’m all good there. I can upload large images fine in the WordPress backend. It’s just with this plugin. No one else has ever had this issue?

MP Mr Papa
Mr Papa
Member

have you asked your host?  that message does not appear to be coming from simple press…

is this a unix flavor?

do you know if the temp upload directory is specified in php.ini?  believe you said smaller files do work?