- About us ›
- Forums ›
- WooCommerce Personalized Product Options Manager ›
- Sometimes file updates complete, thumbnail is generated, but file is not stored
We have the problem where about 1 out of 10 times, a jpg is uploaded with the file uploader (it doesn’t matter how big the file is), the upload is complete, thumbnail is generated and displayed, the customer checks-out and pays for their order, but the full jpg file is not stored on the server anywhere. Not in the directory it is normally in, not in a temp directory, nowhere. It doesn’t seem to be a server error, the thumbnail generates and is stored. But there is some issue with moving the file into the completed directory (but only sometimes). I have had this problem with all recent versions of the plugin including 3.10.
thanks for letting this issue, we will confirm it with other clients and then we may find some alternative.
Sometimes, order script is in process to mark it as confirm and user/client proceed to so fast and images are not moved to ‘confirm’ directory. But we will see with others and will fix it for sure.
That is what I am seeing. The image does not get moved into the confirm directory… and in fact, the image gets deleted from the parent folder where it normally sits for an uncompleted order.
The site displays no error when completing an order that has a missing image. However, I am not looking at php errors or anything like that.
The order completes, the thumbnail is generated and displayed. The customer sees the thumbnail, the back-end shows the thumbnail, the confirmation emails show the thumbnail, but it shows a filesize of ‘0’ next to the image filename.
I face the same problem.
The cusomers upload the files. They see the thumbnail but don’t get any error messages. The files are not moved to the confirmed directory and in the order list the files have no file size.
My apache error.log shows some “PHP Fatal error: Allowed memory size of xxx bytes exhausted” errors. I increased the memory for php form 64M to 128M. Maybe this helps.
Thanks for adding, Thomas. I have my php memory set to 256MB, and confirmed this in the the woocommerce system status.
It has been set to 256MB for a long time, and I still see the issue… even with small file size, small resolution jpgs. I bet some bit of bad code is going out of bounds on an array or something like that and using up all the memory.
Damned, I hoped that increasing the memory for WordPress will solve this.
Let’s hope that Najeeb will find and fix this bug quickly. It’s very annoying to ask customers to upload the missing files again.
Ok, I have figured out where the bug is. Now I am working alternative solution. The existing solution was provided by one of my client 🙂 but It’s eating up the memory because it waits until order is confirmed in LOOP and it filled up the stack.
For now please increase memory limit and I will let you know as soon as I handle it different way for sure.
Thank you for the update. Uploading seems to work, but we will need to test for a while to verify the bug fix.
There is a new problem since 3.10. The expand (zoom) feature on the image after upload is not working. If you click on that icon, an empty box appears in the middle of the screen.
You must be logged in to reply to this topic.