PDA

View Full Version : Large File upload in from submission- decode invalid json error



vipinsudhakar
3 Apr 2014, 4:13 AM
Hi,

I am able to upload smaller files, but when i try to upload larger files I amm getting below error.

Uncaught Ext.JSON.decode(): You're trying to decode an invalid JSON String:

Please help me out.

scottmartin
3 Apr 2014, 12:24 PM
What method are you using and what is the failure size? Have you increased the file upload limit size on your server?
Most are set at 2MB.

Scott.

vipinsudhakar
4 Apr 2014, 3:09 AM
Hi Scott,

I have increased the file size limit at server side. I am using from.submit method to upload files at server side.

I was twice able to upload 250MB file, then i made some changes, now larger files are not been uploaded, smaller files had no issues though.

Thanks.

scottmartin
4 Apr 2014, 4:38 AM
>>> then i made some changes
What changes did you make? Do you have a copy of the original to restore back?

Without knowing your setup, it would be difficult to say. How long does it take before you get the error?
Perhaps increase max_input_time?