Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
I have managed to somewhat successfully upgrade my existing site, however:
I can not authenticate the API in Lightroom "Authentication check was NOT successful"
API URL is http://www.lightsmithy.com/backlight/publisher/ (note that it will not let me delete that trailing slash)
I am also unable to publish an image using the web publisher, "Upload failed" and then "Upload error". I can create an album and album set, but cannot upload an image.
I have:
- removed all other instances or TTG publisher and older versions from Lightroom, and installed and reinstalled the version downloaded from my backlight site.
- Reinstalled the entire backlight installation from the modules page
- Poked around with the designer and Backlight seems to be functional other than not publishing anything in any way.
I can't find any specific match here for my problem and the similar ones have not provided a solution. Not sure how to proceed from here.
Last edited by scottfrey (2019-01-07 10:36:09)
Offline
Here is a snip from the server log regarding the upload failed error
[Mon Jan 07 01:12:03.699778 2019] [:error] [pid 2651] [client 71.36.96.158:63236] PHP Fatal error: Call to undefined function ImageCreateFromjpeg() in /srv/photo.fx4.net/htdocs/backlight/modules/module-publisher/application/helpers/ImageResizer.php on line 134, referer: http://www.lightsmithy.com/backlight/pu … 1600/view/
[Mon Jan 07 01:12:03.699875 2019] [:error] [pid 2651] [client 71.36.96.158:63236] TRACE: returning: {"status":"error","message":"Unexpected error: Call to undefined function ImageCreateFromjpeg() in ImageResizer.php on line 134"}, referer: http://www.lightsmithy.com/backlight/pu … 1600/view/
Offline
Website provider is going to upgrade PHP an reinstall GD and imagenagic, hopefully that will solve the upload issue. I’ll report back.
Still need to solve the Lightroom API issue.
Offline
Maybe an obvious question, but is the API key the same in Backlight and Lightroom?
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Maybe an obvious question, but is the API key the same in Backlight and Lightroom?
It never hurts to check the obvious, but I even made it 123456 in both places just to eliminate any possible way to screw that up. (It’s not that anymore)
So I am pretty sure that isn’t it.
Offline
Hi Scott, can you share a Backlight admin login via email? I will then try to create and publish to a hidden album to see whether I can find the problem.
Offline
I'm having a similar issue - trying to upgrade directly from CE4 to Backlight2. Following instructions using Backlight's "Upgrade Albums from CE4" - I get the default "Welcome" page as if installing Backlight alone (no galleries, etc.). When I try to create a new Publish instance in Lightroom (or when trying to update existing CE4-generated Instance), I get that same "Authentication was NOT Successful" error.
I had created a new Authentication Key during the Backlight2 setup, and am using correct password for it. (interesting - the old CE4 Publish instance successfully authenticates).
Any troubleshooting suggestions?
Offline
Maybe I should add my API URL: http://jwlimages.com/backlight/publisher/
Also, wondering if part of the issue is how I had configured the CE4-built site. Since I wanted the initial landing page to offer a choice (link to an "Art" section & another to "Commerce", galleries within each section - trying to keep them separate), I built it with that landing page at the root, then the 2 sections as complete sites inside subdomains (hope I'm describing this correctly!). Anyway, thinking I might need to duplicate this structure with Backlight, I tried copying the backlight install folder into the Art subdomain. When I direct Lightroom to the backlight folder in the subdomain I still get that "Authentication was NOT successful" error.
So my website is dead in the water until I can figure this out...
Offline
Did you install the latest TTG Publisher plug-in in Lightroom?
You can download it from the Backlight Modules page (from the Backlight Menu go to Admin > Backlight Modules)
the link to the Publisher download is near the top of the page.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
OK, will try that now.
Thanks!
John
Offline
Nope, the current Publisher plug-in gives the same error.
Makes no difference whether I target the backlight folder installed at the root or a second one installed in a subdomain.
Backlight itself seems to be installed & working correctly, e.g. I was able to install the Theater module from within it. But Lightroom (Classic, v.7.5) can't seem to find it...
Offline
if you want, send your publisher api key via email (link beneath my name and picture to the left) and I'll see if I can connect from my end. That will at least give us an idea of where the problem is and will give Ben something to work with.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
direct email sent
Offline
I have been poking around a bit while waiting to hear back from Ben
I have one instance of publisher authentication working in Lightroom. Of Five. All others fail with the exact same settings. It least I know that the site is actually able to publish, but why only one?
The one I got working I used https:// for the prefix and that got it working.
Just so we don't have to go down that path, I'll preemptively explain;
Master Lightroom Catalog: My (mostly) landscape images, has a giant Collections top level with a lot of albums and a Separate Portfolios top level of curated samples. I could be convinced to roll this together.
Events Lightroom Catalog (an entire separate library): has My event work that I donate to a non profit. in a top level directory called events. This is not in main catalog
NSFW Lightroom Catalog; Art nudes, both portfolios and private albums. Obviously, kept entirely separate
I've been doing this in CE4 (and CE3) For years
Last edited by scottfrey (2019-01-09 10:03:07)
Offline
Hi Scott,
I visited your site using both http and https, and both worked. If you have an SSL certificate, then you should be using it uniformly. And if you're able to publish to using the https form of your address, then use it for all instances.
What you should have in your .htaccess file is a directive that reroutes all http traffic to https, effectively eliminating http traffic altogether.
Offline
What you should have in your .htaccess file is a directive that reroutes all http traffic to https, effectively eliminating http traffic altogether.
I don't have a cert, but I think there is one for the server. I can't find what the htaccess file should look like for that in the documentation using the documentation search.
Not sure what I should change to make https mandatory
Offline
first you need to make sure your host is providing you with a ssl certificate. Bluehost, and apparently 1&1 are supplying these automatically.
Then you need to change the site urls in Backlight Settings (including the WordPress URL I'm assuming)
Then you need to add the rewrite code to the .html file in the root of the site. Fortunately, there's an awesome new feature in the recently updated Backlight 2 (2.0.5). In Settings > Privacy, you'll see a setting to "Automatically Redirect Browsers To https"
HTTPS is not covered in the documentation because it's basically a host related issue. But there is a sticky topic on it here:
http://community.theturninggate.net/vie … hp?id=7876
[Edit: as Daniel noted below, I meant .htaccess, not .html]
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Then you need to add the rewrite code to the .html file in the root of the site. Fortunately, there's an awesome new feature in the recently updated Backlight 2 (2.0.5). In Settings > Privacy, you'll see a setting to "Automatically Redirect Browsers To https"
I'm certain that Rod meant to write .htaccess instead of .html. But as he mentioned, since yesterday's 2.0.5 update, this can be enabled in the backend settings.
Daniel Leu | Photography
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
rod barbee wrote:Then you need to add the rewrite code to the .html file in the root of the site. Fortunately, there's an awesome new feature in the recently updated Backlight 2 (2.0.5). In Settings > Privacy, you'll see a setting to "Automatically Redirect Browsers To https"
I'm certain that Rod meant to write .htaccess instead of .html. But as he mentioned, since yesterday's 2.0.5 update, this can be enabled in the backend settings.
I'm certain you are right! Sometimes the fingers just use their memory and type what they will!
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Well, that was easy with 2.0.5
Offline
Publishing problems solved as well?
Offline
Publishing problems solved as well?
Yes, Ben solved it remotely.
A complication we found while troubleshooting is that Lightroom seems to be maintaining a session with the server and changing the key without restarting Lightroom makes it refuse to authenticate with the new key, yet still work with the one that was there when launched. But on a per publisher instance basis, so it could work with one instance but not another.
So for anyone fighting with Lightroom, restart it every time you change something.
Offline
So for anyone fighting with Lightroom, restart it every time you change something.
That's not necessary. It may be advisable to restart Lightroom after changing the API Key on the server, that's all. I have yet to investigate this.
Offline