Do you have a link that I could see?
OK – I dug up your older post. In there I had asked you to replace https with http in a particular line. This time I will ask you to do the same, but it is a different line. Change line 28 in Photonic_SmugMug_Processor.php from this:
$smugmug_base_url = 'https://api.smugmug.com/api/v2/';
to this:
$smugmug_base_url = 'http://api.smugmug.com/api/v2/';
But really, you must consider talking to your hosting providers to fix the underlying issue π
unfortunately that didn’t seem to work this time.
Is there anything else that could possibly be done?
OK – can you try to print the response out? This is line 196:
$body = $response['body'];
Above this line I want you to put:
print_r($response);
Let me know what it prints. You can remove it after getting the results.
It’s not letting me paste the code into these messages. But you can see what happens if you go to my website here: http://www.quickdrawphotobooth.com/apolitical/
[Moderator note: Your giant pastes got flagged as spam. Please use pastebin.com or gist.githumb.com for pastes and paste a link here.]
OK – looks like it is a problem with your API key. I am seeing this error:
"Message":"API key lacks v2 access; please accept the terms of service at https://api.smugmug.com/api/developer/accept"
If you go to the link above, and if you accept the terms and conditions, you should be good to go, I believe.
If this works, please let me know – I will update instructions for other users.
awesome
Thanks so much Sayontan
Just want to confirm – this worked, right?
Yes. It seems to have fixed the problem.
Hi Sayontan,
I’ve been getting this message when I try to load up any photo in my gallery.
The requested content cannot be loaded.
Please try again later.
It seems like it’s connecting the thumbnails of my gallery to my website from smugmug, but now the lightbox won’t load up to show those images.
You can try it out yourself by clicking on one of the images in the following albumβ¦
http://www.quickdrawphotobooth.com/balcones/
Please let me know if you have any ideas on how to solve this.
This is the last you’ll hear from me regarding this issue though. After this (if it can be fixed) I’ll certainly be doing something different with my site from now on. I really appreciate all the help you’ve given me with this.
Cheers,
~Aron
Your “href” attribute seems to have been blanked out from your image links, which will cause this issue. This can typically happen due to two reasons:
- You have picked an image size for your main image (Photonic → Settings → Smugmug → Smugmug Options → Main image size), which doesn’t always exist. If you pick a size that exists, you should be fine.
- Alternatively, you have a plugin that is interfering with the href tag put in by Photonic. You may try to “Disable lightbox linking” (Photonic → Settings → Smugmug → Smugmug Options → Disable lightbox linking), but I don’t think that will help
It looks like the issue got sorted out at your end. Can you let me know which suggestion worked?
Sorry for the late reply.
I think it was an issue with the image sized I had selected.
Also, as of (it seems) today Smugmug has changed their own photo size settings. It’s no long based on sizes: Sm, Md, Lg, XL, XXL, etc.
It’s now based on screen sizes: TV & Computer(4K), iPhone6+ (X5), iPad Retina (X4) LowRes 2Mpix (X3), etc.