• Resolved yomisimie

    (@yomisimie)


    Any ideas why my images don’t upload? They don’t exceed the limit and i tried with png and jpeg but nothing worked, it just throws an Unknown error.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi, Do the debug and see what it shows for you? I have exactly the same issue: mine comes with

    [7/9/2016 17:44:51] [wisechat.engines.AjaxEngine] [onMessageSentError] [responseText] <br /> <b>Notice</b>: getimagesize(): Read error! in <b>/home/web/public_html/wp-content/plugins/wise-chat-pro/src/services/WiseChatImagesService.php</b> on line <b>238</b><br /> {“error”:”Unsupported type of file.”}
    [7/9/2016 17:44:51] [wisechat.engines.AjaxEngine] [onMessageSentError] [errorThrown] Bad Request
    [7/9/2016 17:44:51] [wisechat.engines.AjaxEngine] [onMessageSentError] [exception] SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

    To do debug, go to settings – wise chat – Advanced – tick the debug,the go back to your chat window, try to send an image, wait for the error, then type in chat window ‘debug’ and press send. You will see your error message in a window bellow.
    I have been breaking my head to get this sorted, no luck yet. Also, what theme do you use?
    Regards

    • This reply was modified 8 years, 2 months ago by bazingauser.

    this is what I get when I try to upload image :

    all extensions are enabled in wchat settings

    Thanks, regards

    Plugin Author Marcin

    (@marcinlawrowski)

    Hi @yomisimie and @bazingauser,

    I see that some users report this kind of error from time to time and it is very difficult to find what is wrong. It is something with images processing on your server. Could you share a link to your website? I will try to find what is wrong. You can use contact form on my website if you don’t what to share it here

    Thank you

    Plugin Author Marcin

    (@marcinlawrowski)

    Hi @yomisimie and @bazingauser,

    Please install Exif extension for PHP. It is very likely that this error is caused by missing Exif extension for PHP. The extension is used by Wise Chat to auto-rotate images containing orientation details.

    I will fix this error in Wise Chat 2.4. In case of missing Exif extension the images won’t be auto-rotated , but also there will be no errors like this.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unknown error occured while uploading image’ is closed to new replies.