Hi,
Thank you for contacting with the information about what your host requires. The call is made to api.zenfolio.com. Let me know what you find. If you can get me the other headers that are going from your site, maybe that will help me troubleshoot.
The challenge here is that I am unable to replicate the problem on my site (live production, or development environment), and even when I run the shortcode that others are using on their sites, I don’t get the error.
Here is what the hosting company replied back with:
Please find the result posted below:
—
curl -IL http://api.zenfolio.com
HTTP/1.1 301 Moved Permanently
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Content-Length: 0
Expires: -1
Location: http://www.zenfolio.com/
X-Origin: ST07-B
Date: Mon, 14 Oct 2019 11:57:42 GMT
HTTP/1.1 301 Moved Permanently
Cache-Control: no-cache, no-store, must-revalidate
Pragma: no-cache
Content-Length: 0
Expires: -1
Location: https://zenfolio.com
X-Origin: ST04-A
Date: Mon, 14 Oct 2019 11:57:44 GMT
Connection: keep-alive
HTTP/1.1 200 OK
Content-Length: 47512
Content-Type: text/html; charset=utf-8
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: .ASPXANONYMOUS=QCH2_LXY7N8ULIoUpEM9AXCt-saZgQImMZ5GpftZF3n1rtAJIhyGuL3UHwgBh–MsCzrWt1w-0_EfxSim4xFfWvYRkCqOw7LMxKfv8Tl4oQvsTKT0; expires=Sun, 22-Dec-2019 22:37:57 GMT; path=/; HttpOnly
Set-Cookie: Analytics_VisitorId=22742d55-74ea-4372-841c-64411720a01f; expires=Wed, 13-Nov-2019 12:57:57 GMT; path=/; HttpOnly
Set-Cookie: Analytics=SessionId=cc172e9c-c0da-4836-86ec-ac155493f7a2&TabId=59&ContentItemId=-1; expires=Mon, 14-Oct-2019 12:57:57 GMT; path=/; HttpOnly
DNNOutputCache: true
Set-Cookie: dnn_IsMobile=False; path=/; HttpOnly
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: .ASPXANONYMOUS=QCH2_LXY7N8ULIoUpEM9AXCt-saZgQImMZ5GpftZF3n1rtAJIhyGuL3UHwgBh–MsCzrWt1w-0_EfxSim4xFfWvYRkCqOw7LMxKfv8Tl4oQvsTKT0; expires=Sun, 22-Dec-2019 22:37:57 GMT; path=/; HttpOnly
Set-Cookie: Analytics_VisitorId=22742d55-74ea-4372-841c-64411720a01f; expires=Wed, 13-Nov-2019 12:57:57 GMT; path=/; HttpOnly
Set-Cookie: Analytics=SessionId=cc172e9c-c0da-4836-86ec-ac155493f7a2&TabId=59&ContentItemId=-1; expires=Mon, 14-Oct-2019 12:57:57 GMT; path=/; HttpOnly
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=15768000
Date: Mon, 14 Oct 2019 11:57:57 GMT
Thank you for this input – it gives me some ideas as to what is going on.
I am currently very busy with work and international travel, but I will try out a few things over the weekend and let you know. Does that help?
This weekend is fine, I have a manual solution in place for now. Just let me know when you have an update.
I use this plugin on all of my sites for numerous galleries and they’ve all worked great until today, and now all galleries on my sites are showing “Unknown Error”. Here’s one of the codes to one of my galleries for reference: [gallery type='zenfolio' view='photosets' object_id='2580731898681509604' login_name='artzobx' layout='random']
I updated to the latest version of WordPress yesterday and also updated my PHP yesterday. Any help would be appreciated. Thanks!
I have made some small changes and uploaded this file: https://pastebin.com/n9dJ8JAs.
Please download this file and overwrite the contents of wp-content/plugins/photonic/extensions/Photonic_Zenfolio_Processor.php. Alternatively, you can click on “raw” on the Pastebin site, and overwrite the contents of the file from there.
Let me know if this makes any difference.
The new code is working, I am no longer receiving the Unknown Error.
Thank you for making those small changes.
Great – thanks for letting me know. I will wait for the others to confirm that this is working as expected before releasing this code.
I did download the file and did the overwrite, but still getting the Unknown Error where galleries should be on each of my sites using this app. For example – https://obxfamilybeachportraits.com
The latest version is now available. You can update the plugin through the WP dashboard.