Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Problem uploading and processing watermarks onto images
- This topic has 11 replies, 3 voices, and was last updated 5 years ago by Peter.
-
AuthorPosts
-
November 3, 2019 at 3:16 pm #15593mike.gilbrookSpectator
Our website has developed an issue uploading images, or rather, processing the various sized images with the watermark.
We have the latest version of the plugin installed (2.4.6)
I am seeing this messages in the dashboard:
“There are currently bulk import events in progress”
Even though there are no images being uploaded at the moment.
This is what happens:
Uploaded three photos. The third photo had an error message.
Uploaded that third photo again – it worked.
Uploaded three more photos. All worked.
Uploaded three more photos. No message to say that it had not worked, but…. when I looked at the page, you can see that some of the images are missing:thesportsjournalist.com/photogallery/gallery540/
Some information:
Plugin Version: 2.4.6
WP Version: 5.2.4
WPMU: No
MySQL Version: 5.5.5
WP Table Prefix: wp_
PHP Version: 7.3.11
Session Save Path: /tmp
WP URL:thesportsjournalist.com
Server Name:thesportsjournalist.com
Cookie Domain:thesportsjournalist.com
CURL Library Present: Yes
Debug File Write Permissions: Writable
PHP info
PHP Version: 7.3.11
PHP Memory Usage: 15.83 MB
PHP Memory Limit: 4096M
PHP Max Upload Size: 4096M
PHP Max Post Size: 4096M
PHP Allow URL fopen: On
PHP Allow URL Include: Off
PHP Display Errors: Off
PHP Max Script Execution Time: 2400 Seconds
What’s going on? We’ve been running all fine for a long time, all of a sudden, this is happening.
November 3, 2019 at 4:42 pm #80039mike.gilbrookSpectatorI’ve got an update, a pattern has emerged, this seems to be happening on photos over 5mb.
November 4, 2019 at 10:44 pm #80040adminKeymasterThat usually means the server’s resources is a little low to be able to handle the processing of the larger photos. Your PHP RAM memory limit looks fine to me. Maybe it is hitting the script processing time limit. Just as a test, can you create a new gallery and use only one or two large photos (instead of many), then let me know if that processing on that completes?
November 5, 2019 at 1:42 pm #80041mike.gilbrookSpectatorThis problem happens even if only 1 photo over 5mb is uploaded.
November 5, 2019 at 2:07 pm #80042mike.gilbrookSpectatorJust to be sure, I’ve tested this myself (as I just took the customers word for it), I uploaded 1 image, which worked, I tried again but the upload stopped around 20%, eventually, I closed the browser and restarted it and logged back in.
A 2nd test uploaded 1 image fine.
I then tried to upload 2 images, the 2nd failed.
When uploading the images, the page does say there is a 4mb limit. Does that help?
November 5, 2019 at 2:31 pm #80043mike.gilbrookSpectatorSorry, the page says the limit is 4gb (not 4mb)
November 6, 2019 at 2:12 am #80044adminKeymasterThank you. This is going to be more of a hosting resource limitation related issue (so the plugin is failing to process a bigger file). Can you please talk to the hosting provider and see if you can get them to allow more power/resources to this site so it can handle the processing of the bigger files?
November 7, 2019 at 12:52 pm #80045mike.gilbrookSpectatorMy hosting company are asking:
“…Can you please talk to the hosting provider and see if you can get them to allow more power/resources to this site so it can handle the processing of the bigger files?”
Do you think you could find out what in particular they suggest should be increased? At 8gb, there’s more than enough RAM.
November 8, 2019 at 2:16 am #80046adminKeymasterThe RAM is definitely more than enough. This is something outside the plugin so I can’t really say for sure. I can process multiple 5MG+ photos in a gallery with my site without any issue. So something specific in this site is preventing the operation. Is the PHP script execution time limit a factor on this site?
November 8, 2019 at 9:05 am #80047mike.gilbrookSpectatorI don’t think so, max_execution_time is set to 2400
November 10, 2019 at 12:36 am #80048adminKeymasterI just can’t think of anything else that can prevent this. Can you check the server for some error_log to see if there is any error log for when the operation fails? The server’s error_log will contain more specific info as to why the process failed. Then we may have a better idea of what is causing it.
November 11, 2019 at 11:18 am #80049PeterMemberHi mike.gilbrook
Have you checked your site’s PHP error log file?
There might be something useful in there which could shed more light on your issue.
-
AuthorPosts
- You must be logged in to reply to this topic.