WPIntell

Source evidence

Cannot get upload to work

Photo Engine (Media Organizer & Lightroom) · support · 2021-08-05T08:47:00+00:00

mixedsentiment
highseverity
0.95relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

5 / 25 rows with source links

20.0% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
colinrc resolved
Hi, I have been trying unsuccessfully to get this working. The file does get loaded however Lightroom then pops up an error “The server returns an empty reply. Please check your PHP Error Logs.” The name is to set but no other meta data is added (eg. keyword, caption). In the WPLR.Syncr log the below entry is added . Unfortunately Bluehost does not seem to log the URL request causing the misconfiguration making it very hard to track down. Any hints what this URL is, or a way I could trace the message contents? 2021-08-05 18:42:03.0230000+10:00, TRACE Last check was 25mn ago. 2021-08-05 18:42:05.9680000+10:00, TRACE Photo: /var/folders/zv/c_dv8hnd4jgdt6lln6fm7q440000gn/T/85B8256D-1CF5-4C2E-BECA-83AEB6221430/20210708-P7080002.jpg 2021-08-05 18:42:05.9700000+10:00, TRACE Filesize: 1527331 2021-08-05 18:42:40.5030000+10:00, ERROR Response: 'wplr.lrplugin/JSON.lua:383: html passed to JSON:decode(): <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n webmaster@colincanfield-me.shakenmartini.net to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<p>Additionally, a 500 Internal Server Error\nerror was encountered while trying to use an ErrorDocument to handle the request.</p>\n</body></html>\n' 2021-08-05 18:42:40.5030000+10:00, TRACE Check connectivity to Google.com 2021-08-05 18:42:40.7870000+10:00, TRACE Check connectivity to https://colincanfield.me/words 2021-08-05 18:42:44.0700000+10:00, ERROR Got an error from WordPress. Please follow the instructions available on the 'Debug Connectivity' page at https://meowapps.com. 2021-08-05 18:42:44.0700000+10:00, TRACE Error: "The server returns an empty reply. Please check your PHP Error Logs." Some further info; I noticed this error – the time seems related even it should not be generating a misconfiguration error [Mon Aug 02 18:48:47.786950 2021] [:error] [pid 762408:tid 22387646519040] [client 14.202.169.137:52501] Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in /home2/shakenma/public_html/colincanfield/words/wp-includes/class-wp-image-editor-imagick.php on line 383 The preamble from the WPLR sync log shows the maximum time is set to 30 seconds – is this set within the plugin and something I can change for testing? 2021-08-05 18:42:03.0230000+10:00, TRACE { max_execution_time = 30, max_size = 536870912, post_max_size = 541065216, upload_max_filesize = 536870912 } Sorry for the updates – but further details. I found the timeout setting in the php.ini file, when I increased it to 50 minutes the timeout does go away, instead I get the error below. It does seem that a script is not working correct – back to the original question, is there any way to determine what is run at that point ? When I increase the timeout it DOES work, the image uploads and the meta data is set, but the error is still shown and Lightroom stops after the upload. Additionally it does not seem to be creating Folders ? Is this the final step that could be returning the empty array ? 2021-08-05 18:50:39.2870000+10:00, TRACE Last check was 34mn ago. 2021-08-05 18:50:42.3750000+10:00, TRACE Photo: /var/folders/zv/c_dv8hnd4jgdt6lln6fm7q440000gn/T/F0B54DCE-033B-4171-90C5-104FF6FD2F0B/20210708-P7080002.jpg 2021-08-05 18:50:42.3770000+10:00, TRACE Filesize: 1527331 2021-08-05 18:51:44.6830000+10:00, TRACE Error: "The server returns an empty reply. Please check your PHP Error Logs." 2021-08-05 20:33:37.1670000+10:00, TRACE Presync info follows. 2021-08-05 20:33:37.1680000+10:00, TRACE { max_execution_time = 3000, max_size = 536870912, post_max_size = 541065216, upload_max_filesize = 536870912 } 2021-08-05 20:33:37.1690000+10:00, TRACE Last check was 137mn ago. 2021-08-05 20:33:40.0590000+10:00, TRACE Photo: /var/folders/zv/c_dv8hnd4jgdt6lln6fm7q440000gn/T/34E3CCD6-00C3-4E1C-8DFB-187021E66988/20210708-P7080002.jpg 2021-08-05 20:33:40.0620000+10:00, TRACE Filesize: 1527331 2021-08-05 20:34:41.5960000+10:00, TRACE Error: "The server returns an empty reply. Please check your PHP Error Logs." Hi @colinrc , is there any way to determine what is run at that point ? Not possible. Actually it is, but you would need to set your PHP to debug mode, and connect to it remotely to debug the code. You are not supposed to do that on a production environment, and that’s not easy to do. I have never done it neither, I only do line/line debugging on my own machine. The server returns an empty reply Don’t look any further. Check your PHP Error Logs, it’s the only way. Turn off all the other plugins, as there are currently no bugs in WP/LR Sync. It can come from anything else. Check this very carefully: https://meowapps.com/wplr-sync-debug/

Comments

3 shown
colinrc 2021-08-05T09:00:00+00:00

Some further info; I noticed this error – the time seems related even it should not be generating a misconfiguration error [Mon Aug 02 18:48:47.786950 2021] [:error] [pid 762408:tid 22387646519040] [client 14.202.169.137:52501] Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in /home2/shakenma/public_html/colincanfield/words/wp-includes/class-wp-image-editor-imagick.php on line 383 The preamble from the WPLR sync log shows the maximum time is set to 30 seconds – is this set within the plugin and something I can change for testing? 2021-08-05 18:42:03.0230000+10:00, TRACE { max_execution_time = 30, max_size = 536870912, post_max_size = 541065216, upload_max_filesize = 536870912 }

colinrc 2021-08-05T12:30:00+00:00

Sorry for the updates – but further details. I found the timeout setting in the php.ini file, when I increased it to 50 minutes the timeout does go away, instead I get the error below. It does seem that a script is not working correct – back to the original question, is there any way to determine what is run at that point ? When I increase the timeout it DOES work, the image uploads and the meta data is set, but the error is still shown and Lightroom stops after the upload. Additionally it does not seem to be creating Folders ? Is this the final step that could be returning the empty array ? 2021-08-05 18:50:39.2870000+10:00, TRACE Last check was 34mn ago. 2021-08-05 18:50:42.3750000+10:00, TRACE Photo: /var/folders/zv/c_dv8hnd4jgdt6lln6fm7q440000gn/T/F0B54DCE-033B-4171-90C5-104FF6FD2F0B/20210708-P7080002.jpg 2021-08-05 18:50:42.3770000+10:00, TRACE Filesize: 1527331 2021-08-05 18:51:44.6830000+10:00, TRACE Error: "The server returns an empty reply. Please check your PHP Error Logs." 2021-08-05 20:33:37.1670000+10:00, TRACE Presync info follows. 2021-08-05 20:33:37.1680000+10:00, TRACE { max_execution_time = 3000, max_size = 536870912, post_max_size = 541065216, upload_max_filesize = 536870912 } 2021-08-05 20:33:37.1690000+10:00, TRACE Last check was 137mn ago. 2021-08-05 20:33:40.0590000+10:00, TRACE Photo: /var/folders/zv/c_dv8hnd4jgdt6lln6fm7q440000gn/T/34E3CCD6-00C3-4E1C-8DFB-187021E66988/20210708-P7080002.jpg 2021-08-05 20:33:40.0620000+10:00, TRACE Filesize: 1527331 2021-08-05 20:34:41.5960000+10:00, TRACE Error: "The server returns an empty reply. Please check your PHP Error Logs."

Jordy Meow 2021-08-06T21:49:00+00:00

Hi @colinrc , is there any way to determine what is run at that point ? Not possible. Actually it is, but you would need to set your PHP to debug mode, and connect to it remotely to debug the code. You are not supposed to do that on a production environment, and that’s not easy to do. I have never done it neither, I only do line/line debugging on my own machine. The server returns an empty reply Don’t look any further. Check your PHP Error Logs, it’s the only way. Turn off all the other plugins, as there are currently no bugs in WP/LR Sync. It can come from anything else. Check this very carefully: https://meowapps.com/wplr-sync-debug/