Closed kylemilloy closed 5 years ago
This looks to be a dropzone issue. The success callback is being made but with no response. The network tab shows the proper response coming back but dropzone is turning this into an empty string. Anyone else see this issue?
^^ That in mind led me here:
I'm getting a really weird bug here using Dropzone and Laravel Chunk Upload (pionl/laravel-chunk-upload).
My ini settings are set to 128M for both post/max file size.
My upload controller looks like:
I'm also using dropzone on the front-end to handle the chunking.
I'm routing dropzone through a little bit of vue as such:
So here's the issue. On files smaller than 2M it uploads successfully, saves to S3 and the controller responds back with the file name and S3 bucket where it saves successfully. The console.log spits back something like:
However when the image is larger than 2M it still uploads successfully, saves to S3 and the dump() command in my controller shows me the proper URL/Name...the problem is when onDropzoneSuccess is called it doesn't have any response from the server...just an empty string instead of the intended URL/name that I know it's properly getting. Dropzone's error callbacks don't get called and nothing gets logged to either httpd logs, php logs or laravel logs and I'm at a loss for where exactly this is falling apart.