wrentfrow
Forum Replies Created
-
I have the exact same problem. Another plugin creates a PDF on the fly and now I get the error saying TCPDF ERROR: [Image] Unable to get image: /tmp/img_HloITZ on the front end iThemes shows a 404 error on the backend.
Forum: Plugins
In reply to: [Wise Chat] JPG images do not workOne other thing is interesting to note too. If I attach a larger image within the size limits I can see the status bar progress until it is done. Then it shows a “broken” image instead of a preview with the image.
Point being – it is actually uploading, and GIF files work fine.
Forum: Plugins
In reply to: [Wise Chat] JPG images do not workI also get this error in the chat when I hit the “send” button if the image fails to upload:
Unknown error occurred: SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
Forum: Plugins
In reply to: [Wise Chat] JPG's won't upload or display – GIF works fineDebug finally threw this message – even though I have tested it with bunches of different working JPG files:
/WiseChatEndpoints.php on line 571
{“error”:”Unsupported type of file.”}Forum: Plugins
In reply to: [Wise Chat] JPG's won't upload or display – GIF works fineI turned on WP debugging and I get these two errors, always with the same time stamp (removed user and domain from logs)
[21-Mar-2016 02:15:35 UTC] PHP Notice: getimagesize(): Read error! in /home/aUser/public_html/aDomain.com/wp-content/plugins/wise-chat/src/services/WiseChatImagesService.php on line 238
[21-Mar-2016 02:15:35 UTC] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/aUser/public_html/aDomain.com/wp-content/plugins/wise-chat/src/services/WiseChatImagesService.php:238) in /home/aUser/public_html/aDomain.com/wp-content/plugins/wise-chat/src/endpoints/WiseChatEndpoints.php on line 571It appears the first one causes the second one – the line is WiseChatImagesService.php is this one:
$fileInfo = file_exists($this->tempFileName) ? getimagesize($this->tempFileName) : null;
Forum: Plugins
In reply to: [Wise Chat] JPG's won't upload or display – GIF works fineA couple of other things to note about this…
If I select a jpg I can see it create a temp file under /tmp – then if try to hit the “send” button even with the broken image link I get this:
Unknown error occurred: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
And after that happens there will be two files under /tmp from each attept, one the size of the image and one with zero size.
Forum: Plugins
In reply to: [Wise Chat] JPG's won't upload or display – GIF works fineAlso, I disabled all other plugins, changed the uploads directory (and all child directories) to 777 permissions, and I am using the base WP theme on a clean install – the problem still persists.