Advertisement:

Author Topic: Error when upload an image  (Read 163 times)

Xefiron

  • Newbie
  • *
  • Posts: 32
  • Software developer - Desarrollador de software
Error when upload an image
« on: April 29, 2019, 11:32:22 pm »
When I try to load images for the items in the server version of my site I get the following error in the console:

Code: [Select]
jquery.fineuploader.min.js: 16 [FineUploader 3.8.0] Error when attempting to parse xhr response text (Unexpected end of JSON input)
qq.log @ jquery.fineuploader.min.js: 16
log @ jquery.fineuploader.min.js: 16
log @ jquery.fineuploader.min.js: 16
or @ jquery.fineuploader.min.js: 18
s @ jquery.fineuploader.min.js: 18
(anonymous) @ jquery.fineuploader.min.js: 18
XMLHttpRequest.send (async)
D @ jquery.fineuploader.min.js: 18
E @ jquery.fineuploader.min.js: 18
upload @ jquery.fineuploader.min.js: 17
upload @ jquery.fineuploader.min.js: 17
_onSubmitCallbackSuccess @ jquery.fineuploader.min.js: 16
(anonymous) @ jquery.fineuploader.min.js: 16
_handleCheckedCallback @ jquery.fineuploader.min.js: 16
_upload @ jquery.fineuploader.min.js: 16
_onValidateCallbackSuccess @ jquery.fineuploader.min.js: 16
(anonymous) @ jquery.fineuploader.min.js: 16
_handleCheckedCallback @ jquery.fineuploader.min.js: 16
_onValidateBatchCallbackSuccess @ jquery.fineuploader.min.js: 16
(anonymous) @ jquery.fineuploader.min.js: 16
_handleCheckedCallback @ jquery.fineuploader.min.js: 16
_prepareItemsForUpload @ jquery.fineuploader.min.js: 16
_prepareItemsForUpload @ jquery.fineuploader.min.js: 17
addFiles @ jquery.fineuploader.min.js: 16
_onInputChange @ jquery.fineuploader.min.js: 16
onChange @ jquery.fineuploader.min.js: 16
(anonymous) @ jquery.fineuploader.min.js: 16

The site in my localhost does not have any problem, the images load well. Also, I do not have any plugin installed.

Please, someone who can tell me what happens  :(
« Last Edit: April 29, 2019, 11:52:46 pm by Xefiron »

Xefiron

  • Newbie
  • *
  • Posts: 32
  • Software developer - Desarrollador de software
Re: Error when upload an image
« Reply #1 on: April 30, 2019, 07:43:35 pm »
This is the solution that worked for me to solve this. For some reason the server lost the write permissions in the folder of the oc-content / uploads route. So I reassigned the permissions to the uploads folder and all its contents. I hope it will be useful to someone else with the same problem. Greetings.