Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 5, 20222 yr Most of our members upload images on a regular basis without a problem, yet one member has problems uploading .png screenshots to our community. Sometimes it works, sometimes it doesn't work for him. He sent me the image he was trying to upload and I was able to upload it without any issues. Here's what he is seeing: Here's the log in my system: #0 /home/logicpro/public_html/system/File/File.php(398): IPS\_File::validateUpload() #1 /home/logicpro/public_html/system/Helpers/Form/Upload.php(748): IPS\_File::createFromUploads() #2 /home/logicpro/public_html/system/Helpers/Form/Upload.php(305): IPS\Helpers\Form\_Upload->processUploads() #3 /home/logicpro/public_html/system/Helpers/Form/Editor.php(725): IPS\Helpers\Form\_Upload->__construct() #4 /home/logicpro/public_html/system/Helpers/Form/Editor.php(176): IPS\Helpers\Form\_Editor->getUploader() #5 /home/logicpro/public_html/system/Content/Item.php(4749): IPS\Helpers\Form\_Editor->__construct() #6 /home/logicpro/public_html/system/Content/Item.php(4539): IPS\Content\_Item->commentFormElements() #7 /home/logicpro/public_html/system/Theme/Theme.php(880) : eval()'d code(5207): IPS\Content\_Item->commentForm() #8 /home/logicpro/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_topics->topic() #9 /home/logicpro/public_html/applications/forums/modules/front/forums/topic.php(562): IPS\Theme\_SandboxedTemplate->__call() #10 /home/logicpro/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage() #11 /home/logicpro/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #12 /home/logicpro/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #13 /home/logicpro/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #14 /home/logicpro/public_html/index.php(13): IPS\_Dispatcher->run() #15 {main}
June 5, 20222 yr Have you tried uploading the same image this member is trying? Do you get the same error? Ultimately, trying to understand if this is a user issue or a file/server issue. If you would like to provide us the file they are attempting to upload in a zip folder, so all metadata stays intact, we can test as well. (NOTE: we will also need access to the ACP as requested in your other ticket)
June 5, 20222 yr Author 7 minutes ago, Jim M said: Have you tried uploading the same image this member is trying? Do you get the same error? I tried the same image and did not get any errors, it uploaded normally. Here's the image and I filled out the ACP access information. 10.6.3 2022-06-04 at 11.52.55 AM.png.zip Thanks!
June 5, 20222 yr Unfortunately, I am not having an issue uploading this image as the user or your user provided. Either this was a one-time bizarre issue at the server-level at the time of upload and has passed or the image provided has been altered since it left the user's computer and is now not encountering an issue. I would have the user try uploading again.
June 5, 20222 yr In addition it could be a problem on the user’s end. If you can post it as him and others are not complaining… it’s most likely not a site issue but instead a user problem.
June 6, 20222 yr I would say this is indeed likely to be the case. Ask the user to clear their browser cache. I can see from the image there that things are not all loading, which may indicate they are having connection issues
June 7, 20222 yr Author On 6/6/2022 at 9:19 AM, Marc Stridgen said: I would say this is indeed likely to be the case. Ask the user to clear their browser cache. I can see from the image there that things are not all loading, which may indicate they are having connection issues Ok thanks.
June 8, 20222 yr Author Now a new user has reported having issues uploading an image again. Here's what I found in the log: DATE/TIME TYPE MESSAGE 06/08/2022 12:06 PM upload_failure DomainException (0) d3c52159e51c90ae878027501bdcf9b0 06/08/2022 12:04 PM upload_failure DomainException (0) e25bcc965f96f4a267606f12a42459a5 #0 /home/logicpro/public_html/system/Helpers/Form/Upload.php(748): IPS\_File::createFromUploads() #1 /home/logicpro/public_html/system/Helpers/Form/Upload.php(305): IPS\Helpers\Form\_Upload->processUploads() #2 /home/logicpro/public_html/system/Helpers/Form/Editor.php(725): IPS\Helpers\Form\_Upload->__construct() #3 /home/logicpro/public_html/system/Helpers/Form/Editor.php(176): IPS\Helpers\Form\_Editor->getUploader() #4 /home/logicpro/public_html/system/Content/Controller.php(2469): IPS\Helpers\Form\_Editor->__construct() #5 /home/logicpro/public_html/applications/forums/modules/front/forums/topic.php(1196): IPS\Content\_Controller->_edit() #6 /home/logicpro/public_html/system/Content/Controller.php(2207): IPS\forums\modules\front\forums\_topic->_edit() #7 /home/logicpro/public_html/applications/forums/modules/front/forums/topic.php(1224): IPS\Content\_Controller->__call() #8 /home/logicpro/public_html/system/Dispatcher/Controller.php(90): IPS\forums\modules\front\forums\_topic->__call() #9 /home/logicpro/public_html/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute() #10 /home/logicpro/public_html/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute() #11 /home/logicpro/public_html/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute() #12 /home/logicpro/public_html/index.php(13): IPS\_Dispatcher->run() #13 {main}
June 8, 20222 yr Author I contacted the user to ask what happened, he said: Quote I clicked "choose files..." and selected the screenshot from the desktop, got an error saying the file was too big (initially it was around 1.8 mb) and that the size limit was 763 kb or similar... Resized it to 1.2 mb but got the same error. Tried again a while later and it worked...
June 8, 20222 yr Management We can look at this a little. The -600 error is "too large", so it looks like it's not failing gracefully if the image is larger than the allowed space via their member group permissions.
June 8, 20222 yr Author Just now, Matt said: We can look at this a little. The -600 error is "too large", so it looks like it's not failing gracefully if the image is larger than the allowed space via their member group permissions. The max image size is 2000 kB per content item and the user was trying to write a one line answer along with a single image.
June 8, 20222 yr What is the name of the user in question there? Also, could you zip the image and post it here?
June 8, 20222 yr Author JakobP, and he finally managed to upload the issue a while later in that post: https://www.logicprohelp.com/forums/topic/142531-is-there-a-way-to-make-a-wetdry-knob-for-logics-modulator/#comment-826165
June 8, 20222 yr We would need the original in order to assist, as the one on your site will then have been processed by the site
June 8, 20222 yr Author 41 minutes ago, Marc Stridgen said: We would need the original in order to assist, as the one on your site will then have been processed by the site Let me ask him.
June 9, 20222 yr Author Unfortunately the user now deleted the image. If the issue reoccurs I'll post here again. Thanks!
June 9, 20222 yr Author Ok just now I wasn't able to upload a file. The uncompressed file is 516 KB and my upload limit is: Max total size: 48.83 MB Here's the file I was trying to upload: display-quantize.gif.zip Here's a screen capture of the error I got: Edited June 9, 20222 yr by Jamynee
June 9, 20222 yr 47 minutes ago, Jamynee said: Ok just now I wasn't able to upload a file. The uncompressed file is 516 KB and my upload limit is: Max total size: 48.83 MB Here's the file I was trying to upload: display-quantize.gif.zip 493.28 kB · 0 downloads Here's a screen capture of the error I got: Please remove your advertisements and try again. Minimal risk but want to ensure that there’s no JavaScript interrupting something here.
June 10, 20222 yr Based on that error it looks like you're using ImageMagick and a recent update seems to have broken handling animated gif images (and the gif image in your zip is indeed animated). Can you check if the issue happens only with animated images? You could also try switching the ACP setting from ImageMagick to GD and try uploading again the same animated gif. Does the issue still happen also when you switch to GD?
June 14, 20222 yr Author On 6/10/2022 at 4:20 AM, teraßyte said: Can you check if the issue happens only with animated images? You could also try switching the ACP setting from ImageMagick to GD and try uploading again the same animated gif. Does the issue still happen also when you switch to GD? You're correct, I use GD now and can upload animated .gif images again. Thank you! Is there any downside to using GD?